3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '0.0.0'; $arr = explode('.', $date); var_dump((int)$arr[0]); echo '<br/>'; var_dump((int)$arr[1]); echo '<br/>'; var_dump((int)$arr[2]); echo '<br/>'; echo mktime(0, 0, 0, (int)$arr[1], (int)$arr[0], (int)$arr[2]); echo '<br/>'; echo mktime(0, 0, 0, 1, 1, 1); echo '<br/>'; date('d.m.Y', mktime(0, 0, 0, 1, 1, 1));
Output for git.master, git.master_jit, rfc.property-hooks
int(0) <br/>int(0) <br/>int(0) <br/>943916400<br/>978303600<br/>

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