Re: [VOTE]strn(case)cmp supporting a negative length as its third paramter

From: Date: Fri, 05 Aug 2011 16:22:12 +0000
Subject: Re: [VOTE]strn(case)cmp supporting a negative length as its third paramter
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi:
 I am not good at english, so I could not explain the idea very clearly
 but I really think it was a good idea,,

 could someone plz make a decision that make this patch applied to svn trunk?

 thanks

2011/8/2 Jan Dolecek <[email protected]>:
> This would make perfect sense with constant strings and constant
> length, when using variables this may lead to some magic bugs, which
> would be normally reported as E_WARNING. Not sure if it's a good idea
> :(
>
> Jan Dolecek
> [email protected]
>
>
>
> On Mon, Aug 1, 2011 at 7:40 AM, Laruence <[email protected]> wrote:
>> Hi everyone:
>>
>>   plz vote for this : "strn(case)cmp supporting a negative length as
>> its third paramter"
>>
>>   RFC: https://wiki.php.net/rfc/strncmpnegativelen#vote
>>
>>   if you have any objection, plz write back.
>>
>> thanks
>>
>> --
>> Laruence  Xinchen Hui
>> http://www.laruence.com/
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/


Thread (33 messages)

« previous php.internals (#54407) next »