Re: [PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Philip Olson
On Nov 5, 2012, at 8:55 AM, Rasmus Lerdorf wrote: > On 11/05/2012 08:41 AM, Jean-Sébastien Hedde wrote: >> On Mon, 05 Nov 2012 08:04:06 -0800, Rasmus Lerdorf >> wrote: >>> >>> I think the documentation is wrong on that. In Unicode mode [[:alnum:]] >>> actually becomes \p{Xan} which should match

Re: [PHP-DEV] [VOTE] [RFC] ICU UConverter implementation for ext/intl

2012-11-05 Thread Sara Golemon
There doesn't seem to be any further discussion. I figured if someone has more objections during the week this stays open for voting they can be addressed, and if need be the voting can be reset and resumed. -Sara On Mon, Nov 5, 2012 at 10:25 AM, Pierre Joye wrote: > Just for the record, it is

Re: [PHP-DEV] Generics proposal

2012-11-05 Thread Sara Golemon
Sorry to be late to the conversation, but fwiw, HipHop is adding Generics (and some other cool things) to our PHP implementation. We plan to provide a PHP equivalent implementation in the form of a pre-processor extension which can live in PECL. The implementation would of course be cleaner if do

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

2012-11-05 Thread Sebastian Krebs
2012/11/5 Peter Cowburn > Pushing to internals list. > > On 5 November 2012 20:41, Levi Morrison wrote: > > I hear people complaining about this out in user-land all the time, but > > I've never seen anyone from internals respond. With practically everyone > > using an autoloader these days, it

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

2012-11-05 Thread Nikita Popov
On Mon, Nov 5, 2012 at 10:16 PM, Peter Cowburn wrote: > On 5 November 2012 20:41, Levi Morrison wrote: > > I hear people complaining about this out in user-land all the time, but > > I've never seen anyone from internals respond. With practically everyone > > using an autoloader these days, it r

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

2012-11-05 Thread Peter Cowburn
Pushing to internals list. On 5 November 2012 20:41, Levi Morrison wrote: > I hear people complaining about this out in user-land all the time, but > I've never seen anyone from internals respond. With practically everyone > using an autoloader these days, it really borks your workflow to use > `

Re: [PHP-DEV] Branching PHP-5.5

2012-11-05 Thread Pierre Joye
hi, On Fri, Nov 2, 2012 at 1:49 PM, Kalle Sommer Nielsen wrote: > Hi David >> it's been a while since we started talking about PHP 5.5 and we are >> already a little bit late with my release plans. I've started reviewing >> the current master and came to the conclusion that it does make more >>

Re: [PHP-DEV] [VOTE] [RFC] ICU UConverter implementation for ext/intl

2012-11-05 Thread Pierre Joye
Just for the record, it is one week minimum, not maximum :) If you think that the implementation details are solved and ready to be voted on, then heh, go ahead :) On Mon, Nov 5, 2012 at 6:26 PM, Sara Golemon wrote: > The requisite one week minimum has passed and there have been no > further c

[PHP-DEV] [VOTE] [RFC] ICU UConverter implementation for ext/intl

2012-11-05 Thread Sara Golemon
The requisite one week minimum has passed and there have been no further comments since my last update (which addressed all comments thereto) so I'm opening the voting process on https://wiki.php.net/rfc/uconverter Cheers, -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

Re: [PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Rasmus Lerdorf
On 11/05/2012 08:41 AM, Jean-Sébastien Hedde wrote: > On Mon, 05 Nov 2012 08:04:06 -0800, Rasmus Lerdorf > wrote: >> >> I think the documentation is wrong on that. In Unicode mode [[:alnum:]] >> actually becomes \p{Xan} which should match Unicode chars as well, but >> only if PCRE was compiled wit

Re: [PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Jean-Sébastien Hedde
On Mon, 05 Nov 2012 08:04:06 -0800, Rasmus Lerdorf wrote: > > I think the documentation is wrong on that. In Unicode mode [[:alnum:]] > actually becomes \p{Xan} which should match Unicode chars as well, but > only if PCRE was compiled with Unicode support. So I suspect you don't > actually have a

Re: [PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Rasmus Lerdorf
On 11/05/2012 01:57 AM, Jean-Sébastien Hedde wrote: > Hi, > > I'm facing an issue with preg_match and an UTF8 string. > > The pattern is : /^[[:alnum:]\s\-\'%]+$/u > The string : Régis > > If I read the manual preg_match should return 0 ("In UTF-8 mode, > characters with values greater than 128

Re: [PHP-DEV] PHP 5.4.9RC1 next Tuesday

2012-11-05 Thread David Soria Parra
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, yes, I clearly slid when I was looking at the calendar. It's Tuesday 13th. David On Mon 05 Nov 2012 02:18:59 PM CET, Renan Gonçalves wrote: > A logical thought leads me to Tuesday 13th, November 2012. > > > On Sat, Nov 3, 2012 at 7:45 PM, Sherif

Re: [PHP-DEV] Branching PHP-5.5

2012-11-05 Thread jpauli
On Fri, Nov 2, 2012 at 1:49 PM, Kalle Sommer Nielsen wrote: > Hi David > > 2012/10/30 d...@php.net > >> Hi Internals, >> >> it's been a while since we started talking about PHP 5.5 and we are >> already a little bit late with my release plans. I've started reviewing >> the current master and came

Re: [PHP-DEV] PHP 5.4.9RC1 next Tuesday

2012-11-05 Thread Renan Gonçalves
A logical thought leads me to Tuesday 13th, November 2012. On Sat, Nov 3, 2012 at 7:45 PM, Sherif Ramadan wrote: > On Fri, Nov 2, 2012 at 11:21 AM, David Soria Parra wrote: > > Hi Internals, > > > > I was asked to send heads up before pushing an RC, so here we go: As we > > were a bit busy this

Re: [PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Gustavo Lopes
Em 2012-11-05 10:57, Jean-Sébastien Hedde escreveu: I'm facing an issue with preg_match and an UTF8 string. The pattern is : /^[[:alnum:]\s\-\'%]+$/u The string : Régis If I read the manual preg_match should return 0 ("In UTF-8 mode, characters with values greater than 128 do not match any of

[PHP-DEV] Incomprehension with preg_match and utf8

2012-11-05 Thread Jean-Sébastien Hedde
Hi, I'm facing an issue with preg_match and an UTF8 string. The pattern is : /^[[:alnum:]\s\-\'%]+$/u The string : Régis If I read the manual preg_match should return 0 ("In UTF-8 mode, characters with values greater than 128 do not match any of the POSIX character classes.") but I've got 1 i