3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set('Europe/Moscow'); echo date_default_timezone_get(),"\n"; $_POST['date'] = '15-10-2023 15:15'; [$d, $m, $y, $h, $M, $s] = sscanf($_POST['date'], '%2d-%2d-%4d %2d:%2d:%2d'); $timeStamp = mktime($h, $M, $s, $m, $d, $y); echo date('Y-m-d H:i:s', $timeStamp);
Output for git.master, git.master_jit, rfc.property-hooks
Europe/Moscow 2023-10-15 15:15:39

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