3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml1 = '<value><dateTime.iso8601>20120810T12:03:12</dateTime.iso8601></value>'; $xml2 = '<value><dateTime.iso8601>20120810T12:03:12+02:00</dateTime.iso8601></value>'; $xml3 = '<value><dateTime.iso8601>20120810T12:03:12Z</dateTime.iso8601></value>'; echo date ('c', time ()) . PHP_EOL; $date1 = xmlrpc_decode ($xml1); $date2 = xmlrpc_decode ($xml2); $date3 = xmlrpc_decode ($xml3); var_dump ($date1, $date2, $date3);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
2014-09-15T14:38:38+02:00 Fatal error: Uncaught Error: Call to undefined function xmlrpc_decode() in /in/lYtb6:8 Stack trace: #0 {main} thrown in /in/lYtb6 on line 8
Process exited with code 255.
Output for 5.0.2 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
2014-09-15T14:38:38+02:00 Fatal error: Call to undefined function xmlrpc_decode() in /in/lYtb6 on line 8
Process exited with code 255.
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lYtb6 on line 6 2014-09-15T14:38:38+02:00PHP_EOL Fatal error: Call to undefined function xmlrpc_decode() in /in/lYtb6 on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
c Fatal error: Call to undefined function: xmlrpc_decode() in /in/lYtb6 on line 8
Process exited with code 255.
Output for 4.3.10 - 4.3.11, 4.4.0 - 4.4.4
c Fatal error: Call to undefined function: xmlrpc_decode() in /in/lYtb6 on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lYtb6 on line 6 cPHP_EOL Fatal error: Call to undefined function: xmlrpc_decode() in /in/lYtb6 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lYtb6 on line 6 cPHP_EOL Fatal error: Call to undefined function: xmlrpc_decode() in /in/lYtb6 on line 8

preferences:
171.92 ms | 401 KiB | 234 Q