Bug #51661 [Opn->Asn]: Confusing text in spl_autoload_unregister

From: Date: Tue, 04 May 2010 10:31:46 +0000
Subject: Bug #51661 [Opn->Asn]: Confusing text in spl_autoload_unregister
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4308@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51661&edit=1 ID: 51661 Updated by: aharvey@php.net Reported by: jacob at jacobweber dot com Summary: Confusing text in spl_autoload_unregister -Status: Open +Status: Assigned Type: Bug Package: Documentation problem Operating System: N//A PHP Version: Irrelevant -Assigned To: +Assigned To: aharvey Previous Comments: ------------------------------------------------------------------------ [2010-04-25 21:32:26] jacob at jacobweber dot com Description: ------------ The documentation states: "When this function results in the autoload stack being activated an existing __autoload function will not be reactivated." Shouldn't this read: "When this function results in the autoload stack being DEACTIVATED, an existing __autoload function will not be reactivated." I don't think spl_autoload_unregister can result in the stack becoming activated. Test script: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51661&edit=1

« previous php.doc.bugs (#4308) next »