3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Riga'); echo 'Current time: ' . date('Y-m-d H:i:s') . "\n"; $format = 'Y-m-d'; $date = DateTime::createFromFormat($format, '2009-02-15'); echo "Format: $format; " . $date->format('Y-m-d H:i:s') . "\n";
Output for git.master_jit, git.master, rfc.property-hooks
Current time: 2013-12-10 15:36:02 Format: Y-m-d; 2009-02-15 15:36:02

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:
50.71 ms | 401 KiB | 8 Q