Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29806 invoked from network); 27 Feb 2015 01:07:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2015 01:07:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:12344] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/98-32582-043CFE45 for ; Thu, 26 Feb 2015 20:07:13 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id B1B024B0150; Fri, 27 Feb 2015 02:06:48 +0100 (CET) Reply-To: To: "'Anthony Ferrara'" , "'Mike Willbanks'" Cc: "'Dan Ackroyd'" , "'Zeev Suraski'" , "'Theodore Brown'" , References: <3d639901ae85227b219e7ee59b3140fe@mail.gmail.com> In-Reply-To: Date: Fri, 27 Feb 2015 02:07:05 +0100 Message-ID: <0ac701d05229$b3b27c20$1b177460$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGwbbdURx2shUG2o7Zj2Ywptu8MnAHNhHseASj3TG8CBU/YnAHY8IsNnQzRonA= Content-Language: fr X-Antivirus: avast! (VPS 150226-1, 26/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] A different user perspective on scalar type declarations From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi Anthony, > Passing boolean(false) where an integer is expected will generate an > error. This is a common practice, specifically around internal > functions. Example: I think he was talking about receiving integer as boolean, which we = support, not boolean as integer. Regards Fran=C3=A7ois