* docs

* docs
This commit is contained in:
Dag 2025-01-26 21:24:33 +01:00 committed by GitHub
parent ae8394d976
commit 824ac5e373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 10 deletions

View file

@ -177,11 +177,9 @@ function getSimpleHTMLDOM(
}
/**
* Gets contents from the Internet as simplhtmldom object. Contents are cached
* Fetch contents from the Internet as simplhtmldom object. Contents are cached
* and re-used for subsequent calls until the cache duration elapsed.
*
* _Notice_: Cached contents are forcefully removed after 24 hours (86400 seconds).
*
* @param string $url The URL.
* @param int $ttl Cache duration in seconds.
* @param array $header (optional) A list of cURL header.