Bug #52715 [Com]: Err in get_loaded_extensions() with true argument

From: Date: Mon, 30 Aug 2010 14:24:55 +0000
Subject: Bug #52715 [Com]: Err in get_loaded_extensions() with true argument
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4953@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 Comment by: Satya61229 at gmail dot com Reported by: satya61229 at gmail dot com Summary: Err in get_loaded_extensions() with true argument Status: Assigned 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: Thanks johannes @php.net. You are right. Sorry to trouble you all. Previous Comments: ------------------------------------------------------------------------ [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? ------------------------------------------------------------------------ [2010-08-30 11:01:43] pajoye@php.net Won't fix is the correct status. ------------------------------------------------------------------------ [2010-08-30 10:41:35] kalle@php.net Simply do: $extensions = array_merge(get_loaded_extensions(), get_loaded_extensions(true)); Its most likely we will never add such an option to get both when it can be done that easily in userland PHP code. ------------------------------------------------------------------------ [2010-08-27 08:55:55] satya61229 at gmail dot com Corrected the Package name ------------------------------------------------------------------------ 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 (#4953) next »