3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); /** @deprecated */ function doFoo(mixed $filter): void { $x = filter_input(INPUT_GET, 'search', FILTER_SANITIZE_STRING ); } doFoo(123);

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
183.2 ms | 1671 KiB | 12 Q