3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new stdClass; $obj->prop1 = new stdClass; $obj->prop2 = 'prop'; var_dump(wddx_serialize_value($obj));
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function wddx_serialize_value() in /in/56bOM:7 Stack trace: #0 {main} thrown in /in/56bOM on line 7
Process exited with code 255.
Output for 5.4.1 - 5.6.28
Fatal error: Call to undefined function wddx_serialize_value() in /in/56bOM on line 7
Process exited with code 255.
Output for 5.3.18 - 5.3.29
string(280) "<wddxPacket version='1.0'><header/><data><struct><var name='php_class_name'><string>stdClass</string></var><var name='prop1'><struct><var name='php_class_name'><string>stdClass</string></var></struct></var><var name='prop2'><string>prop</string></var></struct></data></wddxPacket>"