Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79645 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57393 invoked from network); 14 Dec 2014 20:02:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Dec 2014 20:02:01 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:60663] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 00/00-57297-8BCED845 for ; Sun, 14 Dec 2014 15:02:01 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id DC2C78800DB; Sun, 14 Dec 2014 15:01:46 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D_zfVZAShkYb; Sun, 14 Dec 2014 15:01:46 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 48FCA88000A; Sun, 14 Dec 2014 15:01:46 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Sun, 14 Dec 2014 20:01:44 +0000 Cc: internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <2F9B99EF-538C-4225-95A4-943F57DADF69@ajf.me> To: Kalle Sommer Nielsen X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [PATCH] Consistent type names in error messages From: ajf@ajf.me (Andrea Faulds) > On 14 Dec 2014, at 19:59, Kalle Sommer Nielsen wrote: >=20 > 2014-12-14 19:44 GMT+01:00 Andrea Faulds : >> Hi Kalle, >=20 > Hi Andrea >> Also, a sidenote: In case someone goes and checks the manual and = tells me that is_long() is already an alias of is_int() and not the = other way around, the manual lies. In fact, is_int() is currently an = alias of is_long() in master. >>=20 >=20 > Simple fix: http://pastie.org/9780416 >=20 > Alternatively I can update the manual to be accurate, but I believe > that is_long() should be an alias of is_int() too, so I'll rather > change the C source which it has no impact on userland anyway. It wouldn=E2=80=99t break anything, I say make a pull request. -- Andrea Faulds http://ajf.me/