05-11-2009, 05:41 PM
|
#6 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
This line is deprecated in PHP5:
PHP Code:
self::$instance = &new self()
In favor of this:
PHP Code:
self::$instance = new self()
As objects get passed around by reference auto-magically in PHP5.
That code produces a PHP strict warning:
Code:
Assigning the return value of new by reference is deprecated
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|