Ask a Question related to PHP Bugs, Design and Development.
-
Ox41464b at satria dot web dot id #1
#40582 [NEW]: phpversion('extension_name') return false
From: Ox41464b at satria dot web dot id
Operating system: Irrelevant
PHP version: 4.4.5
PHP Bug Type: PHP options/info functions
Bug description: phpversion('extension_name') return false
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 bug report at [url]http://bugs.php.net/?id=40582&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40582&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40582&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40582&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40582&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40582&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40582&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40582&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40582&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40582&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40582&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40582&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40582&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40582&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40582&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40582&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40582&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40582&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40582&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40582&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40582&r=mysqlcfg[/url]
Ox41464b at satria dot web dot id Guest
-
#39009 [Opn]: phpversion('imap') return nothing
ID: 39009 User updated by: mad at dactar dot ch -Summary: phpinfo('imap') return nothing Reported By: mad at dactar... -
#25862 [Opn->WFx]: mail() always return FALSE
ID: 25862 Updated by: iliaa@php.net Reported By: thouraud at bondy dot ird dot fr -Status: Open +Status: ... -
#25862 [Fbk->Opn]: mail() always return FALSE
ID: 25862 User updated by: thouraud at bondy dot ird dot fr Reported By: thouraud at bondy dot ird dot fr -Status: ... -
#25862 [Opn->Fbk]: mail() always return FALSE
ID: 25862 Updated by: sniper@php.net Reported By: thouraud at bondy dot ird dot fr -Status: Open +Status: ... -
#25862 [NEW]: mail() always return FALSE
From: thouraud at bondy dot ird dot fr Operating system: solaris 9 PHP version: 4.3.3 PHP Bug Type: Mail related Bug... -
tony2001@php.net #2
#40582 [Opn->Bgs]: phpversion('extension_name') return false
ID: 40582
Updated by: [email]tony2001@php.net[/email]
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.
[url]http://php.net/phpversion[/url]
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 [url]http://bugs.php.net/?id=40582&edit=1[/url]
tony2001@php.net Guest
-
Ox41464b at satria dot web dot id #3
#40582 [Bgs]: phpversion('extension_name') return false
ID: 40582
User updated by: Ox41464b at satria dot web dot id
Reported By: Ox41464b at satria dot web dot id
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Irrelevant
PHP Version: 4.4.5
New Comment:
Looks like most of extensions loaded on mine is without Info
Should its reported to each extensions maintainer?
Code:
$e = get_loaded_extensions();
foreach($e as $ext_name)
{
$v = phpversion($ext_name);
if ($v) echo $ext_name . " version: ". $v;
else echo $ext_name . " version: Not avaiable";
}
Result:
xml version: Not avaiable
tokenizer version: 0.1
standard version: 4.4.4
sockets version: Not avaiable
session version: Not avaiable
posix version: Not avaiable
overload version: Not avaiable
mysql version: Not avaiable
mbstring version: Not avaiable
iconv version: Not avaiable
gettext version: Not avaiable
gd version: Not avaiable
ftp version: Not avaiable
curl version: Not avaiable
ctype version: Not avaiable
calendar version: Not avaiable
bcmath version: Not avaiable
zlib version: 1.1
pcre version: Not avaiable
openssl version: Not avaiable
apache version: Not avaiable
ionCube Loader version: Not avaiable
Zend Optimizer version: Not avaiable
Previous Comments:
------------------------------------------------------------------------
[2007-02-21 17:36:01] [email]tony2001@php.net[/email]
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.
[url]http://php.net/phpversion[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40582&edit=1[/url]
Ox41464b at satria dot web dot id Guest



Reply With Quote

