On 7/8/06, Matt W <[EMAIL PROTECTED]> 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