Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88493 invoked from network); 15 Aug 2011 06:21:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 06:21:19 -0000 Authentication-Results: pb1.pair.com header.from=sebastian.krebs.berlin@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=sebastian.krebs.berlin@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: sebastian.krebs.berlin@googlemail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:33950] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/91-12367-DDAB84E4 for ; Mon, 15 Aug 2011 02:21:18 -0400 Received: by wyf23 with SMTP id 23so3612471wyf.29 for ; Sun, 14 Aug 2011 23:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=47UZCawjW7BKU4Fx+/fMqywJdcKw2gMU5URLWWWUTlo=; b=Htf6HsTV/MzkEMqTGykIGNJDECtlSbp2Uli2IoAIL07WLjBWh3fY1X9qxITFXHj/u0 o62AV5/eEDmTM8o9BkTWa6rG/W2oD+sDut/UKFIH9+X3MBYaHDXiEDwgux3I+GkWSL7p gFsYhuoJDUabWgztfxeOFNT0Hh6UmyUAeMsb0= MIME-Version: 1.0 Received: by 10.216.46.208 with SMTP id r58mr1694623web.78.1313389273960; Sun, 14 Aug 2011 23:21:13 -0700 (PDT) Sender: sebastian.krebs.berlin@googlemail.com Received: by 10.216.27.14 with HTTP; Sun, 14 Aug 2011 23:21:13 -0700 (PDT) In-Reply-To: <4E48AD3E.6010801@sugarcrm.com> References: <4E481136.3090508@sugarcrm.com> <4E483284.4010100@googlemail.com> <4E4838E1.3000006@sugarcrm.com> <4E48430D.6070409@googlemail.com> <4E486A50.4010700@sugarcrm.com> <4E48A22E.1040900@googlemail.com> <4E48AD3E.6010801@sugarcrm.com> Date: Mon, 15 Aug 2011 08:21:13 +0200 X-Google-Sender-Auth: W64ZmVmQotr0HmePzy52PjnjXVI Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=0016e64c2d4620537804aa8545f9 Subject: Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload* From: krebs.seb@googlemail.com (Sebastian Krebs) --0016e64c2d4620537804aa8545f9 Content-Type: text/plain; charset=ISO-8859-1 Hi, 2011/8/15 Stas Malyshev > Hi! > > > On 8/14/11 9:35 PM, Sebastian Krebs wrote: > >> Now I'm getting a little bit confused: About which new/changing >> semantics you are talking about? I want to use custom functions, that >> exists, since the language itself exists, but I want to get rid of >> unnecessary `[include|require]_once()`-**calls. >> > > You want to change how autoloader works. This would also be a problem with > global function callback for namespaces (http://www.php.net/manual/en/** > language.namespaces.fallback.**php) > since each call to, say, strlen would produce an autoloader call. I already made an suggestion [1], that bypass this. > > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > Regards, Sebastian [1] http://marc.info/?l=php-internals&m=131332512514686&w=2 --0016e64c2d4620537804aa8545f9--