3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once 'Serializer.php'; $serializer = &new XML_Serializer($options); $foo = PEAR::raiseError('Just a test', 1234); $result = $serializer->serialize($foo);
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.3.27, 5.4.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.1.6, 5.2.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.3.11, 4.4.0 - 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

preferences:
219.37 ms | 1395 KiB | 107 Q