note 130484 added to function.get-class
| From: | yannick_duchene@yahoo.fr | Date: | Mon, 15 Sep 2025 21:43:21 +0000 |
| Subject: | note 130484 added to function.get-class | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222346@lists.php.net to get a copy of this message | ||
If get_class is used to test if an object is of some class, then instanceof should be used instead.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 89.159.108.4)
----
Manual Page -- https://php.net/manual/en/function.get-class.php
Edit -- https://main.php.net/note/edit/130484
Del: integrated -- https://main.php.net/note/delete/130484/integrated
Del: useless -- https://main.php.net/note/delete/130484/useless
Del: bad code -- https://main.php.net/note/delete/130484/bad+code
Del: spam -- https://main.php.net/note/delete/130484/spam
Del: non-english -- https://main.php.net/note/delete/130484/non-english
Del: in docs -- https://main.php.net/note/delete/130484/in+docs
Del: other reasons-- https://main.php.net/note/delete/130484
Reject -- https://main.php.net/note/reject/130484
Search -- https://main.php.net/manage/user-notes.php