summaryrefslogtreecommitdiff
path: root/ext/standard/tests/image/bug71848.phpt
blob: 25c05689e6e9c643132246b95caa26dc3a58aab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--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"
}