Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9337 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27557 invoked by uid 1010); 18 Apr 2004 10:58:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27509 invoked from network); 18 Apr 2004 10:58:14 -0000 Received: from unknown (HELO smtp2.actcom.co.il) (192.114.47.15) by pb1.pair.com with SMTP; 18 Apr 2004 10:58:14 -0000 Received: from actcom.net.il (line106-24.adsl.actcom.co.il [192.117.106.24]) by smtp2.actcom.co.il (8.12.8/8.12.8) with ESMTP id i3IAwCxW030146; Sun, 18 Apr 2004 13:58:12 +0300 Message-ID: <40825F7A.2030109@actcom.net.il> Date: Sun, 18 Apr 2004 13:59:06 +0300 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040404 X-Accept-Language: en-gb, en-us, en, he, ru MIME-Version: 1.0 To: Luna Kid CC: internals@lists.php.net References: <20040411054722.44141.qmail@pb1.pair.com> <16439436171.20040411231632@marcus-boerger.de> <20040417172227.56664.qmail@pb1.pair.com> <20040418094246.45662.qmail@pb1.pair.com> In-Reply-To: <20040418094246.45662.qmail@pb1.pair.com> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Function autoloading From: ilya79@actcom.net.il (Ilya Sher) Luna Kid wrote: [snip] > (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. > I've actually impemented something very similar in PHP. Thereis list of funcs with the filenames they reside. (List is compacted.) The limitation if my implementation is that each func. may only have one argument so i just pass a hash and use extract().