3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode(array('ReportStartDate' => date('c', strtotime('04/10/2013 06:57 am')),'ReportEndDate' => date('c', strtotime('04/30/2013 06:57 am'))));
Output for 5.2.0 - 7.1.0
{"ReportStartDate":"2013-04-10T06:57:00+02:00","ReportEndDate":"2013-04-30T06:57:00+02:00"}
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/0RpPu on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/0RpPu on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/0RpPu on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/0RpPu on line 2