3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function some_method($id, $includeParam = 0, $include_param = 0) { return $includeParam OR $include_param; } var_dump( some_method(42, 1, 0), some_method(42, 0, 1), some_method(42, 1, 1), some_method(42, 0, 0) );
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(true) bool(false)