3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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, 0, 0, 0); echo '<br/>';
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $date in /in/vpmE7 on line 3 Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/vpmE7 on line 3 int(0) <br/> Warning: Undefined array key 1 in /in/vpmE7 on line 7 int(0) <br/> Warning: Undefined array key 2 in /in/vpmE7 on line 9 int(0) <br/> Warning: Undefined array key 1 in /in/vpmE7 on line 12 Warning: Undefined array key 2 in /in/vpmE7 on line 12 943916400<br/>943916400<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:
56.44 ms | 402 KiB | 8 Q