From: [EMAIL PROTECTED]
Operating system: Linux 2.2.16
PHP version: 4.0.4pl1
PHP Bug Type: Class/Object related
Bug description: foreach() operates on a copy of an object
The following two array looping statements are not equal
(Assuming Update() updates some instance variab
ID: 8935
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Class/Object related
Description: A reference to 'this' can not be used in the constructor method for a
class.
I haven't tried the $a = & new syntax
However, is that really a working solution? This would
require all clients
From: [EMAIL PROTECTED]
Operating system: Linux/WinNT
PHP version: 4.0.4
PHP Bug Type: Class/Object related
Bug description: A reference to 'this' can not be used in the constructor method for
a class.
The following script demonstrates the problem.
a=new A();
$this