3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $d = '2015-01-01'; $dd = new DateTime($d); print_r($dd->format(DateTime::W3C)); $dd->add(new DateInterval('PT17H12M')); print_r($dd->format(DateTime::W3C)); var_dumpt($dd->format('\P\TH\Hi\M') === 'PT1712M');
Output for 7.0.0 - 7.2.0
2015-01-01T00:00:00+01:002015-01-01T17:12:00+01:00 Fatal error: Uncaught Error: Call to undefined function var_dumpt() in /in/u33Tf:10 Stack trace: #0 {main} thrown in /in/u33Tf on line 10
Process exited with code 255.
Output for 5.3.19 - 5.6.21
2015-01-01T00:00:00+01:002015-01-01T17:12:00+01:00 Fatal error: Call to undefined function var_dumpt() in /in/u33Tf on line 10
Process exited with code 255.