3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = function (string $bar) { if (is_trusted($bar)) { echo "it's trusted!\n"; } else { echo "it can't be trusted!\n"; } }; $foo('AND 1=1 -- ');

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
177.08 ms | 1478 KiB | 10 Q