Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63073 invoked by uid 1010); 10 Jul 2006 11:07:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63058 invoked from network); 10 Jul 2006 11:07:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2006 11:07:25 -0000 X-Host-Fingerprint: 84.71.9.68 user-2372.wfd82a.dsl.pol.co.uk Received: from ([84.71.9.68:24370] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 91/6A-16663-BE432B44 for ; Mon, 10 Jul 2006 07:07:23 -0400 Message-ID: <91.6A.16663.BE432B44@pb1.pair.com> To: internals@lists.php.net Date: Mon, 10 Jul 2006 12:16:47 +0100 User-Agent: Thunderbird 1.5.0.4 (X11/20060630) MIME-Version: 1.0 References: <002701c6a26e$a1746560$0201a8c0@pc1> <04.B2.16663.53D8FA44@pb1.pair.com> In-Reply-To: <04.B2.16663.53D8FA44@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 84.71.9.68 Subject: Re: Use of "empty character constant?" From: mike@dransfield7565.fsnet.co.uk (Mike Dransfield) 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