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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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!
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,
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
-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
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 -
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
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:
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
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
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
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/
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,
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
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
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
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
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
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
48 matches
Mail list logo