3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $deep = true; if ($deep === true) { $deep = 5; } else if (is_int($deep) && $deep > 0) { $deep--; } else { $deep = false; } var_dump( $deep);
Output for 4.3.0 - 7.1.0
int(5)