Is there an equivalent to phpinfo() for libcurl?
+1
A:
The closest I think is:
phpinfo(INFO_MODULES);
and then use some regular expressions to extract curl info. Several examples can be found in the comments here http://php.net/manual/en/function.phpinfo.php
zaf
2010-05-18 16:08:47
Thank you. Made a small mod to getModuleSetting I found in the link you mentioned and now I do have my one liner.
Majid
2010-05-18 17:29:05