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

Bug #11677 [WARN] Call-time pass-by-reference error in tests.php
Submitted: 2007-07-23 21:50 UTC
From: trbecker Assigned: beni
Status: Closed Package: Net_LDAP (version 1.0.0RC2)
PHP Version: 4.3.9 OS: Linux
Roadmaps: 1.0.0    
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 : 46 + 34 = ?

 
 [2007-07-23 21:50 UTC] trbecker (Thiago Rafael Becker)
Description: ------------ Call-time pass-by-reference is deprecated in php 4.3.9 from Red Hat Enterprise AS4. The error occuors in tests.php, line 115. Expected result: ---------------- No warning. Actual result: -------------- 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 [runtime function name](). 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. in /www/html/ldap/tests.php on line 115

Comments

 [2007-07-24 06:40 UTC] beni (Benedikt Hallinger)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. This should be fixed in CVS. However it inflicted an api change because the $ldap parameter is of no use anymore. If this behavior is needed, one must call $entry->setLDAP($ldap); prior updating the entry.