3v4l.org

run code in 500+ PHP versions simultaneously
<?php new ReflectionZendExtension("foo\0bar");
Output for 8.5.10 - 8.5.12, 8.4.27
Fatal error: Uncaught ReflectionException: Zend Extension "foobar" does not exist in /in/voXhV:3 Stack trace: #0 /in/voXhV(3): ReflectionZendExtension->__construct('foo\x00bar') #1 {main} thrown in /in/voXhV on line 3
Process exited with code 255.
Output for 8.5.0 - 8.5.9, 8.2.31 - 8.2.35, 8.3.0 - 8.3.36, 8.4.1 - 8.4.26
Fatal error: Uncaught ReflectionException: Zend Extension "foo" does not exist in /in/voXhV:3 Stack trace: #0 /in/voXhV(3): ReflectionZendExtension->__construct('foo\x00bar') #1 {main} thrown in /in/voXhV on line 3
Process exited with code 255.

preferences:
21.69 ms | 1169 KiB | 6 Q