3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo foo(2); function foo($position) { return !-- $position ? 0 : !-- $position ? 1 : !-- $position ? 2 : !-- $position ? 3 : -1; }

This is an error 404

There are `0` results


preferences:
140.52 ms | 1399 KiB | 7 Q