ProCacheTests::urlTest() method
Test given URL and return verbose array
Usage
// basic usage
$array = $tests->urlTest(string $url);
// usage with all arguments
$array = $tests->urlTest(string $url, bool $head = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$url | string | URL to test |
$head (optional) | bool | Use HEAD request method rather than GET Default:false |
Return value
arrayVerbose array of test results
API reference based on ProcessWire core version 3.0.252