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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php