3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime(); var_dump($a->format('u')); var_dump(date('u')); var_dump($a->format('v')); var_dump(date('v'));
Output for git.master_jit
string(6) "041368" string(6) "000000" string(3) "041" string(3) "000"
Output for git.master
string(6) "010626" string(6) "000000" string(3) "010" string(3) "000"

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:
27.64 ms | 406 KiB | 5 Q