PHP Curl

Sometimes you need to test php curl. You can use php -r to do this.
(Using parameter -r you can directly execute PHP code simply as you would do inside a .php)

# php -r '
> $ch = curl_init(); 
> curl_setopt($ch, CURLOPT_URL, "https://api.mailgun.net");
> curl_exec($ch);
> '