Removing reserved main::

php.internals

Sterling Hughes

23 years ago
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

Andi Gutmans

23 years ago
Nuke along. At 03:55 PM 30/6/2003 -0400, Sterling Hughes wrote:

Sterling Hughes

23 years ago
Done. :) -Sterling On Mon, 2003-06-30 at 17:25, Andi Gutmans wrote:
> Nuke along. > > At 03:55 PM 30/6/2003 -0400, Sterling Hughes wrote: > >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
-- "Microsoft isn't evil, they just make really crappy operating systems." - Linus Torvalds