note 89578 deleted from function.register-shutdown-function by crell

From: Date: Thu, 31 Mar 2022 17:07:07 +0000
Subject: note 89578 deleted from function.register-shutdown-function by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-217860@lists.php.net to get a copy of this message
Note Submitter: cFreed at orange dot fr ---- May be obvious for most people, but I spent time to clearly understand something which is only INDIRECTLY mentioned by the manual, so I hope this useful for someones. Pay attention to the function prototype: the $function argument is a callback one (follow the link for more information). This means that you must write this argument differently depending on the $function context: . function-name, as a string, when it is a built-in or user-defined function . array(class-name, method-name), when it is an object method

« previous php.notes (#217860) next »