3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = PHP_INT_MAX -4; for($i = 0; $i < 10; $i++) { $x += ($x == PHP_INT_MAX) ? -PHP_INT_MAX : 1; echo $x, PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
9223372036854775804 9223372036854775805 9223372036854775806 9223372036854775807 0 1 2 3 4 5

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:
155.76 ms | 405 KiB | 5 Q