Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Lester Caine
Rasmus Lerdorf wrote: There are a bunch of factors here. In the end it comes down to the purists vs. the pragmatists. You all know where I fall on that one. ?php is for the purists and ? and ?= still exists for the pragmatists. Now, someone mentioned ?php= which I am completely against as

Re: [PHP-DEV] [RFC] Namespace syntax decision

2008-03-22 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 10:36 PM, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Internals, we all were asked to stop discussing syntax of namespaces as we were told that we would decide after the namespace functionality was fully implemented. Now I think that the functionallity is pretty

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Felipe Pena
Em Sex, 2008-03-21 às 17:01 -0500, Gregory Beaver escreveu: 1) namespace foo { } This is acceptable if nothing can exist outside namespace foo {} except declare and other namespace declarations. Indeed! Here's my try: http://felipe.ath.cx/diff/namespace.diff

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Lars Strojny
Hi Ralph, Pierre, everybody, Am Samstag, den 22.03.2008, 01:23 +0100 schrieb Pierre Joye: On Sat, Mar 22, 2008 at 12:51 AM, Ralph Schindler [EMAIL PROTECTED] wrote: Take this file: ?xml version=1.0 encoding=utf-8 ? foo ? echo bar; ? /foo and run it through

[PHP-DEV] Re: Patch for opcode caches

2008-03-22 Thread phpxcache
XCache PHP_5_3 compatibility changeset is commited http://xcache.lighttpd.net/changeset/548 {{{ $ svn co svn://svn.lighttpd.net/xcache/trunk }}} -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Pierre Joye
Hi, On Sat, Mar 22, 2008 at 1:09 PM, Lars Strojny [EMAIL PROTECTED] wrote: Hi Ralph, Pierre, everybody, Am Samstag, den 22.03.2008, 01:23 +0100 schrieb Pierre Joye: On Sat, Mar 22, 2008 at 12:51 AM, Ralph Schindler [EMAIL PROTECTED] wrote: Take this file: ?xml

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Pierre Joye
Hi Lars, On Sat, Mar 22, 2008 at 1:09 PM, Lars Strojny [EMAIL PROTECTED] wrote: Providing the infrastructure to enable/disable short tags per runtime allows people to better define their API, in this case the API for templating as they can define the only point where one may use short

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Lars Strojny
Hi Pierre, Am Samstag, den 22.03.2008, 13:27 +0100 schrieb Pierre Joye: [...] It seems to be very hard to understand that it is not so simple. If this feature is added, every library/module write will have to take care of the short tags if they like to work smoothly in any unknown

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Lars Strojny
Hello Pierre, Am Samstag, den 22.03.2008, 13:17 +0100 schrieb Pierre Joye: [...] Read: Code validation (like in pre commit rules), is one common usage. Where? I've just never seen any project that does XML validation on XML templates as a pre-commit rule. Think about xml being XML data or

Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer

2008-03-22 Thread Marcus Boerger
Hello Alan, Andi, Rui, my impression still is that not a single person uses this crap. I only hear of people claiming they have heard that people use it. But what I see is broken code and not a single test. If this is not going to change as in we are not getting any .phpt files for this feature

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Marcus Boerger
Hello Felipe, looks pretty good to me. Let's see what other responses we get by late wedensday. marcus Saturday, March 22, 2008, 12:46:08 PM, you wrote: Em Sex, 2008-03-21 às 17:01 -0500, Gregory Beaver escreveu: 1) namespace foo { } This is acceptable if nothing can exist outside

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Lars Strojny
Hi, Am Samstag, den 22.03.2008, 16:29 +0100 schrieb Marcus Boerger: [...] looks pretty good to me. Let's see what other responses we get by late wedensday. I like the current syntax and don't think it is confusing. So -1 for changing it. cu, Lars signature.asc Description: Dies ist ein

[PHP-DEV] CVS Account Request: santiago

2008-03-22 Thread Alexey Romanenko
I would like to request a CVS account to commit the translations to the russian translation of the php manual. I have discussed with Antony Dovgal about it. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: santiago

2008-03-22 Thread Philip Olson
On 22 Mar 2008, at 10:27, Alexey Romanenko wrote: I would like to request a CVS account to commit the translations to the russian translation of the php manual. I have discussed with Antony Dovgal about it. Hello Alexey- This account has been created with karma added, welcome to the

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Ryan Panning
Lars Strojny wrote: Hi, Am Samstag, den 22.03.2008, 16:29 +0100 schrieb Marcus Boerger: [...] looks pretty good to me. Let's see what other responses we get by late wedensday. I like the current syntax and don't think it is confusing. So -1 for changing it. cu, Lars I'm also -1 on this

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-22 Thread Derick Rethans
On Fri, 21 Mar 2008, Pierre Joye wrote: On Fri, Mar 21, 2008 at 5:35 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008, Stanislav Malyshev wrote: You can't actually use the class name DateFormatter when you want pecl/intl to be in core. Date is the prefix for the

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Marcus Boerger
Hello Ryan, Saturday, March 22, 2008, 6:50:36 PM, you wrote: Lars Strojny wrote: Hi, Am Samstag, den 22.03.2008, 16:29 +0100 schrieb Marcus Boerger: [...] looks pretty good to me. Let's see what other responses we get by late wedensday. I like the current syntax and don't think it is

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Marcus Boerger
Hello Lars, Stas, you can already do all you want. We do not have to make it more complex at all. Ini setting short_open_tags is defined as PHP_INI_PER_DIR, so all you guys have to do is provide the right configuration, that's all. And if you guys ship your templates then simply remember to

