3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "under_scored_third.level.dom"; var_dump(filter_var($url, FILTER_VALIDATE_URL), parse_url($url))
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected end of file in /in/t1P6J on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/t1P6J on line 5
Process exited with code 255.

preferences:
187.59 ms | 1395 KiB | 66 Q