3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (false) print "Test A1\n"; print "Test A2\n"; if (false) print "Test B1\n"; print "Test B2\n"; $arr = [1, 2, 3]; foreach ($arr as $item) print "Test C". $item ."\n"; print "Test CX\n";
Output for git.master_jit, git.master
Test A2 Test B2 Test C1 Test C2 Test C3 Test CX

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