3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once 'XML/Serializer.php'; $serializer = &new XML_Serializer($options); $foo = PEAR::raiseError('Just a test', 1234); fdfdsfsdfsdf$result = $serializer->serialize($foo); ?>
Output for 5.4.0 - 5.4.21
Deprecated: Assigning the return value of new by reference is deprecated in /in/lo702 on line 3 Parse error: syntax error, unexpected '$result' (T_VARIABLE) in /in/lo702 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Deprecated: Assigning the return value of new by reference is deprecated in /in/lo702 on line 3 Parse error: syntax error, unexpected T_VARIABLE in /in/lo702 on line 5
Process exited with code 255.