3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query = ' this is ok so far < but this part here will be missing'; print_r(filter_var ($query, FILTER_SANITIZE_STRING));

preferences:
38.07 ms | 402 KiB | 5 Q