note 109865 added to function.class-alias
| From: | bronze1man | Date: | Wed, 29 Aug 2012 11:50:51 +0000 |
| Subject: | note 109865 added to function.class-alias | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190257@lists.php.net to get a copy of this message | ||
when I do
class_alias('RuntimeException','\abc\RuntimeException');
I got a warning.
Warning: First argument of class_alias() must be a name of user defined class in /xxx/xxx.php on
line xx
php 5.4.4 apache2
----
Server IP: 69.147.83.197
Probable Submitter: 222.197.176.131
----
Manual Page -- http://www.php.net/manual/en/function.class-alias.php
Edit -- https://master.php.net/note/edit/109865
Del: integrated -- https://master.php.net/note/delete/109865/integrated
Del: useless -- https://master.php.net/note/delete/109865/useless
Del: bad code -- https://master.php.net/note/delete/109865/bad+code
Del: spam -- https://master.php.net/note/delete/109865/spam
Del: non-english -- https://master.php.net/note/delete/109865/non-english
Del: in docs -- https://master.php.net/note/delete/109865/in+docs
Del: other reasons-- https://master.php.net/note/delete/109865
Reject -- https://master.php.net/note/reject/109865
Search -- https://master.php.net/manage/user-notes.php