Removing reserved main::
| From: | Sterling Hughes | Date: | Mon, 30 Jun 2003 19:55:49 +0000 |
| Subject: | Removing reserved main:: | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-3063@lists.php.net to get a copy of this message | ||
Hey,
Edin pointed out that we no longer need to reserve the "main" keyword in
zend engine 2. As the main:: keyword was only reserved for the main::
namespace in the first place. We no longer have namespaces, therefore
we no longer need to reserve main.
Attached is a patch to zend_compile.c that removes main. I'll commit it
to zend_compile.c unless someone objects.
-Sterling
--
"A business that makes nothing but money is a poor kind of business."
- Henry Ford
Attachment: [text/x-patch] remove_main.diff
Attachment: [text/x-patch] remove_main.diff