File tree Expand file tree Collapse file tree 5 files changed +26
-29
lines changed
phper-doc/doc/_05_internal_types Expand file tree Collapse file tree 5 files changed +26
-29
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ use phper::sys;
5050use phper::strings::ZStr;
5151use phper::alloc::ToRefOwned;
5252
53- extern "C" {
53+ unsafe extern "C" {
5454 fn something() -> *mut sys::zend_string;
5555}
5656
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ use phper::sys;
6666use phper::arrays::ZArr;
6767use phper::alloc::ToRefOwned;
6868
69- extern "C" {
69+ unsafe extern "C" {
7070 fn something() -> *mut sys::zend_array;
7171}
7272
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use phper::sys;
2626use phper::objects::ZObj;
2727use phper::alloc::ToRefOwned;
2828
29- extern "C" {
29+ unsafe extern "C" {
3030 fn something() -> *mut sys::zend_object;
3131}
3232
Original file line number Diff line number Diff 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" ) ]
10161016unsafe 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" ) ]
You can’t perform that action at this time.
0 commit comments