diff --git a/templates/docs/php.html b/templates/docs/php.html index d975ff24..3cc64e1a 100644 --- a/templates/docs/php.html +++ b/templates/docs/php.html @@ -7,17 +7,13 @@

If you would like to setup timeout and retry options, as discussed in the reliability tips section, there is a curl package available that lets you do that easily:

-

```php startinline=True -use Curl\Curl;

-

$curl = new Curl(); -$curl->setRetry(20); -$curl->setTimeout(5); -$curl->get('PING_URL'); -```

-

:::php -use Curl\Curl; -$curl = new Curl(); -$curl->setRetry(20); -$curl->setTimeout(5); -$curl->get('PING_URL');

+
use Curl\Curl;
+
+$curl = new Curl();
+$curl->setRetry(20);
+$curl->setTimeout(5);
+$curl->get('PING_URL');
+
+ +

Note: this code never throws any exception.

\ No newline at end of file