3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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/8OEuf on line 3 Fatal error: Class 'XML_Serializer' not found in /in/8OEuf 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/VaGg6 on line 3 Fatal error: Class 'XML_Serializer' not found in /in/VaGg6 on line 3
Process exited with code 255.
Output for 5.0.0 - 5.2.17
Strict Standards: Assigning the return value of new by reference is deprecated in /in/VaGg6 on line 3 Fatal error: Class 'XML_Serializer' not found in /in/VaGg6 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: xml_serializer in /in/VaGg6 on line 3
Process exited with code 255.
Output for 4.3.1
Fatal error: Cannot instantiate non-existent class: xml_serializer in /in/VaGg6 on line 3
Output for 4.3.0
Fatal error: Cannot instantiate non-existent class: xml_serializer in /in/8OEuf on line 3