note 119542 added to reserved.keywords
| From: | arackhaen at gmail dot com | Date: | Sun, 03 Jul 2016 20:19:56 +0000 |
| Subject: | note 119542 added to reserved.keywords | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-205869@lists.php.net to get a copy of this message | ||
I am not sure if this was my programming mistake, but is Error an keyword in
PHP 7 ? I have had a PHP class in my library, built over a decade ago and it has worked.
Class's name is Error and I havent seen any problems with it before,
until now that I upgraded to PHP 7 and this class started showing
errors like my program pointed to Error::stop which did not exist,
but yes it did and worked. When I changed the name of class
(and var $CLASS_NAME) it started working. So I am good now, but
would advice others to avoid using Error as name in code.
----
Server IP: 72.52.91.14
Probable Submitter: 178.55.19.178
----
Manual Page -- http://php.net/manual/en/reserved.keywords.php
Edit -- https://master.php.net/note/edit/119542
Del: integrated -- https://master.php.net/note/delete/119542/integrated
Del: useless -- https://master.php.net/note/delete/119542/useless
Del: bad code -- https://master.php.net/note/delete/119542/bad+code
Del: spam -- https://master.php.net/note/delete/119542/spam
Del: non-english -- https://master.php.net/note/delete/119542/non-english
Del: in docs -- https://master.php.net/note/delete/119542/in+docs
Del: other reasons-- https://master.php.net/note/delete/119542
Reject -- https://master.php.net/note/reject/119542
Search -- https://master.php.net/manage/user-notes.php