Re: [PHP-DEV] GOTO and/or BREAK LABEL

2006-03-08 Thread Nuno Lopes
On 7.3.2006 15:44 Uhr, Steph Fox wrote: 1) goto and break label 2) goto only (like C) 3) break label only (like Java) 4) nothing Sorry for the noise. I was told to vote. Meaning, I don't care, never had a use for GOTO, but if the caring majority thinks, it's needed, why not :) chregu sa

[PHP-DEV] 5.1 News file typo

2006-03-08 Thread Marian Kostadinov
5.1.3 snap news file contains the following fragment: - Improved SPL: (Marcus) - Fixed issues with not/double calling of constructors of SPL iterators. - Fixed issues with info-class/file-class in SPL directory handling classes. - Fixed ArrayIterator::seek(). - Added SimpleXMLElement::coun

Re: [PHP-DEV] Revisiting output control code

2006-03-08 Thread Michael Wallner
Xuefer wrote: is there any chance that a buffer in output buffer will be supported? Nope, as this can cause all sorts of evil things. Regards, -- Michael - http://dev.iworks.at/ext-http/http-functions.html.gz -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread Bart de Boer
Rasmus Lerdorf wrote: Michael Wallner wrote: Dmitry Stogov wrote: 1) goto and break label +0 3) break label only (like Java) +1 You do realize that this is: label: while(condition) { break label; } As a C programmer this confuses me to no end. When I see "label:" I expect c

RE: [PHP-DEV] GOTO and/or BREAK LABEL

2006-03-08 Thread Ford, Mike
On 07 March 2006 09:28, Dmitry Stogov wrote: > Please reviw and vote. > > 1) goto and break label > 2) goto only (like C) > 3) break label only (like Java) > 4) nothing 1) +0.25 2) -1e38 3) +1e38 4) -infinity Or, in other words, I want labelled break, and I don't want to have to emulate it wit

[PHP-DEV] CVS Account Request: arkadius

2006-03-08 Thread Arkadius Stefanski
since i'm using php and it's documentation for years, i wanted to contribute my part to the php project. i'm interested in translating (english, german, polish) and maintaining the documentation, because it still has a lot of bugs or outdated informations... got this site suggested from tobsn -

[PHP-DEV] Re: "Tunnelling" require/include through userspace streams filter

2006-03-08 Thread Sara Golemon
include('php://filter/string.toupper/resource=/foo/bar/baz'); Filters can be stacked, set on the read or write chains individually (though the latter hardly matters for include/require), and resource can be another wrapper, not just a local file. Ref: http://www.php.net/wrappers.php -Sara -

Re: [PHP-DEV] Re: "Tunnelling" require/include through userspace streams filter

2006-03-08 Thread Sebastian Bergmann
Sara Golemon schrieb: > include('php://filter/string.toupper/resource=/foo/bar/baz'); I do not want to change the include/require calls but instead set up a filter for the standard ones. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2

Re: [PHP-DEV] Re: "Tunnelling" require/include through userspacestreams filter

2006-03-08 Thread Sara Golemon
Oops, missent this the first time using my personal address... Sebastian: Please don't reply-all to that one, I'm trying to keep that off the list. > I do not want to change the include/require calls but instead set up > a filter for the standard ones. > Ah... I can see use for that. I'm actually

Re: [PHP-DEV] Re: "Tunnelling" require/include through userspacestreams filter

2006-03-08 Thread Sebastian Bergmann
Sara Golemon schrieb: > Ah... I can see use for that. I expected nothing else from you ;-) > I'll come back to this and look at adding something along the lines > of: stream_filter_auto() or whatever. Great, and thanks in advance, Sebastian -- Sebastian Bergmann http://

[PHP-DEV] php5 reads /etc/group on start

2006-03-08 Thread kjc
What is it that php5.1.2 reads /etc/group on startup to setgroup? My Solaris 10 boxes use LDAP as a NIS replacement so that we don't have to manage individual group files on all the servers. When I start Apache without php I see this the dtrace dtruss script: log.dtruss-httpdcmd-nophp: 26471/1:

Re: [PHP-DEV] php5 reads /etc/group on start

2006-03-08 Thread Rasmus Lerdorf
kjc wrote: What is it that php5.1.2 reads /etc/group on startup to setgroup? My Solaris 10 boxes use LDAP as a NIS replacement so that we don't have to manage individual group files on all the servers. When I start Apache without php I see this the dtrace dtruss script: log.dtruss-httpdcmd-noph

[PHP-DEV] [PATCH] Late Static Binding (Take 2)

