[Tickets #2404] NEW: Application crash on initiate Registry

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Aug 8 03:09:48 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2404
-----------------------------------------------------------------------
 Ticket             | 2404
 Created By         | dwlnetnl at gmail.com
 Summary            | Application crash on initiate Registry
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


dwlnetnl at gmail.com (2005-08-08 03:09) wrote:

PHPInfo():
PHP Version: 5.0.4
Server API: Apache 2.0 Handler

On PHP 5.0.4 in all applications on the initiate of Registry it dies. The
line is the follow in the code:
<phpcode>$registry = &Registry::singleton();</phpcode>

It can be fixed by removing the reference ('&') before 'Registry'. Horde
works well, but when you run the following code on the PHP Shell, it fails:
<phpcode>var_dump(&Registry::singleton());</phpcode>




More information about the bugs mailing list