Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36298 invoked from network); 27 Feb 2015 01:32:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2015 01:32:48 -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:38461] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/F9-32582-F39CFE45 for ; Thu, 26 Feb 2015 20:32:47 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 0F1914B0177; Fri, 27 Feb 2015 02:32:24 +0100 (CET) Reply-To: To: "'Lester Caine'" , References: <3d639901ae85227b219e7ee59b3140fe@mail.gmail.com> <2a8b6b586398939a6cc6e5ad0ed67924@mail.gmail.com> <172c4fd82ac7b6fba7b1aec1e01b15fc@mail.gmail.com> <54EF9DFF.3030000@lsces.co.uk> In-Reply-To: <54EF9DFF.3030000@lsces.co.uk> Date: Fri, 27 Feb 2015 02:32:40 +0100 Message-ID: <0ac901d0522d$46bafd50$d430f7f0$@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/YnAHY8IsNAja8iU0CV/sRfgD/+/f7AYCyb0kBGV9t5QDNpl0FASTeFuOcu/6QwA== 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?=) > De : Lester Caine [mailto:lester@lsces.co.uk] =20 > FB3.0 is still in development, but adds a bool field for which IS_TRUE > and IS_FALSE are not a comfortable fit because for any database a = field > can have a value or be null (not set) ... this therefore requires = using > a zval other than IS_TRUE/IS_FALSE to store a boolean value properly! Can't you consider converting to 'boolean or null', giving three = potential values. >=20 > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=3Dcontact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php