Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9885 invoked from network); 13 Feb 2015 13:45:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 13:45:04 -0000 Received: from [127.0.0.1] ([127.0.0.1:12159]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 1D/B8-62214-FDFFDD45 for ; Fri, 13 Feb 2015 08:45:03 -0500 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:19348] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/A8-62214-19CFDD45 for ; Fri, 13 Feb 2015 08:30:57 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 4E34A4B023C; Fri, 13 Feb 2015 14:30:49 +0100 (CET) Reply-To: To: , "Dennis Birkholz" Date: Fri, 13 Feb 2015 14:30:49 +0100 Message-ID: <008701d04791$47f2aa20$d7d7fe60$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdBHkSlCEIcjurqVTHOQqk84rdsbDw== Content-Language: fr X-Antivirus: avast! (VPS 150213-0, 13/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] [VOTE] Scalar Type Hints From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Dennis Birkholz [mailto:dennis@birkholz.biz] > > I did not follow the DoC-discussion so far but from a quick glance at > the list there are at least cases that need a further look: > > 1. There is no float (without !) in the list. It should be IS_LONG = yes > (if value does not exceed float boundaries), IS_DOUBLE = yes and > IS_STRING = yes (same as for IS_LONG). 'float' is an alias for 'number', which follows these rules. > 2. callable is missing a check for objects that contain __invoke() which > is also a valid callable. Right. Added this case. Thanks > > Greets > Dennis Birkholz