3v4l.org

run code in 300+ PHP versions simultaneously
<?php $min = \date_create('@' . PHP_INT_MIN); var_dump($min->format('Y-m-d H:i:s')); $max = \date_create('@' . PHP_INT_MAX); var_dump($max->format('Y-m-d H:i:s')); $diff = \date_diff($min, $max); echo $diff->format("%R%a days");
Output for git.master
string(28) "-292277022657-01-27 08:29:53" string(27) "292277026596-12-04 15:30:07" +1158050441 days
Output for git.master_jit, rfc.property-hooks
string(28) "-292277022657-01-27 08:29:52" string(27) "292277026596-12-04 15:30:07" +1158050441 days

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