Recently, I took a look at the ext-php-rs project.
With ext-php-rs you can very easily write extensions for PHP in Rust.
So, for testing, I developed a little extension implementing a function I recently used in native PHP.
Recently, I took a look at the ext-php-rs project.
With ext-php-rs you can very easily write extensions for PHP in Rust.
So, for testing, I developed a little extension implementing a function I recently used in native PHP.
Ever wondered about serde's custom deserialization because of multiple possible types? Me too! After some researching and testing I found a way to easily convert all possible data types into one single type so your application can handle it.