Bug #52715 [Asn->Csd]: Err in get_loaded_extensions() with true argument

From: Date: Tue, 19 Oct 2010 04:12:22 +0000
Subject: Bug #52715 [Asn->Csd]: Err in get_loaded_extensions() with true argument
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5238@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52715&edit=1 ID: 52715 Updated by: kalle@php.net Reported by: satya61229 at gmail dot com Summary: Err in get_loaded_extensions() with true argument -Status: Assigned +Status: Closed Type: Bug Package: Documentation problem Operating System: WinXP PHP Version: 5.3SVN-2010-08-27 (snap) Assigned To: kalle Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-10-19 06:12:18] kalle@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=304493 Log: Fixed bug #52715 (Err in get_loaded_extensions() with true argument) ------------------------------------------------------------------------ [2010-08-30 16:42:46] Satya61229 at gmail dot com Actually I have point to get confused. On my home laptop, I have xDebug loaded. but I could not make difference because of get_loaded_extensions(); is listing xDebug with other extensions, whereas I expect it should not come in this list. Because default value is false. get_loaded_extensions(true); is only listing zend extension. In my case output is xDebug. Which is right. Now, I need to check if xDebug extension comes in both category for a reason! ------------------------------------------------------------------------ [2010-08-30 16:24:54] Satya61229 at gmail dot com Thanks johannes @php.net. You are right. Sorry to trouble you all. ------------------------------------------------------------------------ [2010-08-30 12:47:47] johannes@php.net I assume you are confused by the term "Zend Extension". A Zend Extension is a special module which effects the core engine, like a debugger or such. Most likely you don't have such an extension enabled. Making this a doc issue as the documentation isn't clear about the fact that, get_loaded_extensions(true) lists Zend exts only. ------------------------------------------------------------------------ [2010-08-30 11:50:05] satya61229 at gmail dot com Why to merge the array returned by get_loaded_extensions(true), if it returns nothing. get_loaded_extensions(true) returned me empty array on both WinXP and Win7. And if I follow your solution, how to get Zend extensions only as discussed in manual? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=52715 -- Edit this bug report at http://bugs.php.net/bug.php?id=52715&edit=1

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