[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/unicode locale.c

2006-04-18 Thread Andrei Zmievski
We had this discussion a long time ago. I don't mind revisiting the naming conventions, but I want them to be consistent. Consider that Derick added collator_create() and collator_sort(). Should we have collator_get_default(), collator_set_default(), and respectively, locale_get_default(), loca

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Richard Lynch
On Tue, April 18, 2006 1:11 pm, Pierre wrote: > On 4/18/06, Andrei Zmievski <[EMAIL PROTECTED]> wrote: >> Once again, people who upgrade to PHP 6 will either turn the unicode >> switch and stick with it (in which case they will see "binary >> string" >> and "Unicode string") or they will keep the s

Re: [PHP-DEV] Design By Contract

2006-04-18 Thread Sebastian Bergmann
Marcus Boerger schrieb: > interfaces are contracts as well as any signature is a contract. I know, but the term "Design by Contract" [1] means another kind of contract. -- [1] http://en.wikipedia.org/wiki/Design_by_Contract -- Sebastian Bergmann http://www.sebastian-ber

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Derick Rethans
On Tue, 18 Apr 2006, Pierre wrote: > On 4/18/06, Andrei Zmievski <[EMAIL PROTECTED]> wrote: > > Once again, people who upgrade to PHP 6 will either turn the unicode > > switch and stick with it (in which case they will see "binary string" > > and "Unicode string") or they will keep the switch off

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Pierre
On 4/18/06, Andrei Zmievski <[EMAIL PROTECTED]> wrote: > Once again, people who upgrade to PHP 6 will either turn the unicode > switch and stick with it (in which case they will see "binary string" > and "Unicode string") or they will keep the switch off (and will live > merrily thereafter with "st

Re: [PHP-DEV] Design By Contract

2006-04-18 Thread Marcus Boerger
Hello Sebastian, interfaces are contracts as well as any signature is a contract. marcus Tuesday, April 18, 2006, 5:26:44 PM, you wrote: > James Crane schrieb: >> I've been reading and I discovered a concept called Design By >> Contract. I've not seen any particular libraries to aid in this >

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Andrei Zmievski
Once again, people who upgrade to PHP 6 will either turn the unicode switch and stick with it (in which case they will see "binary string" and "Unicode string") or they will keep the switch off (and will live merrily thereafter with "string"). They won't be flipping back and forth. -Andrei O

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Pierre
On 4/18/06, Andi Gutmans <[EMAIL PROTECTED]> wrote: > Yeah I agree. OK I guess we can keep it like this. Can we keep only "string" then? "string in non-unicode behaves exactly like "binary string" in unicode mode. --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, v

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Andi Gutmans
Yeah I agree. OK I guess we can keep it like this. At 10:32 AM 4/18/2006, Andrei Zmievski wrote: I think this is a minor issue in any case, but consider this. Most of the people who will upgrade from PHP 5 to 6 will not touch unicode_semantics switch and it will default to Off. And then all of

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Andrei Zmievski
I think this is a minor issue in any case, but consider this. Most of the people who will upgrade from PHP 5 to 6 will not touch unicode_semantics switch and it will default to Off. And then all of a sudden they are getting messages about "binary string". I think that is more confusing.. Especi

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Antony Dovgal
On 18.04.2006 21:24, Pierre wrote: On Tue, 18 Apr 2006 10:15:42 -0700 [EMAIL PROTECTED] (Andi Gutmans) wrote: Do we really need this? I'd prefer to keep "string" and "unicode" I was asking the same thing. We should have only two names, as we have actually only two types, binary and unicode.

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

2006-04-18 Thread Pierre
On Tue, 18 Apr 2006 10:15:42 -0700 [EMAIL PROTECTED] (Andi Gutmans) wrote: > Do we really need this? I'd prefer to keep "string" and "unicode" I was asking the same thing. We should have only two names, as we have actually only two types, binary and unicode. I'm in favour of naming it "binary st

Re: [PHP-DEV] Design By Contract

2006-04-18 Thread Sebastian Bergmann
James Crane schrieb: > I've been reading and I discovered a concept called Design By > Contract. I've not seen any particular libraries to aid in this > particular development design process, but I was wondering if you > folks had, or if there were plans to consider providing for this > functionali

Re: [PHP-DEV] Strange problem with the functions exec() / system()...

2006-04-18 Thread Michael Vergoz
Yes thank you i have identify the problem. - Original Message - From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Michael Vergoz" <[EMAIL PROTECTED]> Cc: "PHPdev" Sent: Monday, April 17, 2006 2:06 PM Subject: Re: [PHP-DEV] Strange problem with the functions exec() / system()... My hunch

Re: [PHP-DEV] --with-zend-multibyte safe/useable?

2006-04-18 Thread Derick Rethans
On Tue, 18 Apr 2006, Luca Longinotti wrote: > Hi PHP devs, I'm Luca Longinotti, one of the PHP maintainers in Gentoo. > I tought I'd ask about this here as to have some input from the people > developing this, since I never used that particular configure option > before... > Basically, we have a r

[PHP-DEV] --with-zend-multibyte safe/useable?

2006-04-18 Thread Luca Longinotti
Hi PHP devs, I'm Luca Longinotti, one of the PHP maintainers in Gentoo. I tought I'd ask about this here as to have some input from the people developing this, since I never used that particular configure option before... Basically, we have a request from a user to add --with-zend-multibyte to our

Re: [PHP-DEV] "Pushing PHP Into The Web 2.0 Generation"

2006-04-18 Thread Evan Priestley
I'm not sure if this whole thing is supposed to be tongue-in-cheek or not, but "making the language more human" seems, to me, to be a fairly weak argument for making numeric and string literals like `5' and `"smile"' into objects, adding closures, and altering array syntax. The given exampl

Re: [PHP-DEV] "Pushing PHP Into The Web 2.0 Generation"

2006-04-18 Thread Marco
> I've written a short paper on the future of PHP and I'd appreciate it > if you folks would take a look at it and exchange your thoughts with > me. I agree with Gareth, the premise that everything as objects and web 2.0 is the future is a little short sighted IMO and possibly a little blinded by

[PHP-DEV] Re: Design By Contract

2006-04-18 Thread Michael Wallner
James Crane wrote: I've been reading and I discovered a concept called Design By Contract. I've not seen any particular libraries to aid in this particular development design process, but I was wondering if you folks had, or if there were plans to consider providing for this functionality within

Re: [PHP-DEV] "Pushing PHP Into The Web 2.0 Generation"

2006-04-18 Thread Gareth Ardron
James Crane wrote: I've written a short paper on the future of PHP and I'd appreciate it if you folks would take a look at it and exchange your thoughts with me. http://www.maraby.com/papers/pushing_php_into_the_web_20_generation Don't be too skeptical. ;) Not being funny, but the one thing

[PHP-DEV] Design By Contract

2006-04-18 Thread James Crane
I've been reading and I discovered a concept called Design By Contract. I've not seen any particular libraries to aid in this particular development design process, but I was wondering if you folks had, or if there were plans to consider providing for this functionality within PHP. (A longshot, I k

[PHP-DEV] "Pushing PHP Into The Web 2.0 Generation"

2006-04-18 Thread James Crane
I've written a short paper on the future of PHP and I'd appreciate it if you folks would take a look at it and exchange your thoughts with me. http://www.maraby.com/papers/pushing_php_into_the_web_20_generation Don't be too skeptical. ;) Cheers! M.T. -- PHP Internals - PHP Runtime Development