Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51142 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81183 invoked from network); 31 Dec 2010 00:15:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2010 00:15:04 -0000 Authentication-Results: pb1.pair.com header.from=ezyang@MIT.EDU; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ezyang@mit.edu; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain mit.edu designates 18.7.68.35 as permitted sender) X-PHP-List-Original-Sender: ezyang@mit.edu X-Host-Fingerprint: 18.7.68.35 DMZ-MAILSEC-SCANNER-6.MIT.EDU Received: from [18.7.68.35] ([18.7.68.35:44223] helo=dmz-mailsec-scanner-6.mit.edu) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AA/2A-14489-7802D1D4 for ; Thu, 30 Dec 2010 19:15:04 -0500 X-AuditID: 12074423-b7bd0ae000000a00-b3-4d1d20859208 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-6.mit.edu (Symantec Brightmail Gateway) with SMTP id 18.38.02560.5802D1D4; Thu, 30 Dec 2010 19:15:01 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id oBV0F1SI024033 for ; Thu, 30 Dec 2010 19:15:01 -0500 Received: from localhost (ool-44c4de0a.dyn.optonline.net [68.196.222.10]) (authenticated bits=0) (User authenticated as ezyang@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id oBV0ExNO024986 for ; Thu, 30 Dec 2010 19:15:00 -0500 (EST) Content-Type: text/plain; charset=UTF-8 To: internals Date: Thu, 30 Dec 2010 19:14:59 -0500 Message-ID: <1293754419-sup-9852@ezyang> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: AAAAAQCq+Kk= Subject: Autoloader invariant From: ezyang@MIT.EDU ("Edward Z. Yang") Hello all, long time no see. When I am inside the body of an autoloader function, am I allowed to assume the invariant that the class passed to the autoloader function does not exist? Last time I checked, PHP was still single-threaded, so this invariant being broken would be quite suprising to me, but a user reports that they are seeing precisely this behavior from a combination of Zend Debugger + APC. Cheers, Edward