File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ array(7) {
6767 [1]=>
6868 int(1)
6969 [2]=>
70- int(20 )
70+ int(%d )
7171 [3]=>
7272 string(20) "width="1" height="1""
7373 ["mime"]=>
@@ -83,7 +83,7 @@ array(6) {
8383 [1]=>
8484 int(1)
8585 [2]=>
86- int(20 )
86+ int(%d )
8787 ["mime"]=>
8888 string(13) "image/svg+xml"
8989 ["width_unit"]=>
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ array(18) {
265265 string(2) "px"
266266 }
267267 ["test4pix.heic"]=>
268- array(7 ) {
268+ array(9 ) {
269269 [0]=>
270270 int(54)
271271 [1]=>
@@ -280,6 +280,10 @@ array(18) {
280280 int(3)
281281 ["mime"]=>
282282 string(10) "image/heif"
283+ ["width_unit"]=>
284+ string(2) "px"
285+ ["height_unit"]=>
286+ string(2) "px"
283287 }
284288 ["test4pix.iff"]=>
285289 array(8) {
Original file line number Diff line number Diff line change 66<?php
77echo "*** Testing image_type_to_mime_type() : usage variations *** \n" ;
88
9- for ($ imagetype = 0 ; $ imagetype <= 19 ; ++$ imagetype ) {
9+ for ($ imagetype = 0 ; $ imagetype <= 20 ; ++$ imagetype ) {
1010 echo "\n-- Iteration $ imagetype -- \n" ;
1111 var_dump (image_type_to_mime_type ($ imagetype ));
1212}
@@ -80,8 +80,5 @@ string(10) "image/avif"
8080-- Iteration 20 --
8181string\(10\) "image\/heif"
8282
83- -- Iteration 21 --
84- string\(24\) "application\/octet-stream"
85-
8683-- Iteration 999 --
8784string(24) "application/octet-stream"
You can’t perform that action at this time.
0 commit comments