Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94930 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79593 invoked from network); 8 Aug 2016 14:36:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2016 14:36:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.48 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.220.48 mail-pa0-f48.google.com Received: from [209.85.220.48] ([209.85.220.48:33240] helo=mail-pa0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/70-33134-DE898A75 for ; Mon, 08 Aug 2016 10:36:29 -0400 Received: by mail-pa0-f48.google.com with SMTP id ti13so36219216pac.0 for ; Mon, 08 Aug 2016 07:36:29 -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; bh=dx1AyBL6oGTQzmy2ci7wNb28mvSg00ehA89Zl+N1emo=; b=MFZ2NNeh9pYYQMx6Lq9CKvluDp2ObFqSSnPfzCyrHfZ6dHdaIa1xmQrdFROVCxQ8k4 SCHhmoPy6kcvwBGY0/a2gb7AXNpOWTzRSsCDWRhOHdsP8NQk1V5bBjWbvbw9ySiPLkVe ZMf40xFH9SLDPqw2FFa1QoK5PwDV/dNUgcPywKbi15t5UoDLnY1UTQV6pTsOBI1S02Vy WewREvch+rE0/zZ9u63pOyXXGVoSn/RTYNQrI7OhzFjIS7vBOMYstbYCIUoEftA5pznp D4gLlwMlvtRo+D1IzHR48SPdxV+4vCYdZ+kZAK3JYdlzXur8qCtVrLwXtActlLkWnreg g1Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dx1AyBL6oGTQzmy2ci7wNb28mvSg00ehA89Zl+N1emo=; b=mPncFaXy7ZvFEduTT3NwrxFy0i/kPCudClLXtEb4gymSyE83449SyHJG7GyR0YbSDV cGA+IEQZpRhYCGUp1/0SCtuPz+m0hHGd4sfriNG4BaHoe+B9WbWxJ79K0nyr8WrQqmAB IOSHwRaRfkiXFWbcLQI4J/Ka+zD2Y8Tzz2YLj+pgO4SyOEgU9F9iwJXpkWDTlNjt+0rV eWfzsiSIoV0LmeZmLy4uElcfs36q80+BOSXm5sTo+54FZ1xjzxPXh7TKotp50Y3+lOpD uAA5qggK8LtS9bpUI0VUDEt+I3y4nOsPaVi5EzIXGZis77obw/gt9EmZx8Vu7D7UBVwZ Anyg== X-Gm-Message-State: AEkoousRYE6xNHNOWqrb9YBN8RsdwnZh31MaWTPqsU9kaXfh/u8GKPzjk/T4xyZYSk41saESoJnM3T6I+S/AIQ== X-Received: by 10.66.14.161 with SMTP id q1mr63808339pac.103.1470666986343; Mon, 08 Aug 2016 07:36:26 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.66.24.42 with HTTP; Mon, 8 Aug 2016 07:36:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Aug 2016 08:36:25 -0600 X-Google-Sender-Auth: zBjvGPJ7YiPUF_cIFNRqhIAMBsY Message-ID: To: Nikita Popov Cc: Rasmus Schultz , PHP internals Content-Type: multipart/alternative; boundary=bcaec51f97094dd2070539905773 Subject: Re: [PHP-DEV] Function auto-loading From: levim@php.net (Levi Morrison) --bcaec51f97094dd2070539905773 Content-Type: text/plain; charset=UTF-8 > > > I feel like the problem here did not get across properly. Calling the > autoloader if a global function with the name exists will totally kill > performance. This means that every call to strpos() or any of the other > functions in the PHP standard library will have to go through the > autoloader first, unless people use fully qualified names (which, > currently, they don't). This is completely out of the question. > Interesting. I come to a different conclusion: this a great opportunity to get developers to use the fully qualified names. Performance is an incredibly motivating force even in many situations when it shouldn't be. --bcaec51f97094dd2070539905773--