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:
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
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();