3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_export( getimagesize( 'data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==' ) );
Output for 5.2.0 - 5.6.38, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.2
array ( 0 => 5, 1 => 5, 2 => 3, 3 => 'width="5" height="5"', 'bits' => 8, 'mime' => 'image/png', )
Output for 4.3.2 - 5.1.6
Warning: getimagesize(data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==): failed to open stream: No such file or directory in /in/hMq3O on line 9 false
Output for 4.3.0 - 4.3.1
Warning: getimagesize(data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==) [http://www.php.net/function.getimagesize]: failed to create stream: No such file or directory in /in/hMq3O on line 9 false