register_user_func and register_shutdown_func

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

is there any internal difference between following calls (they occur inside 
some class)?

#1 register_shutdown_function(array($this, 'myfunc'));
#2 register_shutdown_function(array(&$this, 'myfunc'));
(note the reference operator in #2)

Or is parameter "$this" in example #1 forced to be taken as reference 
internally, which makes both calls basically identical?


Thank you for your kind response.


Best regards,
Bostjan Skufca

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux