Re: [PHP-DEV] PROPOSAL: new class entry for grouping functions, consts and vars

2013-09-20 Thread Lazare Inepologlou
2013/9/20 kuzuha > Hi, I wrote a *rough* patch to add new class entry "definition" for > > grouping functions, consts and vars. > > > > https://github.com/kuzuha/php-src/compare/feature;definition > > > > As you know, defining a lot of constants makes php slower. > > I think autoload is very nice

Re: [PHP-DEV] PROPOSAL: new class entry for grouping functions, consts and vars

2013-09-20 Thread Gareth Evans
On 20 September 2013 07:13, kuzuha wrote: > I think autoload is very nice solution to avoid that problem. > > Autoloading skips unnecessary code and makes php faster. > > The "definition" block means Grouped defines. That gives autoloading > > to function, consts and vars. And PSR-0 helps simplify

[PHP-DEV] PROPOSAL: new class entry for grouping functions, consts and vars

2013-09-19 Thread kuzuha
Hi, I wrote a *rough* patch to add new class entry "definition" for grouping functions, consts and vars. https://github.com/kuzuha/php-src/compare/feature;definition As you know, defining a lot of constants makes php slower. I think autoload is very nice solution to avoid that problem. Aut