[PHP-DEV] PHP 4.0 Bug #8740 Updated: $this can't be passed by reference inside of constructor

2001-01-17 Thread florian . ortner
ID: 8740 User Update by: [EMAIL PROTECTED] Status: Closed Bug Type: *General Issues Description: $this can't be passed by reference inside of constructor works, but still a bit clumsy. thanks for the help. Previous Comments:

[PHP-DEV] PHP 4.0 Bug #8740 Updated: $this can't be passed by reference inside of constructor

2001-01-16 Thread florian . ortner
ID: 8740 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: *General Issues Description: $this can't be passed by reference inside of constructor no, that's the opposite of what i wanna get. $this-b = new b($this); is instancing and assigning a new object of type b

[PHP-DEV] PHP 4.0 Bug #8740 Updated: $this can't be passed by reference inside of constructor

2001-01-16 Thread waldschrott
ID: 8740 Updated by: waldschrott Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *General Issues Assigned To: Comments: you did not quite understand: 1) add a , like below it should read, on the global scope: $a = new a(10); 2) remove that xtra line $a-x();