Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25624 invoked from network); 30 Aug 2013 12:54:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 12:54:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.176 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.128.176 mail-ve0-f176.google.com Received: from [209.85.128.176] ([209.85.128.176:51409] helo=mail-ve0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5F/5B-64695-EE590225 for ; Fri, 30 Aug 2013 08:54:07 -0400 Received: by mail-ve0-f176.google.com with SMTP id b10so1282678vea.21 for ; Fri, 30 Aug 2013 05:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Q6qcgSCZ8jETrQZHE+6Mtz+SZn1gNxGnCmDtaW5LssI=; b=Ir+cle/rkaDKEvDD/QOpreF8c4HCtp5e+EBoJ2qozcx8qj2CLM9GxcpFmjkDlYLSbI A8Q6lTd0l3xEY6XL6kUz6nD0sg8jOj3KQshvrKd951AZZNXG29ZdPTu6vhCgP4afbM2m jfubzKYEMd2dkw1s6QYcEOSc/JuEBD9DeQmYskibCjychObY0pAemixs021DPs9oMSGF xpAc4ZZ4nzTzMtoGFToxlJ+28X1mNCuTmZEbsyQ+f2nsLEORf5T1E7aZqHGo1SNsn5QY /TUlAuOyXAgng6jYng22R+4Cq3AM5hrLhQP0ldbh3xu66OCGzIrIGPCyIM4hhU/otekO SLlA== X-Received: by 10.58.19.162 with SMTP id g2mr8290044vee.12.1377867241871; Fri, 30 Aug 2013 05:54:01 -0700 (PDT) MIME-Version: 1.0 Sender: nicolas.grekas@gmail.com Received: by 10.52.74.70 with HTTP; Fri, 30 Aug 2013 05:53:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Aug 2013 14:53:41 +0200 X-Google-Sender-Auth: 7sq9HSmVy_d-gu7r9ljhjNvN9rw Message-ID: To: Anthony Ferrara Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b86e63a7ff07604e529b7e2 Subject: Re: [PHP-DEV] Re: [DRAFT] [RFC] Function autoloading From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --047d7b86e63a7ff07604e529b7e2 Content-Type: text/plain; charset=ISO-8859-1 Hi The only regression can be where autoloaders are defined, and people are > relying on the legacy undefined constant behavior (which triggers an > E_NOTICE). > that makes me think about this code : What autoload should be triggered? "foo\bar" or "bar"? Both are valid isn't it? Should autoloading functions and constants be restricted to namespaced ones only? Then the BC issue you spot would disappear. --047d7b86e63a7ff07604e529b7e2--