Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71449 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65693 invoked from network); 23 Jan 2014 17:45:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2014 17:45:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=are.you.winning@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=are.you.winning@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: are.you.winning@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:41697] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/F4-39789-04551E25 for ; Thu, 23 Jan 2014 12:45:37 -0500 Received: by mail-qc0-f170.google.com with SMTP id e9so2979136qcy.29 for ; Thu, 23 Jan 2014 09:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sAWaHfkbvLSQ0mN24D6vJf0pM0ZAlwToC25pGQjTN6Q=; b=mLVNZ+d0zilLHoR3RDYSIxcWzKDpvo/KVQTiQ0eUgO3k9NJDk310kNJIcQ/lDuymgn pHxE4Y+lRgmd0fVMvBciqKYYfoorpZaVb+S5jPb9nKGfDG4V9nzVAaEVWMKTTeWaw6TO 3zhXPPSyusUfxnm29BFMZ0bEeaRfTZDuAOY9pj33aU10VWTFUX7p4462Cgr5uj95PK68 7FgIfFe4JPaHcwze+Uq8/TwhVAIACwK8fIsHaT5fFPzmU40nKjPUPaDTIjD5AmmfRc+a X74dvdE3rC6faSBGHbieywPX0YXhtx6N2B6h7FQi23drxi/XsPGf+oX0PvbQP9Y5a4Sw WBeQ== MIME-Version: 1.0 X-Received: by 10.229.90.199 with SMTP id j7mr13679075qcm.14.1390499134594; Thu, 23 Jan 2014 09:45:34 -0800 (PST) Sender: are.you.winning@gmail.com Received: by 10.229.240.193 with HTTP; Thu, 23 Jan 2014 09:45:34 -0800 (PST) In-Reply-To: <7E.A3.39789.25841E25@pb1.pair.com> References: <7E.A3.39789.25841E25@pb1.pair.com> Date: Thu, 23 Jan 2014 17:45:34 +0000 X-Google-Sender-Auth: ObImRrkd_ruK076M7JIlb8zJZ6M Message-ID: To: Pascal Chevrel Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: [PHP6] Function name consistency From: daverandom@php.net (Chris Wright) On 23 January 2014 16:50, Pascal Chevrel wrote: > Maybe it's a stupid idea, you'll tell me :) Wouldn't it be a good thing to > issue a notice when people use the alias instead of the correct function > name? > This is essentially a description of the visible effects of deprecation, and would cause a *lot* of issues in userland if this was done straight away, since there are literally millions of applications using functions that are candidates to be aliased in every page load - remember that everything, including error messages, has an overhead. As Yasuo stated in the first message in the thread: > We may keep alias 10 or 20 years or even forever. We can't consider deprecating (or even "soft deprecating" in the manual, as happened with ext/mysql) any of the old names for a long, long time, as many of them are far to deeply burned into the PHP ecosystem. Thanks, Chris