php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26408 getimagesize
Submitted: 2003-11-25 12:09 UTC Modified: 2003-11-25 13:13 UTC
From: bo at theaddedones dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.4 OS: os X & Solaris
Private report: No CVE-ID: None
 [2003-11-25 12:09 UTC] bo at theaddedones dot com
Description:
------------
with the advent of this lovely warning

Warning: Call-time pass-by-reference has been deprecated 
- argument passed by value;  If you would like to pass 
it by reference, modify the declaration of 
getimagesize().  If you would like to enable call-time 
pass-by-reference, you can set 
allow_call_time_pass_reference to true in your INI file.  
However, future versions may not support this any 
longer.

the example of 'getimagesize($file, &$info);'  should 
now be 

 'getimagesize($file, $info);' 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-25 13:13 UTC] didou@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, 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/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 17:01:34 2025 UTC