2006-03-08 Thread Mike Lively
On Wed, 2006-03-01 at 17:37 +0300, Dmitry Stogov wrote: > 1) I would very like to see some real example where "static" is necessary? > > 2) "static" is really bad name. I suggest "caller", Marcus thought about > "class". > > 3) I COMPLETELY DISAGREE TO ADD RUNTIME DATA INTO > zend_function/zend_o

[PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread bertrand Gugger
Dmitry Stogov wrote: Hi, Because of some confused people I reverted "break label" patch and post it for discussion once again together with GOTO patch. Please reviw and vote. 1) goto and break label 2) goto only (like C) 3) break label only (like Java) 4) nothing My vote: (1) +0.5, (4) +0.5

Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread Steph Fox
I'm not concerned by the vote. Please, Bertrand, the goto/labelled breaks discussions were held ad infinitum last June, and back in December, and again more recently. The _only_ concern now is the vote. Anything else will lead to so much noise on here we can't hear ourselves think, and since

Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread bertrand Gugger
Steph Fox wrote: I'm not concerned by the vote. Please, Bertrand, the goto/labelled breaks discussions were held ad infinitum last June, and back in December, and again more recently. The _only_ concern now is the vote. Anything else will lead to so much noise on here we can't hear ourselve

[PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread bertrand Gugger
Dmitry Stogov wrote: Hi, Because of some confused people I reverted "break label" patch and post it for discussion once again together with GOTO patch. Please reviw and vote. 1) goto and break label 2) goto only (like C) 3) break label only (like Java) 4) nothing My vote: (1) +0.5, (4) +0.

Re: [PHP-DEV] php5 reads /etc/group on start

2006-03-08 Thread kjc
Thanks for responding... I see the following GID calls from libc, supplying both w/php and w/o php. Hmm. what next? logfile: CALLCOUNT log.dappprof-apachectl:libc.so.1 getgid 1 log.dappprof-apachectl:libc.so.1 getpgid

Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL

2006-03-08 Thread Steph Fox
That's 'one man one vote' NOT 'one mail one vote' :) - Original Message - From: "bertrand Gugger" <[EMAIL PROTECTED]> To: ; "Steph Fox" <[EMAIL PROTECTED]> Cc: "Dmitry Stogov" <[EMAIL PROTECTED]> Sent: Wednesday, March 08, 2006 11:57 PM Subject: Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL

Re: [PHP-DEV] [PATCH] Late Static Binding (Take 2)

2006-03-08 Thread Andi Gutmans
This patch is a bit rough. I'll try and think if there's a more elegant way. Andi At 01:06 PM 3/8/2006, Mike Lively wrote: On Wed, 2006-03-01 at 17:37 +0300, Dmitry Stogov wrote: > 1) I would very like to see some real example where "static" is necessary? > > 2) "static" is really bad name. I s

Re: [PHP-DEV] [PATCH] Late Static Binding (Take 2)

2006-03-08 Thread David Zülke
I'd still say we make it "this". It's reasonable and consistent. - David Am 09.03.2006 um 01:13 schrieb Andi Gutmans: This patch is a bit rough. I'll try and think if there's a more elegant way. Andi At 01:06 PM 3/8/2006, Mike Lively wrote: On Wed, 2006-03-01 at 17:37 +0300, Dmitry Stog

Re: [PHP-DEV] [PATCH] Late Static Binding (Take 2)

2006-03-08 Thread Andi Gutmans
Yeah I agree but I'm less concerned about the naming at this point but how to implement it assuming we find a name. Andi At 04:18 PM 3/8/2006, David Zülke wrote: I'd still say we make it "this". It's reasonable and consistent. - David Am 09.03.2006 um 01:13 schrieb Andi Gutmans: This patc

Re: [PHP-DEV] GOTO and/or BREAK LABEL

2006-03-08 Thread Xuefer
> If the "Java-like" syntax is seen as confusing, what about, as in some other > languages, interpolating the label into the for/foreach/while statement: > > for () label {...} or for label (...) {...} a. label: for () { break label; } AND label: { for () { break label; } } (see

Re: [PHP-DEV] GOTO and/or BREAK LABEL

2006-03-08 Thread Steph Fox
Please, Xuefer! Your vote was already recorded, shhh! - Original Message - From: "Xuefer" <[EMAIL PROTECTED]> To: "Ford, Mike" <[EMAIL PROTECTED]> Cc: "Dmitry Stogov" <[EMAIL PROTECTED]>; Sent: Thursday, March 09, 2006 5:19 AM Subject: Re: [PHP-DEV] GOTO and/or BREAK LABEL If the "J