Re: [PHP-DEV] Obscure token name

2010-04-27 Thread mathieu.suen
Hannes Magnusson wrote: On Mon, Apr 26, 2010 at 16:32, mathieu.suen mathieu.s...@easyflirt.com wrote: Hi, I am wondering why is the token name so incomprehensible ? Like T_PAAMAYIM_NEKUDOTAYIM... Paamayim Nekudotayim would, at first, seem like a strange choice for naming a

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread Stefan Marr
On 27 Apr 2010, at 08:50, mathieu.suen wrote: Then T_DOUBLE_COLON would have been perfectly clear. Honestly, token names in error messages is so '80s. Instead of fixing internal details, form the users point of view it might be better to not expose token names at all, but have meaningful parser

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ INSTALL Makefile.gcov Makefile.global NEWS configure.in ext/bz2/bz2.c ext/com_dotnet/com_persist.c ext/curl/interface.c ext/curl/streams.c ext/curl/t

2010-04-27 Thread Hannes Magnusson
On Tue, Apr 27, 2010 at 01:53, Kalle Sommer Nielsen ka...@php.net wrote: kalle                                    Mon, 26 Apr 2010 23:53:30 + Revision: http://svn.php.net/viewvc?view=revisionrevision=298625 Log: Removed safe_mode  * Removed ini options, safe_mode*  * Removed

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread Sebastian Bergmann
Am 27.04.2010 09:17, schrieb Stefan Marr: Instead of fixing internal details, form the users point of view it might be better to not expose token names at all, but have meaningful parser errors. ... which we want to achieve with the migration from bison to lemon, right? -- Sebastian

[PHP-DEV] ArrayAccess::offsetGet not returning a ref

2010-04-27 Thread Etienne Kneuss
Hi, it looks like the fact that ArrayAccess::offsetGet is not returning a reference is a recurrent problem, I see basically 4 options: a) Ignore the issue, change nothing b) Rewrite offsetGet to return a ref, breaking BC c) Create a new ArrayAccess interface where it does return a ref d)

Re: [PHP-DEV] ArrayAccess::offsetGet not returning a ref

2010-04-27 Thread Daniel Egeberg
On Tue, Apr 27, 2010 at 10:51, Peter Cowburn petercowb...@gmail.com wrote: On 27 April 2010 09:17, Etienne Kneuss col...@php.net wrote: Hi, it looks like the fact that ArrayAccess::offsetGet is not returning a reference is a recurrent problem, I see basically 4 options: a) Ignore the issue,

Re: [PHP-DEV] trunk is alive and open

2010-04-27 Thread Ilia Alshanetsky
+1 for a co-RM of Derick and Kalle On Tue, Apr 27, 2010 at 12:33 AM, Kalle Sommer Nielsen ka...@php.netwrote: Hi 2010/3/24 Lukas Kahwe Smith m...@pooteeweet.org: Yeah, lets get that clarified. Derick has stepped up and seems quite committed and nobody seemed to oppose him RMing the next

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread Davey Shafik
From the manual: T_PAAMAYIM_NEKUDOTAYIM :: ::. Also defined as T_DOUBLE_COLON. http://php.net/manual/en/tokens.php T_PAAMAYIM_NEKUDOTAYIM is hardly un-google-able. - Davey On Apr 27, 2010, at 2:50 AM, mathieu.suen wrote: Hannes Magnusson wrote: On Mon, Apr 26, 2010 at 16:32,

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread mathieu.suen
Stefan Marr wrote: On 27 Apr 2010, at 08:50, mathieu.suen wrote: Then T_DOUBLE_COLON would have been perfectly clear. Honestly, token names in error messages is so '80s. Instead of fixing internal details, form the users point of view it might be better to not expose token names at

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread mathieu.suen
OMG More than 100 token I am pretty sure that more than 50% are syntactic sugar. Davey Shafik wrote: From the manual: T_PAAMAYIM_NEKUDOTAYIM :: ::. Also defined as T_DOUBLE_COLON. http://php.net/manual/en/tokens.php T_PAAMAYIM_NEKUDOTAYIM is hardly un-google-able. - Davey On Apr

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread Rune Kaagaard
You can pry T_PAAMAYIM_NEKUDOTAYIM from my cold dead fingers! On 4/27/10, mathieu.suen mathieu.s...@easyflirt.com wrote: OMG More than 100 token I am pretty sure that more than 50% are syntactic sugar. Davey Shafik wrote: From the manual: T_PAAMAYIM_NEKUDOTAYIM :: ::. Also

Re: [PHP-DEV] trunk is alive and open

2010-04-27 Thread Gwynne Raskind
+1 for Derick and Kalle, and +1 for alpha by Q4. On Apr 27, 2010, at 8:53 AM, Ilia Alshanetsky wrote: +1 for a co-RM of Derick and Kalle On Tue, Apr 27, 2010 at 12:33 AM, Kalle Sommer Nielsen ka...@php.netwrote: Hi 2010/3/24 Lukas Kahwe Smith m...@pooteeweet.org: Yeah, lets get that

Re: [PHP-DEV] trunk is alive and open

2010-04-27 Thread Pierre Joye
Before even thinking about a planning, we have to define what we want in and how we go further. That being said, my vote remains the same as before. Cheers, On Tue, Apr 27, 2010 at 5:23 PM, Gwynne Raskind gwy...@darkrainfall.org wrote: +1 for Derick and Kalle, and +1 for alpha by Q4. On Apr

Re: [PHP-DEV] trunk is alive and open

2010-04-27 Thread Johannes Schlüter
On Tue, 2010-04-27 at 17:46 +0200, Pierre Joye wrote: Before even thinking about a planning, we have to define what we want in and how we go further. ACK, I think it makes sense to define some key features we want for the next release (traits seem to be one). An issue with 5.3 was that whenever

Re: [PHP-DEV] ArrayAccess::offsetGet not returning a ref

2010-04-27 Thread Johannes Schlüter
Hi, On Tue, 2010-04-27 at 10:17 +0200, Etienne Kneuss wrote: it looks like the fact that ArrayAccess::offsetGet is not returning a reference is a recurrent problem, I see basically 4 options: The main use case is some nested structure like $o = new ArrayObject(); /*...*/ $o[23][42] = foobar;

RE: [PHP-DEV] Obscure token name

2010-04-27 Thread Sufficool, Stanley
-Original Message- From: Davey Shafik [mailto:da...@php.net] Sent: Tuesday, April 27, 2010 6:03 AM To: mathieu.suen Cc: Hannes Magnusson; PHP internals Subject: Re: [PHP-DEV] Obscure token name From the manual: T_PAAMAYIM_NEKUDOTAYIM :: ::. Also defined as T_DOUBLE_COLON.

Re: [PHP-DEV] Obscure token name

2010-04-27 Thread Stan Vassilev
T_PAAMAYIM_NEKUDOTAYIM is hardly un-google-able. If users have to Google it, we've already failed ;) By the way, the Hebrew name was (at some point) for removal, to be fully replaced by its alias T_DOUBLE_COLON. With the PHP6 branch being scrapped I lost track of what happened. Regards,

Re: [PHP-DEV] trunk is alive and open

2010-04-27 Thread Pierrick Charron
+1 For derick and Kalle 2010/4/27 Kalle Sommer Nielsen ka...@php.net: Hi 2010/3/24 Lukas Kahwe Smith m...@pooteeweet.org: Yeah, lets get that clarified. Derick has stepped up and seems quite committed and nobody seemed to oppose him RMing the next release. In case he feels he needs