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(1, 0, 0, (int)$arr[1], (int)$arr[0], (int)$arr[2]); echo '<br/>'; echo mktime(1, 0, 0, 0, 0, 0); echo '<br/>';
Output for git.master, git.master_jit, rfc.property-hooks
int(0) <br/>int(0) <br/>int(0) <br/>943920000<br/>943920000<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:
62.85 ms | 401 KiB | 8 Q