Date: 02/25/01
- Next message: marcello.dipietro <email protected>: "[PHP-DEV] PHP 4.0 Bug #9448: It does not works / -c<path> Look for php.ini file in this directory"
- Previous message: Alexander Bokovoy: "Re: [PHP-DEV] Re: Japanese PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wez.php <email protected>
Operating system: all
PHP version: 4.0 Latest CVS (25/02/2001)
PHP Bug Type: Class/Object related
Bug description: call_user_method functions do not pass references
call_user_method and call_user_method_array functions do not force the object to be passed reference, and the call is made to a copy of the object.
This kills off the use of objects, as when the call returns any changes made to the properties of the object are lost.
I added my own call_user_method_array call to 4.0.4pl1 (prior to it appearing in CVS) which forces the object by reference.
Could we change the behaviour so that the object parameters are passed by reference? I don't think this will break anyones scripts.
--Wez.
-- Edit Bug report at: http://bugs.php.net/?id=9447&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: marcello.dipietro <email protected>: "[PHP-DEV] PHP 4.0 Bug #9448: It does not works / -c<path> Look for php.ini file in this directory"
- Previous message: Alexander Bokovoy: "Re: [PHP-DEV] Re: Japanese PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

