3v4l.org

run code in 500+ PHP versions simultaneously
<?php new ReflectionZendExtension("foo\0bar");
Output for 8.2.31 - 8.2.34, 8.3.0 - 8.3.35, 8.4.1 - 8.4.26, 8.5.0 - 8.5.9
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
Output for 8.5.10 - 8.5.11
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

preferences:
35.56 ms | 1140 KiB | 9 Q