note 68862 deleted from function.get-loaded-extensions by betz

From: Date: Mon, 14 Aug 2006 09:16:17 +0000
Subject: note 68862 deleted from function.get-loaded-extensions by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-115886@lists.php.net to get a copy of this message
Note Submitter: DJ Echelon Reason: in docs ---- When you use dl() to load an extension, it won't be listed among the loaded extensions. So if you have a library file that does something like if (!extension_loaded("domxml")) dl((PHP_OS=="WINNT" OR PHP_OS=="WIN32") ? "ext.dll" : "ext.so"); to load the extension only if not loaded yet (ie. if you include the file multiple times) it will always try to load the extension, not just once. Moreover, dl() does not support include_path.

« previous php.notes (#115886) next »