On 08.07.2006 14:48, Matt W wrote:
Hi Pierre,

:-O  I was just going to give you an example from zend_operators.h,
is_numeric_string() and guess what?  It's the "correct" way that I thought
it should be!  I thought PHP 6 changed something, to where

 /* handle hex numbers */
 if (length>=2 && str[0]=='0' && (str[1]=='x' || str[1]=='X')) {
    conv_base=16;
 }

which is easy to understand :-) became

 if (length>=2 && str[0]=='' && (str[1]=='x' || str[1]=='X')) {
    conv_base=16;
 }

'0' became '' ?
Why would _character_ 0 become nothing?

--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to