tags:

views:

9

answers:

1

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
Thank you. Made a small mod to getModuleSetting I found in the link you mentioned and now I do have my one liner.
Majid