3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = ['!']; for($i = 1; $i <= 5; $i++) { print "PHP!"."$y\t"; if($y+1 <5) $y="!"; $y+'!'; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/603tP on line 6 PHP!Array Fatal error: Uncaught TypeError: Unsupported operand types: array + int in /in/603tP:7 Stack trace: #0 {main} thrown in /in/603tP on line 7
Process exited with code 255.

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.54 ms | 1406 KiB | 4 Q