3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Madrid'); var_dump(date('Y-m-d H:i:s',strtotime('1959'))); var_dump(date('Y-m-d H:i:s',strtotime('1960'))); var_dump(date('Y-m-d',mktime(0, year: 1959)));
Output for git.master, git.master_jit, rfc.property-hooks
string(19) "2024-09-18 19:59:00" string(19) "1960-09-18 11:01:40" string(10) "1959-09-18"

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:
44.22 ms | 405 KiB | 5 Q