3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(getimagesize('/tmp'));
Output for 5.5.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: getimagesize(): Read error! in /in/CPCMa on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Notice: 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)