3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = ["-1" => "/images/image2.jpg", "0" => "/images/image3.jpg", "1" => "/images/image1.jmp"]; $number = 0; Echo ($number == 0 ? $img[$number] : $img[$number/abs($number)]);
Output for git.master, git.master_jit, rfc.property-hooks
/images/image3.jpg

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