Skip to content

Commit 3a87b59

Browse files
committed
Update readme
1 parent d985438 commit 3a87b59

File tree

5 files changed

+26
-29
lines changed

5 files changed

+26
-29
lines changed

README.md

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,33 @@ The framework that allows us to write PHP extensions using pure and safe Rust wh
1818

1919
### Necessary
2020

21-
- **rust** 1.79 or later
21+
- **rust** 1.85 or later
2222
- **libclang** 9.0 or later
2323
- **php** 7.0 or later
2424

2525
### Tested Support
2626

27-
- **OS**
28-
- [x] linux
29-
- [x] macos
30-
- [ ] ~~windows~~
31-
- **PHP**
32-
- **version**
33-
- [x] 7.0
34-
- [x] 7.1
35-
- [x] 7.2
36-
- [x] 7.3
37-
- [x] 7.4
38-
- [x] 8.0
39-
- [x] 8.1
40-
- [x] 8.2
41-
- [x] 8.3
42-
- **mode**
43-
- [x] nts
44-
- [ ] ~~zts~~
45-
- **sapi**
46-
- [x] cli
47-
- [x] fpm
48-
- **debug**
49-
- [x] disable
50-
- [ ] ~~enable~~
27+
| **Category** | **Item** | **Status** |
28+
| --------------- | -------- | ---------- |
29+
| **OS** | Linux ||
30+
| | macOS ||
31+
| | Windows ||
32+
| **PHP Version** | 7.0 ||
33+
| | 7.1 ||
34+
| | 7.2 ||
35+
| | 7.3 ||
36+
| | 7.4 ||
37+
| | 8.0 ||
38+
| | 8.1 ||
39+
| | 8.2 ||
40+
| | 8.3 ||
41+
| | 8.4 ||
42+
| **PHP Mode** | NTS ||
43+
| | ZTS ||
44+
| **SAPI** | CLI ||
45+
| | FPM ||
46+
| **Debug** | Disable ||
47+
| | Enable ||
5148

5249
## Examples
5350

phper-doc/doc/_05_internal_types/_01_z_str/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use phper::sys;
5050
use phper::strings::ZStr;
5151
use phper::alloc::ToRefOwned;
5252
53-
extern "C" {
53+
unsafe extern "C" {
5454
fn something() -> *mut sys::zend_string;
5555
}
5656

phper-doc/doc/_05_internal_types/_02_z_arr/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use phper::sys;
6666
use phper::arrays::ZArr;
6767
use phper::alloc::ToRefOwned;
6868
69-
extern "C" {
69+
unsafe extern "C" {
7070
fn something() -> *mut sys::zend_array;
7171
}
7272

phper-doc/doc/_05_internal_types/_03_z_obj/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use phper::sys;
2626
use phper::objects::ZObj;
2727
use phper::alloc::ToRefOwned;
2828
29-
extern "C" {
29+
unsafe extern "C" {
3030
fn something() -> *mut sys::zend_object;
3131
}
3232

phper/src/classes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ unsafe extern "C" fn create_object(ce: *mut zend_class_entry) -> *mut zend_objec
10141014

10151015
#[cfg(phper_major_version = "8")]
10161016
unsafe extern "C" fn clone_object(object: *mut zend_object) -> *mut zend_object {
1017-
clone_object_common(object)
1017+
unsafe { clone_object_common(object) }
10181018
}
10191019

10201020
#[cfg(phper_major_version = "7")]

0 commit comments

Comments
 (0)