3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(wddx_serialize_value(array("foo"=>1)));
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function wddx_serialize_value() in /in/0dDtK:2 Stack trace: #0 {main} thrown in /in/0dDtK on line 2
Process exited with code 255.
Output for 5.4.0 - 5.6.25
Fatal error: Call to undefined function wddx_serialize_value() in /in/0dDtK on line 2
Process exited with code 255.
Output for 4.3.0 - 4.4.2, 4.4.5 - 5.3.29
string(118) "<wddxPacket version='1.0'><header/><data><struct><var name='foo'><number>1</number></var></struct></data></wddxPacket>"
Output for 4.4.3 - 4.4.4
string(87) "<wddxPacket version='1.0'><header/><data><struct><va</var></struct></data></wddxPacket>"