blob: 2f3434caff8d45220938399b8838f89802ea8df8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--TEST--
exif_thumbnail() with streams test
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--INI--
output_handler=
zlib.output_compression=0
--FILE--
<?php
$fp = fopen(__DIR__ . '/sony.jpg', 'rb');
var_dump(strlen(exif_thumbnail($fp)));
fclose($fp);
?>
--EXPECT--
int(4150)
|