Re: Use of "empty character constant?"

From: Date: Mon, 10 Jul 2006 11:16:47 +0000
Subject: Re: Use of "empty character constant?"
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-24305@lists.php.net to get a copy of this message
Michael Wallner wrote:
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. :-/
I don't see what you're seeing and cannot find a single occurrence of ''.
http://lxr.php.net/source/ZendEngine2/zend_operators.h#71 I think he is talking about this, it appears as '' on lxr

« previous php.internals (#24305) next »