[PHP-DEV] Re: halo 3 tournaments - 4v4, 2v2, 1v1 and FFA tournaments weekly athalo3-tournaments.com

2008-03-22 Thread Edward Z. Yang
halo3-tournaments.com wrote: www.halo3-tournaments.com [snip] Can we get someone to delete this message from the newsgroup archives? Normally, I wouldn't mind, but this one's dated to 2036 and my news client (Thunderbird) doesn't let me hide or delete it, so it's constantly floating at the top

Re: [PHP-DEV] CVS Account Request: santiago

2008-03-22 Thread Antony Dovgal
On 03/22/2008 08:37 PM, Philip Olson wrote: On 22 Mar 2008, at 10:27, Alexey Romanenko wrote: I would like to request a CVS account to commit the translations to the russian translation of the php manual. I have discussed with Antony Dovgal about it. Hello Alexey- This account has

[PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Gregory Beaver
Marcus Boerger wrote: Hello Internals, we all were asked to stop discussing syntax of namespaces as we were told that we would decide after the namespace functionality was fully implemented. Now I think that the functionallity is pretty much settled we should revisit the syntax. We all

[PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-22 Thread Lars Strojny
Hi, as we introduce NOWDOC in 5.3 it would be logical to allow a double quoted syntax sister of NOWDOC which acts as HEREDOC (same as for $var = $var vs $var = '$var'). Currently we have the following options: $var = Hello world; $str = LABEL $var LABEL; $str = 'LABEL' $var LABEL; The first

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-22 Thread Pierre Joye
On Sat, Mar 22, 2008 at 6:57 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008, Pierre Joye wrote: On Fri, Mar 21, 2008 at 5:35 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008, Stanislav Malyshev wrote: You can't actually use the class name

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-22 Thread Marcus Boerger
Hello Pierre, Saturday, March 22, 2008, 10:01:31 PM, you wrote: On Sat, Mar 22, 2008 at 6:57 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008, Pierre Joye wrote: On Fri, Mar 21, 2008 at 5:35 PM, Derick Rethans [EMAIL PROTECTED] wrote: On Fri, 21 Mar 2008, Stanislav

Re: [PHP-DEV] Re: [php-icu] Graphemes and unicode vs intl extension

2008-03-22 Thread Pierre Joye
Hi Marcus, On Sat, Mar 22, 2008 at 10:09 PM, Marcus Boerger [EMAIL PROTECTED] wrote: Hello Pierre, In case you were speaking of [EMAIL PROTECTED], then I have to agree as that one should not be used to decide about anything in PHP. There is an official list [EMAIL PROTECTED] out there

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread David Coallier
Why can't we stick to consistency ? PHP (classes, functions, interfaces, abstracts, etc) are all done the same way. What is the need of changing this ? I see reasons like : - I don't like indentatation (Answer to that: PHP must make you quite sad then... and I can't imagine what python makes you

[PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Johannes Schlüter
Hi, On Fri, 2008-03-21 at 22:36 +0100, Marcus Boerger wrote: PHP is very close to Java and C++ in terms of Syntax. And many of our users are familiar with one or even both of them. Also we have a tendency to especially take syntax from those two or be in line with those two languages. That

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Gregory Beaver
Felipe Pena wrote: Em Sex, 2008-03-21 às 17:01 -0500, Gregory Beaver escreveu: 1) namespace foo { } This is acceptable if nothing can exist outside namespace foo {} except declare and other namespace declarations. Indeed! Here's my try: http://felipe.ath.cx/diff/namespace.diff

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Johannes Schlüter
Hi, On Fri, 2008-03-21 at 21:13 +0100, Marcus Boerger wrote: Hello Stanislav, Friday, March 21, 2008, 9:08:02 PM, you wrote: However the '?echo' I mentioned would work. We could also go for something like '?phpecho'. I for one would really appreciate it. And I would not ?phpecho is

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Stefan Walk
Johannes Schlüter schrieb: Now we have the big issue: Do we want to have short open tags forever? Well, without tooo much thinking my idea would be to drop ? but keep ?=, ?= shouldn't conflict with ?xml tags in the same file, but make it simple to do templating using PHP, on the other hand when

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Felipe Pena
Em Sáb, 2008-03-22 às 17:19 -0500, Gregory Beaver escreveu: Felipe Pena wrote: Em Sex, 2008-03-21 às 17:01 -0500, Gregory Beaver escreveu: 1) namespace foo { } This is acceptable if nothing can exist outside namespace foo {} except declare and other namespace declarations. Indeed!

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Gregory Beaver
Stefan Walk wrote: Johannes Schlüter schrieb: Now we have the big issue: Do we want to have short open tags forever? Well, without tooo much thinking my idea would be to drop ? but keep ?=, ?= shouldn't conflict with ?xml tags in the same file, but make it simple to do templating using PHP,

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Marcus Boerger
Hello Gregory, Sunday, March 23, 2008, 12:13:20 AM, you wrote: Stefan Walk wrote: Johannes Schlüter schrieb: Now we have the big issue: Do we want to have short open tags forever? Well, without tooo much thinking my idea would be to drop ? but keep ?=, ?= shouldn't conflict with ?xml tags

RE: [PHP-DEV] short_open_tag

2008-03-22 Thread Jared Williams
-Original Message- From: Stefan Walk [mailto:[EMAIL PROTECTED] Sent: 22 March 2008 22:52 To: 'PHP Internals' Subject: Re: [PHP-DEV] short_open_tag Johannes Schlüter schrieb: Now we have the big issue: Do we want to have short open tags forever? Well, without tooo much

Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-22 Thread Stanislav Malyshev
NOWDOC and $var would be used literally. The following patch adds a third version: $str = LABEL $var LABEL; -1, we already have syntax for that. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals -

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Stanislav Malyshev
you can already do all you want. We do not have to make it more complex at all. Ini setting short_open_tags is defined as PHP_INI_PER_DIR, so all you guys have to do is provide the right configuration, that's all. And if Ok, here we go again: this setting is needed to enable people to work

Re: [PHP-DEV] [RFC] Namespace syntax decision

2008-03-22 Thread Stanislav Malyshev
Since multiple namespaces are allowed in the same file we have no choice but to use this syntax. Yes we have choice. Leave it as it is and stop raising this topic every two weeks. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN:

Re: [PHP-DEV] Re: [RFC] Namespace syntax decision

2008-03-22 Thread Stanislav Malyshev
Hi! Why can't we stick to consistency ? PHP (classes, functions, I think consistency became, as many other previously useful words, to mean agree with me on this list, so it's meaningless. Greg? Stas? Dmitry? Could we get a resume of the backstage talks you guys spoke about? I'm sure you

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Steph Fox
Hi Stas, you can already do all you want. We do not have to make it more complex at all. Ini setting short_open_tags is defined as PHP_INI_PER_DIR, so all you guys have to do is provide the right configuration, that's all. And if Ok, here we go again: this setting is needed to enable

Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-22 Thread Steph Fox
Hi Lars, oh wow no again... == as we introduce NOWDOC in 5.3 it would be logical to allow a double quoted syntax sister of NOWDOC which acts as HEREDOC (same as for $var = $var vs $var = '$var'). Currently we have the following options: $var = Hello world; $str = LABEL $var

Re: [PHP-DEV] [RFC] Namespace syntax decision

2008-03-22 Thread Steph Fox
Since multiple namespaces are allowed in the same file we have no choice but to use this syntax. Yes we have choice. Leave it as it is and stop raising this topic every two weeks. My hero :) - Steph -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Stanislav Malyshev
I see your point... but wouldn't it be better not to need that? Johannes' idea seemed good to me, always assuming it's do-able. Well, yes, it would indeed, but we have a lot of ?= templates now so either we allow ?= on no-short-tags (if XML guys out there will be OK with it I might be OK too,

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Steph Fox
Hi Stas, 1. Leave it as is and be in World of Configuration Pain (TM) 2. Allow ?= independent of short tags (my +1, dunno about XML templates guys) This is the way I understood Johannes' proposal - shoot me if I'm wrong here Johannes. But I don't have the means of testing to hand, so I'm

Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-22 Thread Edward Z. Yang
Steph Fox wrote: Just one. Why? Probably to be consistent. Let's say a hypothetical user learns to use NOWDOC before HEREDOC: which syntax are they more likely to use; 'NOWDOC' or HEREDOC. However, I too am -1 because this smacks of the Perl philosophy of more than one to do things, which, in

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: I see your point... but wouldn't it be better not to need that? Johannes' idea seemed good to me, always assuming it's do-able. Well, yes, it would indeed, but we have a lot of ?= templates now so either we allow ?= on no-short-tags (if XML guys out there will be OK

Re: [PHP-DEV] short_open_tag

2008-03-22 Thread Steph Fox
Oh and ps 1. Leave it as is and be in World of Configuration Pain (TM) 2. Allow ?= independent of short tags (my +1, dunno about XML templates guys) This is the way I understood Johannes' proposal - shoot me if I'm wrong here Johannes. But I don't have the means of testing to hand, so I'm

[PHP-DEV] About that PECL versioning thing

2008-03-22 Thread Steph Fox
Hi all, Since I'm still awake at 3am... Aside from Pierre's arguments in favour of using package.xml to set the extension version (which 3 PECL extensions - two of them Pierre's - do at present), does anyone have any objection to the proposal at http://wiki.php.net/rfc/peclversioning? I

Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer

2008-03-22 Thread Stanislav Malyshev
is broken code and not a single test. If this is not going to change as in we are not getting any .phpt files for this feature then there are two As I understand the theory of the thing should be pretty simple, you set input encoding (by config or declare) and internal encoding, and then when