I need to print curl version using this documnts :
<?PHP echo curl_version('version');?>
but my output is empty! how do can i print version number of curl?
I need to print curl version using this documnts :
<?PHP echo curl_version('version');?>
but my output is empty! how do can i print version number of curl?
print_r(curl_version()); // remove your unexpected parameter
// also it returns an array , don't use echo.
Edit after the comment
$values=curl_version();
echo $values["version"];
P.S: Of course you need to have cURL
installed and enabled first.