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

2001-01-16 Thread florian . ortner
From: [EMAIL PROTECTED] Operating system: Win2k PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: $this can't be passed by reference inside of constructor the following code-snippet illustrated the problem: - class a { var $bla; // some intvalue

[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-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: