3v4l.org

run code in 200+ php & hhvm versions
<?php $url = 'instatscout.com/video-upload/encoding'; var_dump(filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED));
Output for 7.3.0 - 7.3.1
Deprecated: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated in /in/omlMf on line 3 bool(false)
Output for 5.2.0 - 7.2.13
bool(false)
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function filter_var() in /in/omlMf on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: filter_var() in /in/omlMf on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: filter_var() in /in/omlMf on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: filter_var() in /in/omlMf on line 3