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

Reply via email to