3v4l.org

run code in 300+ PHP versions simultaneously
<?php $literal = '23412167894125123'; for ($c = 0; $c < strlen($literal) - 2; $c++) { if(intval($literal[$c]) + 1 == intval($literal[$c + 1]) && intval($literal[$c]) + 2 == intval($literal[$c + 2])) { echo $literal[$c], $literal[$c + 1], $literal[$c + 2], '<br />'; } }
Output for git.master, git.master_jit, rfc.property-hooks
234<br />678<br />789<br />123<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:
171.36 ms | 405 KiB | 5 Q