3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i=0; while ($i<5) { $x[$i] = $a[$i] + $b[$i]; $y[$i] = $x[$i] / $c[$i]; $i++; }
Output for git.master, git.master_jit
Warning: Undefined variable $a in /in/0eUfI on line 6 Warning: Trying to access array offset on value of type null in /in/0eUfI on line 6 Warning: Undefined variable $b in /in/0eUfI on line 6 Warning: Trying to access array offset on value of type null in /in/0eUfI on line 6 Warning: Undefined variable $c in /in/0eUfI on line 7 Warning: Trying to access array offset on value of type null in /in/0eUfI on line 7 Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/0eUfI:7 Stack trace: #0 {main} thrown in /in/0eUfI on line 7
Process exited with code 255.
Output for rfc.property-hooks
Warning: Undefined variable $a in /in/0eUfI on line 6 Warning: Trying to access array offset on null in /in/0eUfI on line 6 Warning: Undefined variable $b in /in/0eUfI on line 6 Warning: Trying to access array offset on null in /in/0eUfI on line 6 Warning: Undefined variable $c in /in/0eUfI on line 7 Warning: Trying to access array offset on null in /in/0eUfI on line 7 Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/0eUfI:7 Stack trace: #0 {main} thrown in /in/0eUfI 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:
147.31 ms | 408 KiB | 5 Q