Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #1023 Call-time pass-by-reference
Submitted: 2004-03-16 21:25 UTC
From: maka3d at yahoo dot com dot br Assigned:
Status: Bogus Package: Structures_DataGrid
PHP Version: 4.3.4 OS: WinXP/FreeBSD
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 + 35 = ?

 
 [2004-03-16 21:25 UTC] maka3d at yahoo dot com dot br
Description: ------------ line 141 change this: function render(&$dg) to this: function render($dg) Call-time pass-by-reference has been deprecated

Comments

 [2004-03-17 20:02 UTC] asnagy at php dot net
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. Thank you for noting this. I was unaware of this deprecation. I fixed it and checked it into CVS
 [2004-03-18 18:14 UTC] mike
This is *not* "Call-time pass-by-reference" - calling $obj->(&$ref) would be. Marking bogus. Andrew: if you wnat to pass the var/object by reference, you should revert this change. Mike