From 2b75736aca5ccd4ce6151e4216a6df7f9f64a084 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Thu, 22 Oct 2009 15:20:12 +0000 Subject: [PATCH] extension_loaded is case insensitive from PHP5+. Fix bug#49941 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289852 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/extension-loaded.xml | 37 +++++++++++++------ 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/reference/info/functions/extension-loaded.xml b/reference/info/functions/extension-loaded.xml index 953449f75a..655153d046 100644 --- a/reference/info/functions/extension-loaded.xml +++ b/reference/info/functions/extension-loaded.xml @@ -87,17 +87,32 @@ if (!extension_loaded('gd')) { - - &reftitle.notes; - - - extension_loaded uses the internal extension name - to test whether a certain extension is available or not. Most internal - extension names are written in lower case but there may be extension - available which also use uppercase letters. Be warned that this - function compares case sensitive ! - - + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.0.0 + + extension_loaded uses the internal extension name + to test whether a certain extension is available or not. Most internal + extension names were written in lower case but there may be extensions + available which also use uppercase letters. Prior to PHP 5, this function + compared the names case sensitively. + + + + + +