ID:               40582
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Ox41464b at satria dot web dot id
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Irrelevant
 PHP Version:      4.4.5
 New Comment:

If the optional extension parameter is specified, phpversion() returns
the version of that extension, 
**or FALSE if there is no version information associated** or the
extension isn't enabled.
http://php.net/phpversion


Previous Comments:
------------------------------------------------------------------------

[2007-02-21 17:30:10] Ox41464b at satria dot web dot id

Description:
------------
phpversion didnt works like it should

Reproduce code:
---------------
<?php
print_r(get_loaded_extensions());
var_dump(phpversion('gd'));
?>

Expected result:
----------------
others... except false

Actual result:
--------------
/*
Current Result:
Array
(
    [0] => xml
    [1] => tokenizer
    [2] => standard
    [3] => sockets
    [4] => session
    [5] => posix
    [6] => overload
    [7] => mysql
    [8] => mbstring
    [9] => iconv
    [10] => gettext
    [11] => gd
    [12] => ftp
    [13] => curl
    [14] => ctype
    [15] => calendar
    [16] => bcmath
    [17] => zlib
    [18] => pcre
    [19] => openssl
    [20] => apache
    [21] => ionCube Loader
    [22] => Zend Optimizer
)
bool(false)
*/



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40582&edit=1

Reply via email to