Re: [PHP-DEV] Unicode string literals and casting

2006-02-17 Thread Xuefer
> Your point about writing portable Unicode-friendly code is well taken. > Rasmus and I have chatted a bit here, and we think we can propose some > changes that may make it easier. sorry, i can hardly found the thread. can u give me sone hint on the subject so i can search it? > > With unicode_sema

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Marcus Boerger
Hello Zeev and hello Sara Saturday, February 18, 2006, 1:04:20 AM, you wrote: > At 01:24 18/02/2006, Marcus Boerger wrote: >>Actually Sara only asked whether she could add a flag to some handlers. >>That has nothing to with anything you started to discuss from there. > Uhm, Sara asked whether sh

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
At 01:24 18/02/2006, Marcus Boerger wrote: Actually Sara only asked whether she could add a flag to some handlers. That has nothing to with anything you started to discuss from there. Uhm, Sara asked whether she could add a flag to a specific operator to facilitate a certain behavior, namely,

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Marcus Boerger
Hello Zeev, Friday, February 17, 2006, 12:09:26 PM, you wrote: > At 11:55 17/02/2006, Stefan Walk wrote: >>On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: >> > In languages where operator overloading is supported, it comes hand >> > in hand with strict typing, which wouldn't allow for differ

[PHP-DEV] CVS Account Request: mayandr

2006-02-17 Thread Andrey MT
some-body -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Unicode string literals and casting

2006-02-17 Thread Andrei Zmievski
Hello Brion, Thank you for your feedback. First of all, README.UNICODE is a bit out of date, as you probably noticed. I need to update it once we finalize this conversion/casting discussion. Your point about writing portable Unicode-friendly code is well taken. Rasmus and I have chatted a b

[PHP-DEV] Re: ZIP bug in PHP 5.1.2

2006-02-17 Thread Pierre
On Fri, 17 Feb 2006 11:20:42 -0800 [EMAIL PROTECTED] (Kip Krueger) wrote: > > > We would like to install 5.1.2 to resolve a security problem however > we have discovered > that doing so breaks the php_zip.dll facilities. > > Here's a link to the bug report ... > > http://pecl.php.net/bugs/bu

[PHP-DEV] ZIP bug in PHP 5.1.2

2006-02-17 Thread Kip Krueger
We would like to install 5.1.2 to resolve a security problem however we have discovered that doing so breaks the php_zip.dll facilities. Here's a link to the bug report ... http://pecl.php.net/bugs/bug.php?id=6569 Can you help us determine ... 1. Is the bug in the 5.1.2 dist or in php_zi

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
Interesting stuff! Exactly the kind of stuff that's worrying me. I think you found a conceptual bug in zend_hash_compare(), I think it's worth fixing. Zeev At 14:59 17/02/2006, Jakub Vrana wrote: Sara Golemon wrote: > Yes, and that's the problem. $a > $b *isn't* read by the current parse

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Jochem Maas
Jakub Vrana wrote: Sara Golemon wrote: with thanks to Sara! - because (not for the first time) your post allowed me to learn/understand some new stuff. (Sara seems to have a knack for explaining stuff in a way that dummies can [also] understand it - that a good thing[tm]!) Yes, and that's t

[PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Jakub Vrana
Sara Golemon wrote: > Yes, and that's the problem. $a > $b *isn't* read by the current parser as > $a > $b, it's read as $b < $a. > For all normal PHP comparisons, the distinction is unimportant... 4 < 2 > and 2 > 4 will both evaluate to false after all. Array comparison is due this logic also

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
At 11:55 17/02/2006, Stefan Walk wrote: On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > In languages where operator overloading is supported, it comes hand > in hand with strict typing, which wouldn't allow for different values > for x>y and y > Zeev That's not true, Ruby for example has

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Stefan Walk
On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > In languages where operator overloading is supported, it comes hand > in hand with strict typing, which wouldn't allow for different values > for x>y and y > Zeev That's not true, Ruby for example has operator overloading, and has no problems

Re: [PHP-DEV] Re: php-src /ext/unicode unicode_iterators.c /ext/unicode/tests .cvsignore iterator_001.phpt

2006-02-17 Thread Marcus Boerger
Hello l0t3k, for some reason i always avoided using it - but after your mail seem to need to switch to it, doing so now. marcus Friday, February 17, 2006, 5:23:04 AM, you wrote: > ""Marcus Boerger"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> helly Wed Feb 15 21:34:21 20

Re: [PHP-DEV] C Level Iterators and Userland Classes

2006-02-17 Thread Marcus Boerger
Hello l0t3k, in SPL the iterator classes can be overloaded in TextIterator not. Foreach does what is necccessary and especially if inside foreach() someone uses the value it is being copied automatically. Since you do it all yourself you also need to do the copying yourself. So there is no incon