ext-php-rs
ext-php-rs copied to clipboard
Bindings for the Zend API to build PHP extensions natively in Rust.
Testing build with new Clang and LLVM - Update bindgen to 0.69.4
For my extension I need to perform a lot of callbacks. Using fci (fcall_info) and fcc (fcall_info_cache) yielded ~10% performance improvement. If I find the time Ill port it into...
It seems the double ended iterator is not behaving as expected. > It is important to note that both back and forth work on the same range, and do not...
There is a small annoyance in the docs. The link for `Async futures` and `Async Impl` are the same and therefore in the book if you press the > (next...
Fixed ci as discussed in https://github.com/davidcole1340/ext-php-rs/pull/315 Also had to fix clippy rules that changed and made master fail.
Hi I encountered an issue with the __toString method rust 1.80 ext-php-rs 0.12.0 php 8.3 rust code ``` use ext_php_rs::{info_table_end, info_table_row, info_table_start, prelude::*}; use ext_php_rs::{exception::PhpResult, types::Zval, zend::ce}; use ext_php_rs::zend::ModuleEntry; #[php_class(name...
## Motivation Currently the macros depend on the line order of the code. Since recently the way the current macros work break rust analyzer. This was noted in #327. A...
Fixes the `http_request_vars(&self)` method as suggested in https://github.com/php/php-src/issues/16541#issuecomment-2427599561. Refs: #331
Rust nightly build detects that the access in https://github.com/davidcole1340/ext-php-rs/blob/0d9496b76cce8914469b60f90983283c2fdb0db0/src/zend/globals.rs#L287 results in a out of bounds. Looking at the C code it seems that `TRACK_VARS_REQUEST` is not referenced anywhere. Maybe someone...
State (through the static `STATE`) is modified and used throughout ext-php-rs, but it's giving rise to various problems during development - the order in which the run compiler runs things...