Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54850 invoked by uid 1010); 5 Apr 2005 15:32:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54835 invoked from network); 5 Apr 2005 15:32:13 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 5 Apr 2005 15:32:13 -0000 X-Host-Fingerprint: 80.168.8.116 iko.gotobg.net Linux 2.4/2.6 Received: from ([80.168.8.116:50393] helo=iko.gotobg.net) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id E6/3E-19272-C7FA2524 for ; Tue, 05 Apr 2005 11:32:13 -0400 Received: from p54a0f8ab.dip.t-dialin.net ([84.160.248.171] helo=[192.168.0.41]) by iko.gotobg.net with esmtpa (Exim 4.43) id 1DIq2F-0000NJ-Kj; Tue, 05 Apr 2005 18:32:11 +0300 Message-ID: <4252AF71.2020804@hristov.com> Date: Tue, 05 Apr 2005 17:32:01 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050219 MIME-Version: 1.0 To: Marcus Boerger CC: internals@lists.php.net References: <5.1.0.14.2.20050403125628.03f83de0@localhost> <425002D8.50004@php.net> <42515CFC.2050108@php.net> <42516F85.10803@hristov.com> <425181BF.4090403@php.net> <1325222760.20050405054311@marcus-boerger.de> <4252A6D0.7070005@php.net> <4252ACED.70101@hristov.com> <1253466860.20050405173036@marcus-boerger.de> In-Reply-To: <1253466860.20050405173036@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Re: __autoload() enhancement From: php@hristov.com (Andrey Hristov) Marcus Boerger wrote: > Hello Andrey, > > Tuesday, April 5, 2005, 5:21:17 PM, you wrote: > > >>Stanislav Malyshev wrote: >> >>>GB>>call stack, as if the user had inserted the call to the new >>>GB>>__autoload() before the last closing }. >>> >>>Too much magic, IMO. All you need to know is the list of functions, you >>>don't need any 'stack' since they do not call each one. > > I completeley agree with Stanislav here, way to much magic: The engine > should never fumble around with a trace before making it accessible. > >> Stanislav, >>a stack is a list and a list is a stack, right ? :) > > > Wrong, by list we mean all registered autoload functions which > can be retrived by 'print_r(spl_autoload_functions())' and the > stack trace from main to the autoload call. > Marcus, for the record, he mentioned stack not stacktrace :) Andrey