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

Bug #15892 php5.3: deprecated syntax
Submitted: 2009-02-12 11:44 UTC
From: negram Assigned: doconnor
Status: Closed Package: Net_IDNA
PHP Version: 5_3 CVS-2009-02-12 OS:
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 : 30 - 20 = ?

 
 [2009-02-12 11:44 UTC] negram (Galanin Michail)
Description: ------------ this construction is deprecated in php5.3: $instance = &new $class($params); must be: $instance = new $class($params); (without ampersand) Test script: --------------- <?php ini_set('error_reporting', 32767); require_once 'Net/IDNA.php'; echo phpversion(); Expected result: ---------------- 5.3.0beta1 Actual result: -------------- Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/pear/Net/IDNA.php on line 65 5.3.0beta1 php5.2.6 says: PHP Strict standards: Assigning the return value of new by reference is deprecated in /usr/share/pear/Net/IDNA.php on line 65

Comments

 [2009-02-14 07:47 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Verified
 [2009-07-24 10:21 UTC] doconnor (Daniel O'Connor)
-Status: Verified +Status: Closed -Assigned To: +Assigned To: doconnor
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.