Skip to content

Releases: symplely/zend-ffi

bug fix by reverting and update, added create_resource_fd()

11 Feb 02:32
Compare
Choose a tag to compare

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`

10 Feb 20:58
Compare
Choose a tag to compare

bug fix `PhpStream` and functions for creating/getting actual `fd` to/from `resources`

08 Feb 03:15
Compare
Choose a tag to compare

corrections, rework logic, reduce overhead

04 Feb 17:27
Compare
Choose a tag to compare
0.11.0

Update zend-ffi.yml

bug fix `FFI::free` usage with additional function, add Windows mmap.dll

31 Jan 00:25
Compare
Choose a tag to compare
  • 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
  • enabled internal assembly method addInternalMethod it uses mmap, 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

26 Jan 16:24
Compare
Choose a tag to compare
0.10.5

Merge branch 'main' into 0.9.x

bug fixes, rework `StandardModule` to handle multi ffi extensions

26 Jan 11:29
Compare
Choose a tag to compare

rework StandardModule shutdown logic, and using global functions in type classes

22 Jan 15:47
Compare
Choose a tag to compare

major bug fix of `Segmentation faults`, by wrong module type for FFI

21 Jan 17:12
Compare
Choose a tag to compare
  • 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

19 Jan 19:40
Compare
Choose a tag to compare
  • 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.