3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('now'); $date->modify('+7h +4m'); echo $date->format('h:m:s d-m-Y');
Output for git.master, git.master_jit
Warning: DateTime::modify(): Failed to parse time string (+7h +4m) at position 4 (+): Double timezone specification in /in/OagIK on line 3 09:05:30 08-05-2013
Output for rfc.property-hooks
Fatal error: Uncaught DateMalformedStringException: DateTime::modify(): Failed to parse time string (+7h +4m) at position 4 (+): Double timezone specification in /in/OagIK:3 Stack trace: #0 /in/OagIK(3): DateTime->modify('+7h +4m') #1 {main} thrown in /in/OagIK on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.69 ms | 401 KiB | 8 Q