How to dump everything known by cURL connection?

I have issue with my code connecting to API. I would like to ask that question there, but I’d like to know what’s going wrong.

How would I say “Dump everything you know about $ch”?

How would I var_dump() everything about this connection?

Looking for this?

Yes, but I hoped I could dump every flag at once.

If you don’t call it with an optional constant it returns an array.

Once you have the array you could var_dump it or loop through it just as you could with any array.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.