3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime(); $dt->createFromFormat('s.u', '3.400000'); // I replaced 3.4 by microtime(true), this is just to give an example var_dump($dt); var_dump($dt->format('u'));
Output for git.master
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-13 12:18:30.003769" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(6) "003769"
Output for git.master_jit
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-13 12:18:30.003722" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(6) "003722"
Output for rfc.property-hooks
object(DateTime)#1 (3) { ["date"]=> string(26) "2015-11-13 12:18:30.003574" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "Europe/Amsterdam" } string(6) "003574"

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