note 45022 added to function.curl-version
| From: | clay at killersoft dot com | Date: | Mon, 23 Aug 2004 18:24:10 +0000 |
| Subject: | note 45022 added to function.curl-version | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75174@lists.php.net to get a copy of this message | ||
PHP 5.0.1 does NOT return a string for curl_version -- it instead returns an array in this format.
(Values are for my dev box at the time of this writing, your results will vary.)
Array
(
[version_number] => 461570
[age] => 1
[features] => 541
[ssl_version_number] => 9465935
[version] => 7.11.2
[host] => powerpc-apple-darwin6.8
[ssl_version] => OpenSSL/0.9.7d
[libz_version] => 1.1.3
[protocols] => Array
(
[0] => ftp
[1] => gopher
[2] => telnet
[3] => dict
[4] => ldap
[5] => http
[6] => file
[7] => https
[8] => ftps
)
)
----
Manual Page -- http://www.php.net/manual/en/function.curl-version.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45022
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45022&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45022&report=yes
Search -- http://master.php.net/manage/user-notes.php