Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54196 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57692 invoked from network); 26 Jul 2011 08:18:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2011 08:18:29 -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 209.85.215.173 as permitted sender) X-PHP-List-Original-Sender: sebastian.krebs.berlin@googlemail.com X-Host-Fingerprint: 209.85.215.173 mail-ey0-f173.google.com Received: from [209.85.215.173] ([209.85.215.173:55624] helo=mail-ey0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/90-48186-3587E2E4 for ; Tue, 26 Jul 2011 04:18:28 -0400 Received: by eyb7 with SMTP id 7so276661eyb.4 for ; Tue, 26 Jul 2011 01:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=6fc/XMgDnCi3mwxbhL5OHunjU9rID8GTU6D6eklpI/E=; b=CtZvADs+Tkzr+y6GIjpllpwttX/0KG5fbYWxInghZYwjLyhSfAtsvRdswlgA8s86bg +zmrmSQzI4P0QIT+GPqVkTa2YKtZfDh+s/1zsaTR0y10SG0dlu68ka43/Ey3wcpEsnzY eHDhc4huukHuXmsg1a2y0ylggdfamoBy5Jktg= Received: by 10.204.142.144 with SMTP id q16mr806336bku.147.1311668304492; Tue, 26 Jul 2011 01:18:24 -0700 (PDT) Received: from [192.168.24.2] (91-64-205-130-dynip.superkabel.de [91.64.205.130]) by mx.google.com with ESMTPS id z23sm82926bks.43.2011.07.26.01.18.23 (version=SSLv3 cipher=OTHER); Tue, 26 Jul 2011 01:18:24 -0700 (PDT) Message-ID: <4E2E784F.4050307@googlemail.com> Date: Tue, 26 Jul 2011 10:18:23 +0200 Reply-To: sebastian.krebs.berlin@googlemail.com User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: PHP internals list Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Function/Constant autoloading From: sebastian.krebs.berlin@googlemail.com (Sebastian Krebs) Hi, Maybe this topic occured already, then sorry when I'm wasting your time, but I'm wondering, why there is no autoloading for functions and (namespace)constants. When a class is not found, then an userland function is called. Thus I don't see a reason, why something like this doesn't exists for functions and (namespace)constants too, because using them is quite uncomfortable right now compared to classes and the decision _how_ to load them would be on the developers-side anyway. Sebastian Krebs