|
6 | 6 |
|
7 | 7 | This **libuv ffi** implementation is based on PHP extension [ext-uv](https://github.com/amphp/ext-uv). All **ext-uv 0.3.0** _tests and functions_ been implemented, except **uv_queue_work**. |
8 | 8 |
|
9 | | -- Functionality works as expected under `Windows` _PHP 7.4, 8.0, 8.1, 8.2_. |
10 | | -- `Linux` all functions and tests completes, but failing by way of `2`, _segmentation fault (core dumped)_ after completing, issues around current **destruct/shutdown** routine implementations and usage of **FFI::free** on _libuv_ C structures. |
11 | | -- `macOS` most functions and tests completes, but failing by way of `4`, implementation issues around **uv_spawn**, **uv_ip4_addr** and **uv_signal**. |
12 | | - |
13 | | -**All functionality is interdependent on [zend-ffi](https://github.com/symplely/zend-ffi).** |
| 9 | +- Functionality works as expected under _`Windows`_, _`Linux`_, and _`Apple macOS`_, **PHP 7.4 to 8.2**. |
| 10 | +- All functionality is interdependent on [zend-ffi](https://github.com/symplely/zend-ffi). |
14 | 11 |
|
15 | 12 | The actual threading feature of `uv_queue_work` in **ext-uv 0.3.0** is on pause. Getting native PThreads working with FFI, needs a lot more investigation and more likely C development of PHP source code. Seems someone else has started something similar <https://github.com/mrsuh/php-pthreads>. |
16 | 13 |
|
@@ -55,7 +52,8 @@ opcache.jit_buffer_size=8M |
55 | 52 | ffi.enable="true" |
56 | 53 |
|
57 | 54 | ; List of headers files to preload, wildcard patterns allowed. `ffi.preload` has no effect on Windows. |
58 | | -;ffi.preload=path/to/vendor/symplely/uv-ffi/headers/uv_your-OS-platform_vendor.h |
| 55 | +; replace `your-platform` with: windows, centos7, centos8+, macos, pi, ubuntu18.04, or ubuntu20.04 |
| 56 | +;ffi.preload=path/to/vendor/symplely/uv-ffi/headers/uv_your-platform_generated.h |
59 | 57 |
|
60 | 58 | ;opcache.preload==path/to/vendor/symplely/uv-ffi/preload.php |
61 | 59 | ``` |
|
0 commit comments