Hi Pierre,

Thanks for the reply, but where does that page talk about an EMPTY character
constant?  I pretty much understand character handling otherwise. :-)


Thanks,
Matt


----- Original Message ----- 
From: "Pierre"
Subject: Re: [PHP-DEV] Use of "empty character constant?"


> On 7/8/06, Matt W wrote:
> > Hi all,
> >
> > I'm a C newbie and just started experimenting with the PHP internals a
> > couple weeks ago...  A few days ago I noticed assignment/comparison of
char
> > variables to '' (nothing between single quotes) in, for example, the
> > is_numeric_string function (zend_operators.h), snprintf.c, spprintf.c,
etc.
> > I don't understand what it's doing. :-/  The only references I can find
are
> > about "empty character constant" compiler errors, which is what happens
if I
> > try to use '' in the same way (VC++ Express).  Though PHP compiles fine
with
> > these "constructs," so something must be special there?
>
> http://publications.gbdirect.co.uk/c_book/chapter5/character_handling.html
>
> Cheers,
> --Pierre

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

Reply via email to