note 129400 added to function.get-class
| From: | iftakharulislam881@gmail.com | Date: | Mon, 15 Apr 2024 08:57:47 +0000 |
| Subject: | note 129400 added to function.get-class | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221284@lists.php.net to get a copy of this message | ||
PHP Deprecated: Calling get_class() without arguments is deprecated in PHP 8.3
Replacement for get_class()
Currently get_class() function is only allowed to be called within a class context, and the
deprecated get_class call can be replaced either of self::class or __CLASS__ constants. The
self::class magic constant is available in PHP 5.4 and later. The __CLASS__ constant is available
since PHP 5.0 and later.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.131 (proxied: 103.187.94.247)
----
Manual Page -- https://php.net/manual/en/function.get-class.php
Edit -- https://main.php.net/note/edit/129400
Del: integrated -- https://main.php.net/note/delete/129400/integrated
Del: useless -- https://main.php.net/note/delete/129400/useless
Del: bad code -- https://main.php.net/note/delete/129400/bad+code
Del: spam -- https://main.php.net/note/delete/129400/spam
Del: non-english -- https://main.php.net/note/delete/129400/non-english
Del: in docs -- https://main.php.net/note/delete/129400/in+docs
Del: other reasons-- https://main.php.net/note/delete/129400
Reject -- https://main.php.net/note/reject/129400
Search -- https://main.php.net/manage/user-notes.php