3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cParentID = 1; echo 'Greater than -1? ', ($cParentID > -1) ? 'yes' : 'no', "\n"; echo 'Not equals to undefined? ', ($cParentID != $stopAt) ? 'yes' : 'no', "\n"; $cParentID = null; echo 'Greater than -1? ', ($cParentID > -1) ? 'yes' : 'no', "\n"; echo 'Not equals to undefined? ', ($cParentID != $stopAt) ? 'yes' : 'no', "\n";
Output for git.master, git.master_jit, rfc.property-hooks
Greater than -1? yes Not equals to undefined? Warning: Undefined variable $stopAt in /in/JaWIe on line 4 yes Greater than -1? no Not equals to undefined? Warning: Undefined variable $stopAt in /in/JaWIe on line 7 no

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:
39.35 ms | 402 KiB | 8 Q