Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32631 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63757 invoked by uid 1010); 4 Oct 2007 14:34:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63719 invoked from network); 4 Oct 2007 14:34:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2007 14:34:26 -0000 Authentication-Results: pb1.pair.com header.from=php@benjaminschulz.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@benjaminschulz.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benjaminschulz.com from 80.81.249.139 cause and error) X-PHP-List-Original-Sender: php@benjaminschulz.com X-Host-Fingerprint: 80.81.249.139 mx.systisoft.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.81.249.139] ([80.81.249.139:41949] helo=mx.systisoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/64-38587-FE9F4074 for ; Thu, 04 Oct 2007 10:34:25 -0400 Received: (qmail 15962 invoked from network); 4 Oct 2007 14:34:12 -0000 Received: from unknown (HELO mail.ih.systisoft.com) (217.13.198.186) by mx.systisoft.com with SMTP; 4 Oct 2007 14:34:12 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.ih.systisoft.com (Postfix) with ESMTP id 546C434D8E6; Thu, 4 Oct 2007 16:34:25 +0200 (CEST) Received: from mail.ih.systisoft.com ([127.0.0.1]) by localhost (heidi.b.ih.systisoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28773-10; Thu, 4 Oct 2007 16:34:20 +0200 (CEST) Received: from [10.0.3.10] (marvin.b.ih.systisoft.com [10.0.3.10]) by mail.ih.systisoft.com (Postfix) with ESMTP id E044434D8C5; Thu, 4 Oct 2007 16:34:20 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <470334FE.7050808@chiaraquartet.net> References: <470334FE.7050808@chiaraquartet.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Date: Thu, 4 Oct 2007 16:34:14 +0200 To: Gregory Beaver , internals Mailing List X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: by amavisd-new at mail.ih.systisoft.com X-Spam-Status: No, hits=-2.514 tagged_above=-999 required=5 tests=ALL_TRUSTED, AWL, BAYES_00, MISSING_SUBJECT, NO_RECEIVED X-Spam-Level: Subject: Re: [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists() From: php@benjaminschulz.com (Benjamin Schulz) Hi, What about __class_exists() and SPL_register_class_exists_handler()? One could suppose the classloader (the one that implements __autoload) knows if a class exists (as in: is registered within the classloader or the class-file exists) without loading it and maybe the class that calls class_exists() never uses it. regards, Benjamin