3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'hoge'; $headers = (array)@get_headers($url); list(, $code) = explode(' ', $headers[0]) + array(1 => false); var_dump($code);
Output for 5.0.0 - 7.1.0
bool(false)
Output for 4.3.2 - 4.4.9

Process exited with code 255.
Output for 4.3.0 - 4.3.1