3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function doSomething($val) { echo 'YES ' . $val . "\n"; } $something_else = 'set'; isset($something) AND doSomething('something'); isset($something_else) AND doSomething('something else');
Output for 5.3.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
YES something else