Skip to content

Commit d396d9c

Browse files
committed
remove ob_end_clean() and instead use ini section
#Derick you're right this was no good idea. I just left it over after testing #the test.
1 parent f066470 commit d396d9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/exif/tests/002.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ Check for exif_thumbnail
44
<?php if (!extension_loaded("exif")) print "skip";?>
55
--INI--
66
magic_quotes_runtime=0
7+
output_handler =
8+
zlib.output_compression = Off
79
--FILE--
810
<?php
911
/*
1012
test1.jpg is a 1*1 image that does not contain any Exif/Comment information
1113
test2.jpg is the same image but contains Exif/Comment information and a
1214
copy of test1.jpg as a thumbnail.
1315
*/
14-
if (function_exists("ob_end_clean")) ob_end_clean();
1516
$infile= './ext/exif/tests/test1.jpg';
1617
$fp = fopen($infile,'rb');
1718
$image = fread($fp,filesize($infile));

0 commit comments

Comments
 (0)