Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9336 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45712 invoked by uid 1010); 18 Apr 2004 09:42:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45663 invoked by uid 1007); 18 Apr 2004 09:42:46 -0000 Message-ID: <20040418094246.45662.qmail@pb1.pair.com> To: internals@lists.php.net References: <20040411054722.44141.qmail@pb1.pair.com> <16439436171.20040411231632@marcus-boerger.de> <20040417172227.56664.qmail@pb1.pair.com> Date: Sun, 18 Apr 2004 11:42:45 +0200 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Posted-By: 81.0.85.60 Subject: Function autoloading (Was: PHP4 -> PHP5 incompatibility - classes must be declared before being used) From: lunakid@neuropolis.org ("Luna Kid") > > > > Does __autoload() work for functions? > > > > > > nope > > > > But could? (Or would, some day?) > > Technically it is possible, but we ain't going to add this. I see, thanks. May I also ask the reasons? (I bet anyone a dead rat that *lots* of authors of simple plugin-based designs (not needing real OOP stuff) would welcome function autoloading. In fact, many of us, I'm sure, had wondered cluelessly about how to do it with __autoload, before wondering cluelessly about why was that support omitted after all...) Thanks again, Sz.