3v4l.org

run code in 300+ PHP versions simultaneously
$info_course = yes; <?php if($info_course[0] == "yes") ?> then echo "<i class="icon-ok"></i>" <?php if($info_course[0] == "no") ?> then echo "<i class="icon-remove"></i>" ?>
Output for git.master, git.master_jit
$info_course = yes; Warning: Undefined variable $info_course in /in/mOl1P on line 3 Warning: Trying to access array offset on value of type null in /in/mOl1P on line 3 then echo "<i class="icon-ok"></i>" Warning: Undefined variable $info_course in /in/mOl1P on line 5 Warning: Trying to access array offset on value of type null in /in/mOl1P on line 5 then echo "<i class="icon-remove"></i>" ?>
Output for rfc.property-hooks
$info_course = yes; Warning: Undefined variable $info_course in /in/mOl1P on line 3 Warning: Trying to access array offset on null in /in/mOl1P on line 3 then echo "<i class="icon-ok"></i>" Warning: Undefined variable $info_course in /in/mOl1P on line 5 Warning: Trying to access array offset on null in /in/mOl1P on line 5 then echo "<i class="icon-remove"></i>" ?>

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