Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52428 invoked by uid 1010); 5 Apr 2005 15:30:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52411 invoked from network); 5 Apr 2005 15:30:42 -0000 Received: from unknown (HELO marcus-boerger.de) (127.0.0.1) by localhost with SMTP; 5 Apr 2005 15:30:42 -0000 X-Host-Fingerprint: 81.169.182.136 h59705.serverkompetenz.net Linux 2.4/2.6 Received: from ([81.169.182.136:56555] helo=strato.aixcept.de) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id 72/0E-19272-12FA2524 for ; Tue, 05 Apr 2005 11:30:41 -0400 Received: from baumbart.mbo (dsl-082-083-246-048.arcor-ip.net [82.83.246.48]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 0DD1E35C270; Tue, 5 Apr 2005 17:36:40 +0200 (CEST) Date: Tue, 5 Apr 2005 17:30:36 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1253466860.20050405173036@marcus-boerger.de> To: Andrey Hristov Cc: Stanislav Malyshev , Greg Beaver , internals@lists.php.net In-Reply-To: <4252ACED.70101@hristov.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: __autoload() enhancement From: mail@marcus-boerger.de (Marcus Boerger) 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. -- Best regards, Marcus mailto:mail@marcus-boerger.de