1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Files
archived-php-src/ext/standard/tests/image/bug71848.phpt
T
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

31 lines
443 B
PHP

--TEST--
Bug #71848 (getimagesize with $imageinfo returns false)
--FILE--
<?php
var_dump(getimagesize(__DIR__ . '/bug71848.jpg', $info));
var_dump(array_keys($info));
?>
--EXPECT--
array(7) {
[0]=>
int(8)
[1]=>
int(8)
[2]=>
int(2)
[3]=>
string(20) "width="8" height="8""
["bits"]=>
int(8)
["channels"]=>
int(3)
["mime"]=>
string(10) "image/jpeg"
}
array(2) {
[0]=>
string(4) "APP0"
[1]=>
string(4) "APP5"
}