3v4l.org

run code in 300+ PHP versions simultaneously
<?php $meh ="!':><,.@£$%^&*((" var_dump(filter_var($meh, FILTER_SANITIZE_STRING));
Output for 7.1.0 - 7.1.14, 7.2.0 - 7.2.2
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/3aOCf on line 3
Process exited with code 255.

preferences:
173.22 ms | 1387 KiB | 25 Q