3v4l.org

run code in 300+ PHP versions simultaneously
<?php $deep = 20; var_dump( ($deep === true && 5) || (is_int($deep) && $deep > 0 && ($deep - 1)) || false);

preferences:
39.94 ms | 402 KiB | 5 Q