ID: 9447 Updated by: sterling Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Class/Object related Operating System: all PHP Version: 4.0 Latest CVS (25/02/2001) New Comment: I think this has been implemented, anyway, call_user_method is outdated, just use call_user_function with the array(&$obj, "method") syntax. Previous Comments: ------------------------------------------------------------------------ [2001-02-25 17:05:43] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=9447&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]