3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function stmt100() { return 100; } function stmt200() { return 200; } function valueThis() { if (200 === stmt200()) { return "this is " . stmt200(); } if (100 === stmt100()) { return "this is " . stmt100(); } } echo valueThis();
based on cL8d0
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
this is 200