note 121021 added to language.oop5.anonymous
| From: | piotr at maslosoft dot com | Date: | Wed, 26 Apr 2017 05:47:31 +0000 |
| Subject: | note 121021 added to language.oop5.anonymous | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209034@lists.php.net to get a copy of this message | ||
Please note that class name returned by
get_class might contain null bytes, as is the
case in my version of PHP (7.1.4).
Name will change when class starting line or it's body is changed.
Yes, name is implementation detail that should not be relied upon, but in some rare use cases it is
required (annotating anonymous class).
----
Server IP: 72.52.91.14
Probable Submitter: 77.253.255.81
----
Manual Page -- http://php.net/manual/en/language.oop5.anonymous.php
Edit -- https://master.php.net/note/edit/121021
Del: integrated -- https://master.php.net/note/delete/121021/integrated
Del: useless -- https://master.php.net/note/delete/121021/useless
Del: bad code -- https://master.php.net/note/delete/121021/bad+code
Del: spam -- https://master.php.net/note/delete/121021/spam
Del: non-english -- https://master.php.net/note/delete/121021/non-english
Del: in docs -- https://master.php.net/note/delete/121021/in+docs
Del: other reasons-- https://master.php.net/note/delete/121021
Reject -- https://master.php.net/note/reject/121021
Search -- https://master.php.net/manage/user-notes.php