Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79923 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93861 invoked from network); 24 Dec 2014 17:34:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2014 17:34:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:40738] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/47-50910-F19FA945 for ; Wed, 24 Dec 2014 12:34:24 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 78FEEB0008F; Wed, 24 Dec 2014 12:34:20 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Eyk66-B2-651; Wed, 24 Dec 2014 12:34:20 -0500 (EST) Received: from [192.168.0.14] (unknown [94.13.96.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 4F5C6B00085; Wed, 24 Dec 2014 12:34:19 -0500 (EST) References: <946C1B1D-30B8-4029-A5A1-73D515A017D8@ajf.me> <1419428487.29904.6.camel@kuechenschabe> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <5E26F21C-EA41-43FF-8DDB-D0A985AB4197@ajf.me> Cc: Pierre Joye , =?GB2312?Q?Johannes_Schl=A8=B9ter?= , PHP internals , Laruence X-Mailer: iPhone Mail (12B440) Date: Wed, 24 Dec 2014 17:34:13 +0000 To: Levi Morrison Subject: Re: [PHP-DEV] About SUCCESS/FAILURE From: ajf@ajf.me (Andrea Faulds) > On 24 Dec 2014, at 17:22, Levi Morrison wrote: >=20 > Hmm. This thread doesn't seem to mention it, but why must failure be > negative? I understand the non-zero part but not negative. Aside from > the fact we probably have code relying on it to be negative at this > point is there some other reason? Hey Levi, I believe it's a convention among C APIs: 0 for success, negative for some e= rror=20=