ext-php-rs/guide
David 4a4370c817
Add ability to send Rust closures to PHP (#58)
* Start work on returning new objects

Change `IntoZval` to consume `self`

* Add conversion from vector reference to PHP hashtable through clones

* `set_binary` now only takes `Vec`

Used to take `AsRef<[T]>` to allow users to pass arrays, however, this
causes the data to be cloned even if the user passes a `Vec`.

* Rename `as_zval` to `into_zval` to match Rust conventions

* Started work on closures

* Finish implementation of closures

* Document closures, add to prelude, feature gate

* Fixed closure example
2021-09-05 13:45:59 +12:00
..
src Add ability to send Rust closures to PHP (#58) 2021-09-05 13:45:59 +12:00
.gitignore Added ext-php-rs guide (#52) 2021-08-22 01:00:14 +12:00
book.toml Added ext-php-rs guide (#52) 2021-08-22 01:00:14 +12:00