3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = new stdClass; $foo->available = 1; $foo->bar = "1"; if ($foo->available == 1) echo 'Available'; if ($foo->bar == 1) echo 'bar';
Output for 4.3.0 - 7.2.0
Availablebar