3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 10; echo "$a < ++$a vv"; $b = 11; if (10 < 11 || 11 < 12) print "hello"; else print "hi"; $a = 10; $b = 11; if ($a == ++$a && $b == ++$b) print "hello$a and $b"; else print "hi"; if ((print "hi")- 1) print "hello"; $i = 0; do { print "hi"; $i++; } while ($i != 3);
Output for git.master, git.master_jit, rfc.property-hooks
10 < ++10 vvhellohello11 and 12hihihihi

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:
41.71 ms | 401 KiB | 8 Q