Edit report at http://bugs.php.net/bug.php?id=41321&edit=1
ID: 41321
Comment by: markus dot zimmermann at nethead dot at
Reported by: marduc at start dot no
Summary: getimagesize() gives warning on files containing
less than 12characters of dat
Status: Closed
Type: Bug
Package: GetImageSize related
Operating System: OS X
PHP Version: 6.0.0
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
I am using the following code with PHP 5.3.3
--
<?php
file_put_contents('abc', '12345678901');
$v = getimagesize('abc');
unlink('abc')
?>
--
and I get the notice "getimagesize(): Read error!". Therefore I would
say that this is a regression? Do note that with the text '123456789012'
I do not get the notice. So it is exactly as the bug opener described it
and the bug is not fixed. Please reopen.
Previous Comments:
------------------------------------------------------------------------
[2007-06-17 10:39:44] [email protected]
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Thanks for the head up!
------------------------------------------------------------------------
[2007-06-17 10:27:30] [email protected]
Re-opening as getimagesize-related as bug was not fixed in HEAD.
------------------------------------------------------------------------
[2007-06-17 10:26:50] [email protected]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
------------------------------------------------------------------------
[2007-05-09 09:39:08] [email protected]
Re-open as documentation problem (see Ilias comment)
------------------------------------------------------------------------
[2007-05-08 18:38:36] [email protected]
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Read errors have been downgraded to E_NOTICE.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=41321
--
Edit this bug report at http://bugs.php.net/bug.php?id=41321&edit=1