3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once 'Serializer.php'; $serializer = &new XML_Serializer($options); $foo = PEAR::raiseError('Just a test', 1234); $result = $serializer->serialize($foo);
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.18
Deprecated: Assigning the return value of new by reference is deprecated in /in/sVLMV on line 5 Warning: require_once(Serializer.php): failed to open stream: No such file or directory in /in/sVLMV on line 3 Fatal error: require_once(): Failed opening required 'Serializer.php' (include_path='.:') in /in/sVLMV on line 3
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Deprecated: Assigning the return value of new by reference is deprecated in /in/6ikIS on line 5 Warning: require_once(Serializer.php): failed to open stream: No such file or directory in /in/6ikIS on line 3 Fatal error: require_once(): Failed opening required 'Serializer.php' (include_path='.:') in /in/6ikIS on line 3
Process exited with code 255.
Output for 5.1.0 - 5.2.17
Strict Standards: Assigning the return value of new by reference is deprecated in /in/6ikIS on line 5 Warning: require_once(Serializer.php): failed to open stream: No such file or directory in /in/6ikIS on line 3 Fatal error: require_once(): Failed opening required 'Serializer.php' (include_path='.:') in /in/6ikIS on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Strict Standards: Assigning the return value of new by reference is deprecated in /in/6ikIS on line 5 Warning: main(Serializer.php): failed to open stream: No such file or directory in /in/6ikIS on line 3 Fatal error: main(): Failed opening required 'Serializer.php' (include_path='.:') in /in/6ikIS on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Warning: main(Serializer.php): failed to open stream: No such file or directory in /in/6ikIS on line 3 Fatal error: main(): Failed opening required 'Serializer.php' (include_path='.:') in /in/6ikIS on line 3
Process exited with code 255.
Output for 4.3.1
Warning: main(Serializer.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/6ikIS on line 3 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'Serializer.php' (include_path='.:') in /in/6ikIS on line 3
Output for 4.3.0
Warning: main(Serializer.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/sVLMV on line 3 Fatal error: main() [http://www.php.net/function.main]: Failed opening required 'Serializer.php' (include_path='.:') in /in/sVLMV on line 3