Display the drop-down list

Test of exif_thumbnail()

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> '/tmp/legs.jpg',
  
=> '$width',
  
=> '$height',
  
=> '$imagetype',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'width' => 160,
    
'height' => 160,
    
'imagetype' => 2,
    
'string' => '' "\0" 'JFIF' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" 'C' "\0" '       !"$"$' "\0" 'C' "\0" '' "\0" '' "\0" '"' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '    ' "\0" '?' "\0" '' "\0" '' "\0" '' "\0" '!1A"Qaq#2B3Rbr$4S' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '&' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '' "\0" '!1A"2Q#Ra' "\0" ' ' "\0" '' "\0" '?' "\0" '%f5~gIe]p+ˢTPUL2au&]' "\0" '<k(cV@
YO^*G\\`>̧c嵛' 
"\0" '᪏aNrB\'2Bs ^,rYI5nlxԗh' "\0" 'CHA>,\'L
zUހ${uKuϸr4"juWJV2+i6;[Jtk`bu$
٢rZ%x*jGiZ$=X{c7*xn3fIڇ0ںBEΗ 4+\'fm' 
"\0" 'l7ု6]S,UI+IrPRツ%˼6˚$Q,L|ЋRqwRK,}|{5ítvMgc/\'VQipbh|á GjIRigD0r^vBa6ʤ?t4MÒeG(#{~X<)/' "\0" 'el(橢w/:Ch`͸bWDB    ͩ&rWC9U*Fnc$)bI\\F6C$' "\0" 'Hg9vqEYX惐ByX_}߸l#CCsdE)b.XwFb<k[ܒlګnbam@9mw?}Yf|o1Url*G7yFsŹtey< V }v|!x\\?QhOGXyȤ
-u7Cʬ?UPnoF_ľ+,$ VuuLP~mrhsZ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?{㨣Anاi,vE6    ~Ú BU I85#2L=*=}1td}1=k|1@1̌5>F*N:{' "\0" 'Pl0IS?',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = [
  
=> '/tmp/flower.jpg',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => false,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]