[PHP-DEV] PHP 4.0 Bug #8935 Updated: A reference to 'this' can not be used in the constructor method for a class.

2001-03-13 Thread johanp
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

[PHP-DEV] PHP 4.0 Bug #9722: foreach() operates on a copy of an object

2001-03-13 Thread johanp
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

[PHP-DEV] PHP 4.0 Bug #8935: A reference to 'this' can not be used in the constructor method for a class.

2001-01-26 Thread johanp
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. ?php /* thistest.php