RE: [PHP-DEV] Autoload Functions RFC in 5.5?

2012-11-10 Thread Laupretre François
Given the strong opposition of core devs against this feature in the past, I want a vote on the RFC before I start working on a patch. Before this vote can take place, as you note, we need to solve the function fallback issue: in theory, we should call the autoloader before looking into the glo

RE: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` called for functions?

2012-11-07 Thread Laupretre François
bs.ber...@gmail.com > [mailto:sebastian.krebs.ber...@gmail.com] De la part de Sebastian Krebs > Envoyé : mercredi 7 novembre 2012 09:12 > À : PHP internals list > Objet : Re: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` > called for functions? > > 2012/11/7 Lau

RE: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` called for functions?

2012-11-06 Thread Laupretre François
> De : sebastian.krebs.ber...@gmail.com > > I hope you find more support on this than I had. Technically > speaking, > > it would be easy to extend autoloading to functions and constants. It > > can even be done without BC breaks, combining 'old-style' and 'new- > style' > > autoloaders without amb

RE: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` called for functions?

2012-11-06 Thread Laupretre François
rrison [mailto:morrison.l...@gmail.com] Envoyé : mardi 6 novembre 2012 20:17 À : Laupretre François Cc : Sebastian Krebs; PHP internals list; petercowb...@gmail.com; Nikita Popov Objet : Re: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` called for functions? On Tue, Nov 6, 2012 a

RE: [PHP-DEV] Re: [PHP-WEBMASTER] Why isn't `spl_autoload` called for functions?

2012-11-06 Thread Laupretre François
> I've asked this question for a while (one, or two years ago or so). > Must say, that I didn't remember the answer, but I would like to see > autoloading for namespace-constants and functions too :) I proposed extending the autoload mechanism to functions and constants several times since I rele

RE: [PHP-DEV] Support negative indexes for arrays and strings

2012-09-03 Thread Laupretre François
Hi, Instead of [], which is ambiguous, couldn't we just extend the {} syntax : we already have $a{} working with positive numbers, couldn't we extend it to accept negative offsets also ? François -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

RE: [PHP-DEV] Error handling brainstorming

2012-08-28 Thread Laupretre François
> De : nicolas.gre...@gmail.com [mailto:nicolas.gre...@gmail.com > Envoyé : vendredi 24 août 2012 09:24 > > > 1) PHP Errors come with a severity code and a string message. You > want > > to handle specific errors in a specific way? You better start writing > > giant regexes parsing the string messa

RE: [PHP-DEV] RFCs and organisation

2012-07-27 Thread Laupretre François
> How about using git for the actual documents too.. No better way to > collaborate imho. Do you mean using github or integrating git VCS in a RFC app ? If you mean using github, it is a convenient way to store document evolution and comments, but what about the voting process, let alone RFC num

RE: [PHP-DEV] RFCs and organisation

2012-07-26 Thread Laupretre François
> There was a time when one could have written an app for it in PHP ;) Right. We all know from the beginning that a wiki is better than nothing but, when the number of users/documents grows, it becomes very hard to keep the information up-to-date. Another problem is that documents and their co

RE: [PHP-DEV] Subdomain Set Up

2012-06-19 Thread Laupretre François
From : Gustavo Lopes [mailto:glo...@nebm.ist.utl.pt] > I don't see why we > should be in the business of, among other things, deciding whether code > should be indented or otherwise formatted. +1. I think these documents have nothing to do under php.net, especially because the group, after PSR-0