3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(getimagesize('/tmp'));
Output for 5.5.0 - 7.1.7
Notice: getimagesize(): Read error! in /in/CPCMa on line 2 bool(false)
Output for 5.2.3 - 5.4.45
bool(false)
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error! in <b>/in/CPCMa</b> on line <b>2</b><br /> bool(false)
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: getimagesize(): Read error! in <b>/in/CPCMa</b> on line <b>2</b><br /> bool(false)
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: getimagesize() [<a href='http://www.php.net/function.getimagesize'>function.getimagesize</a>]: Read error! in <b>/in/CPCMa</b> on line <b>2</b><br /> bool(false)