Releases: symplely/zend-ffi
Releases · symplely/zend-ffi
bug fix by reverting and update, added create_resource_fd()
Current PhpStream
and Resource
class causing usage segfaults doing shutdown routines, so reverting commit 6e18fe9
bug fix, added function to remove/free created `fd/resources` by `PhpStream`
0.11.3 Merge branch 'main' into beta
bug fix `PhpStream` and functions for creating/getting actual `fd` to/from `resources`
0.11.1 Merge branch 'main' into beta
corrections, rework logic, reduce overhead
0.11.0 Update zend-ffi.yml
bug fix `FFI::free` usage with additional function, add Windows mmap.dll
- add usage controls into
ffi_free_if
, fixes bugs- usage of
FFI::free
with other library C data structs causing segfaults, seems to only effect Linux, mostly if library has some other destruct/close/free functions
- usage of
- enabled internal assembly method
addInternalMethod
it usesmmap
, a native Linux function, added Windows .dll to implement same behavior, added tests which:- works as expected under Linux PHP 7.4 to 8.1, segfaults PHP 8.2
- fails on Windows any PHP version, does not display 'Hello, World!`, but the method was added correctly, Windows syscall structure undocumented
- complete fail on macOS
bug fix, and rework `StandardModule` to single step to setup
0.10.5 Merge branch 'main' into 0.9.x
bug fixes, rework `StandardModule` to handle multi ffi extensions
0.10.4 Merge branch 'main' into 0.9.x
rework StandardModule shutdown logic, and using global functions in type classes
0.10.3 Merge branch 'main' into 0.9.x
major bug fix of `Segmentation faults`, by wrong module type for FFI
- code simplify, added/using global
HashTable
functions, which revealed issues with module type - updated headers, enabled CI
StandardModule
class test for Linux, no issues locally on Raspberry PI 4
Additional bug fixes, added functions, and various corrections
- add functions to independently run request/shutdown methods, hooks into current SAPI process.
- initialize all
zend_module_entry
struct fields for StandardModule
StandardModule
displays Segmentation fault after fully completing execution at script exit, only on Linux - Ubuntu 20.04 and Raspberry PI 4, no issues on Windows, or Apple macOS, or my local WSL Ubuntu 22.04 version. It seems bug in PHP, or incompatibility with some other extension.