php-ffi

PHP Foreign Function Interface (by dstogov)

Php-ffi Alternatives

Similar projects and alternatives to php-ffi

  • libfuse

    The reference implementation of the Linux FUSE (Filesystem in Userspace) interface

  • reli-prof

    A sampling profiler or a memory profiler for PHP written in PHP, which reads information about running PHP VM from outside the process. You can find performance bottlenecks or memory leaks of your scripts without changing the target script or loading extensions.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • php-fuse

    PHP FFI bindings for libfuse

  • phpstorm-stubs

    PHP runtime & extensions header files for PhpStorm

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better php-ffi alternative or higher similarity.

php-ffi reviews and mentions

Posts with mentions or reviews of php-ffi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-26.
  • sj-i/php-fuse: PHP FFI bindings for libfuse. You can write your own filesystems in PHP.
    6 projects | /r/PHP | 26 Mar 2021
    So far this has not been a major issue in this project, but as mentioned in the RFC and the original FFI repository, the use of PHP callbacks involves leaks until the end of the process. https://wiki.php.net/rfc/ffi#php_callbacks https://github.com/dstogov/php-ffi#php-callbacks There is no detailed description of the leak, but it is probably the same problem as in LuaJIT. https://luajit.org/ext_ffi_semantics.html#callback_resources If you are using a few callbacks during a process execution, as in the php-fuse example, it seems to be okay. However, for example, if you try to use qsort() in a loop, the leakage caused by callbacks may be problematic. As in the case of LuaJIT, it is probably needed to provide an API to explicitly cast the callable to a function pointer that can be called from the C side, and also to provide a way to manually release it.

Stats

Basic php-ffi repo stats
1
566
1.8
over 3 years ago

The primary programming language of php-ffi is C.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com