Also found an error by upgrading this. https://github.com/davidcole1340/ext-php-rs/blob/5a02863c3b672e44353ba9aca6f22776a9386b93/src/zend/globals.rs#L205-L211 and https://github.com/davidcole1340/ext-php-rs/blob/5a02863c3b672e44353ba9aca6f22776a9386b93/src/zend/globals.rs#L218-L224 conditions are the wrong way around if I see it correctly. Verifying right now. _Originally posted by @Xenira in https://github.com/davidcole1340/ext-php-rs/issues/478#issuecomment-3029235221_