Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41771 invoked from network); 28 Apr 2015 12:39:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2015 12:39:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:40658] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/64-17556-F7F7F355 for ; Tue, 28 Apr 2015 08:39:27 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id C92C64A7D8; Tue, 28 Apr 2015 14:40:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: * X-Spam-Status: No, score=1.4 required=4.0 tests=ALL_TRUSTED, DNS_FROM_AHBL_RHSBL autolearn=no version=3.3.2 X-Spam-HAM-Report: * 2.4 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-93-104-2-134.dynamic.mnet-online.de [93.104.2.134]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id D5A074A7D6; Tue, 28 Apr 2015 14:40:05 +0200 (CEST) Message-ID: <1430224760.5178.2.camel@kuechenschabe> To: Rowan Collins Cc: internals@lists.php.net Date: Tue, 28 Apr 2015 14:39:20 +0200 In-Reply-To: <553F7818.1040402@gmail.com> References: <553DBEC4.7000609@gmail.com> <006c01d081a7$0e600640$2b2012c0$@php.net> <553F7818.1040402@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: [RFC] Reserving More Types in PHP 7 From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2015-04-28 at 13:07 +0100, Rowan Collins wrote: > François Laupretre wrote on 28/04/2015 12:32: > > Bare class names are still recognized and priority is given to class names (if a 'String' class is defined, every 'String' or even 'string' type hints will always refer to it). > > This part is likely to be rather tricky to implement. How do you know if > a 'String' class is defined or not? > > The Engine would have to do something like this: This also becomes funny with code like this: Make things as deterministic as possible. johannes