Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83056 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1496 invoked from network); 18 Feb 2015 12:33:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 12:33:18 -0000 Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; 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:60494] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/4E-18888-D8684E45 for ; Wed, 18 Feb 2015 07:33:18 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 269F44B01C8; Wed, 18 Feb 2015 13:32:56 +0100 (CET) Reply-To: To: "'Lester Caine'" , References: <54E3E27B.2010903@lerdorf.com> <2f99c47df51fa6c73131032ec50fade0@mail.gmail.com> <54E46171.3010805@lsces.co.uk> In-Reply-To: <54E46171.3010805@lsces.co.uk> Date: Wed, 18 Feb 2015 13:33:12 +0100 Message-ID: <030a01d04b77$0ff43b40$2fdcb1c0$@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: AQKz6wpj8b81mnwJq1LfxWbU4ZJyQgGjcksIAbrU1N8Bn0wufQGLyLi6AmixSwcCFGxi7prW4uwQ Content-Language: fr X-Antivirus: avast! (VPS 150217-2, 17/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Scalar Type Hints v0.4 From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi, > > Octal is something that can often be miss converted since it IS the = same > as an integer with only a '0' in front in PHP. But that is not = something > that can be fixed with the current proposals? What do you propose ? Considering leading zero as octal indicator is not = an option, IMO. If you have another way, why not. > Again we have to ensure > that the pre-processing takes care of the problem and how would static > analysis even know there was a problem? A type hint following the SQL > standards. Please give conversion rules and supported syntax for the 'SQL' type you = have in mind. > would be more helpful than the javascript approach of giving > an error in strict mode. Regards Fran=C3=A7ois