3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('now'); $date->modify('null'); echo $date->format('h:m:s d-m-Y');
Output for git.master, git.master_jit
Warning: DateTime::modify(): Failed to parse time string (null) at position 0 (n): The timezone could not be found in the database in /in/sNCu4 on line 3 09:08:00 14-08-2013
Output for rfc.property-hooks
Fatal error: Uncaught DateMalformedStringException: DateTime::modify(): Failed to parse time string (null) at position 0 (n): The timezone could not be found in the database in /in/sNCu4:3 Stack trace: #0 /in/sNCu4(3): DateTime->modify('null') #1 {main} thrown in /in/sNCu4 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:
44.61 ms | 401 KiB | 8 Q