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

From: Date: Mon, 30 Aug 2010 09:01:43 +0000
Subject: Bug #52715 [Csd->Wfx]: Err in get_loaded_extensions() with true argument
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-153915@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: pajoye@php.net Reported by: satya61229 at gmail dot com Summary: Err in get_loaded_extensions() with true argument -Status: Closed +Status: Wont fix Type: Bug Package: PHP options/info functions Operating System: WinXP PHP Version: 5.3SVN-2010-08-27 (snap) Assigned To: kalle Block user comment: N New Comment: Won't fix is the correct status. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2010-08-27 08:47:48] satya61229 at gmail dot com Description: ------------ I got to know that get_loaded_extensions() has FALSE value as default argument. So, I got that I can use TRUE also to list Zend extensions. But for this value, it returns empty array. I tried this function on Win 7 OS also and result is same. Test script: --------------- $loaded = get_loaded_extensions(true); Expected result: ---------------- List of extensions loaded with the zend extension included. Actual result: -------------- Empty array ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52715&edit=1

« previous php.bugs (#153915) next »