3v4l.org

run code in 300+ PHP versions simultaneously
<?php function checkIntegerRangeTheWrongWay($int, $min, $max) { return ($int >= $min && $int <= $max); } assert(checkIntegerRange("6' OR 1=1", 5, 10));

preferences:
42.25 ms | 402 KiB | 5 Q