note 130188 added to functions.first_class_callable_syntax
| From: | dan.feder@civicactions.com | Date: | Wed, 26 Mar 2025 15:52:44 +0000 |
| Subject: | note 130188 added to functions.first_class_callable_syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222022@lists.php.net to get a copy of this message | ||
Also note that closures are not serializable. So if you are storing a reference to a callback in a
variable that will be serialized for caching or any other purpose, do not switch to this syntax or
your serialization will break.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 38.66.96.75)
----
Manual Page -- https://php.net/manual/en/functions.first_class_callable_syntax.php
Edit -- https://main.php.net/note/edit/130188
Del: integrated -- https://main.php.net/note/delete/130188/integrated
Del: useless -- https://main.php.net/note/delete/130188/useless
Del: bad code -- https://main.php.net/note/delete/130188/bad+code
Del: spam -- https://main.php.net/note/delete/130188/spam
Del: non-english -- https://main.php.net/note/delete/130188/non-english
Del: in docs -- https://main.php.net/note/delete/130188/in+docs
Del: other reasons-- https://main.php.net/note/delete/130188
Reject -- https://main.php.net/note/reject/130188
Search -- https://main.php.net/manage/user-notes.php