3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "All 3 should show the fractions of second:\n"; echo var_dump((new \DateTime())->format('Y-m-d\TH:i:s.u')); echo var_dump((new \IntlDateFormatter( 'en-US', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL, 'UTC', \IntlDateFormatter::GREGORIAN, 'yyyy-MM-dd HH:mm:ss.SSSSSS' ))->format(new \DateTime())); echo var_dump(datefmt_create( 'en-US', \IntlDateFormatter::FULL, \IntlDateFormatter::FULL, 'UTC', \IntlDateFormatter::GREGORIAN, 'yyyy-MM-dd HH:mm:ss.SSSSSS' )->format(new \DateTime()));
Output for git.master
All 3 should show the fractions of second: string(26) "2017-03-23T13:52:44.003604" string(26) "2017-03-23 12:52:44.004000" string(26) "2017-03-23 12:52:44.004000"
Output for git.master_jit
All 3 should show the fractions of second: string(26) "2017-03-23T13:52:44.004038" string(26) "2017-03-23 12:52:44.004000" string(26) "2017-03-23 12:52:44.004000"
Output for rfc.property-hooks
All 3 should show the fractions of second: string(26) "2017-03-23T13:52:44.003798" string(26) "2017-03-23 12:52:44.004000" string(26) "2017-03-23 12:52:44.004000"

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