3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function doSomething($val) { echo 'YES ' . $val . "\n"; } true == true AND doSomething('something'); true == false AND doSomething('something else');
Output for 5.3.7 - 7.1.0
YES something