Hi Antony,

----- Original Message ----- 
From: "Antony Dovgal"


> 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?

I don't know; was wondering the same thing. :-)  But, that is what I saw on
http://lxr.php.net  :-(


Matt

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

Reply via email to