Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34270 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11503 invoked by uid 1010); 28 Dec 2007 13:13:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11486 invoked from network); 28 Dec 2007 13:13:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Dec 2007 13:13:57 -0000 Authentication-Results: pb1.pair.com header.from=stefan.priebsch@e-novative.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=stefan.priebsch@e-novative.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain e-novative.de from 85.214.26.34 cause and error) X-PHP-List-Original-Sender: stefan.priebsch@e-novative.de X-Host-Fingerprint: 85.214.26.34 eno001.e-novative.de Linux 2.5 (sometimes 2.4) (4) Received: from [85.214.26.34] ([85.214.26.34:1581] helo=eno001.e-novative.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/A2-22266-196F4774 for ; Fri, 28 Dec 2007 08:13:54 -0500 Received: from [127.0.0.1] (p57AE67D3.dip.t-dialin.net [87.174.103.211]) by eno001.e-novative.de (Postfix) with ESMTP id CBCB7844361; Fri, 28 Dec 2007 14:25:20 +0100 (CET) Message-ID: <4774F68B.2040605@e-novative.de> Date: Fri, 28 Dec 2007 14:13:47 +0100 Organization: e-novative GmbH User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Andrew Mason CC: internals@lists.php.net References: <99cd336d0712280356v680cc82fh3b1396c9c608bb96@mail.gmail.com> In-Reply-To: <99cd336d0712280356v680cc82fh3b1396c9c608bb96@mail.gmail.com> X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] spl_autoload vs __autoload From: stefan.priebsch@e-novative.de (Stefan Priebsch) Andrew Mason schrieb: > Hi guys, > Can anyone shed some light on the advantages of the spl_autoload over > the standard __autoload ? is there any ? You can only register one __autoload() function, whereas spl_autoload() allows for a hierarchy of handlers. This allows for libraries to register their own autoload handler, for example. Regards, Stefan -- >e-novative> - We make IT work for you. e-novative GmbH - HR: Amtsgericht München HRB 139407 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch http://www.e-novative.de - GnuPG Key: 0x7DB67F7F