1--TEST--
2Test getimagesize() function : basic functionality - load APP info from jpeg.
3--FILE--
4<?php
5/*
6 * Load APP info from jpeg
7 */
8
9$arr['this'] = "will";
10$arr['all'] = "be destroyed!";
11$arr['APP1'] = "and this too";
12
13getimagesize( __DIR__."/testAPP.jpg", $arr);
14
15foreach ($arr as $key => $value) {
16    echo "$key - length: ". strlen($value) ."; md5: " . md5($value) .  "\n" ;
17}
18
19?>
20--EXPECT--
21APP1 - length: 1717; md5: 02cbf4ba6640c131422483138c968516
22APP2 - length: 7275; md5: f5036ccca2031e8bf932bcbd4aca4355
23APP13 - length: 42; md5: 2202998bd05e78bcb419f08c070d6f61
24