Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75672 invoked from network); 13 Jun 2009 20:26:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2009 20:26:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=chris_se@gmx.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=chris_se@gmx.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.net designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: chris_se@gmx.net X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Linux 2.6 Received: from [213.165.64.20] ([213.165.64.20:44146] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/DC-12802-E8B043A4 for ; Sat, 13 Jun 2009 16:26:55 -0400 Received: (qmail invoked by alias); 13 Jun 2009 20:26:50 -0000 Received: from p54A14DD4.dip.t-dialin.net (EHLO chris-se.dyndns.org) [84.161.77.212] by mail.gmx.net (mp051) with SMTP; 13 Jun 2009 22:26:50 +0200 X-Authenticated: #186999 X-Provags-ID: V01U2FsdGVkX1+r5J0mcair+Fyq5MtJltu/kf4K0n993+eO74PNQe B4Qhqu1QwvKyIw Received: from [192.168.100.13] (cobalt.seiler.lan [192.168.100.13]) by chris-se.dyndns.org (Postfix) with ESMTP id 28DB56AA2; Sat, 13 Jun 2009 22:26:48 +0200 (CEST) Message-ID: <4A340B56.1010700@gmx.net> Date: Sat, 13 Jun 2009 22:25:58 +0200 User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: Greg Beaver CC: php-dev List References: <4A3343A1.4060701@chiaraquartet.net> <4A338AC9.1090100@gmx.net> <4A33D8B8.30203@chiaraquartet.net> <4A33DDDE.4070409@gmx.net> <4A33E2A2.4090305@chiaraquartet.net> <4A33E7D3.1050904@gmx.net> <4A33EBE9.9060604@chiaraquartet.net> In-Reply-To: <4A33EBE9.9060604@chiaraquartet.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Subject: Re: [PHP-DEV] bug 48541 - critical for PHP 5.3 From: chris_se@gmx.net (Christian Seiler) Hi, [quote from off-list:] > I am in way over my head and would not do a good job > fixing these (or have the time), care to take a crack at it? Ok, I'll do that tomorrow morning. > I wonder if the problem is that > spl_autoload_register should not just be checking to see if zcallable is > IS_OBJECT, but also if it is an instance of Closure. That should clear > up the examples below (spl_autoload_register($blah) where $blah is not a > closure should not work). No, actually it should definitely work, since $blah () works when the class defined __invoke and objects of this class are thus callable. Regards, Christian