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

Request #23767 PHP7.2 Reference Error
Submitted: 2018-09-03 22:52 UTC
From: frankm Assigned:
Status: Open Package: Auth (version 1.6.4)
PHP Version: HEAD SVN-2018-09-03 OS: Windows/Apache
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 : 38 + 2 = ?

 
 [2018-09-03 22:52 UTC] frankm (Frank Meurer)
Description: ------------ Auth does not work under PHP7.2. I got an error: Parse error: syntax error, unexpected 'new' (T_NEW) in C:\xampp\php\pear\Auth.php on line 469 The solution is to change the line 469 from: $obj =& new $storage_class($options); to: $obj = new $storage_class($options); That's it!

Comments