Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86082 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22863 invoked from network); 30 Apr 2015 09:03:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Apr 2015 09:03: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:39114] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/65-27026-2FFE1455 for ; Thu, 30 Apr 2015 05:03:47 -0400 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 756444B018C; Thu, 30 Apr 2015 11:03:21 +0200 (CEST) Reply-To: To: "'Christoph Becker'" , "'PHP internals'" Cc: References: <55415E10.7040908@gmx.de> In-Reply-To: <55415E10.7040908@gmx.de> Date: Thu, 30 Apr 2015 11:03:40 +0200 Message-ID: <016501d08324$8d300460$a7900d20$@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: AQGUoKRhP1A7Uprtq44CppZWICgrU53dBK5w Content-Language: fr X-Antivirus: avast! (VPS 150429-1, 29/04/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Reserve even more type hints RFC From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Christoph Becker [mailto:cmbecker69@gmx.de] >=20 > Relying on documentation only seems to be insufficient to me. = Consider > a developer not reading the documentation and facing the issue that > his/her code might break with PHP 7.1 (i.e. a minor version). +1. I already asked if we should enforce reserved names by a message and = most replied that documentation was enough. This is the lazy (I could = say 'political') option and can only lead to bad surprises when we = decide to use the names. At this time, saying "People should have read = the doc" won't help them in any way, especially if their code dates back = from before 7.0, when this doc didn't exist yet. We don't need a warning there, we need a fatal error. These names are = *invalid* as class names. Regards Fran=C3=A7ois