Name | Description | PHP versions |
---|---|---|
isLocalhost() | Returns true if the PHP script is running on localhost (either through Apache server or CLI), otherwise returns false. | 5.6+ 7.0+ |
file_get_contents_ssl($url) | Extension of function file_get_contents(). It supports: - HTTP/S requests, - GET/POST request types, - HTTP authentication, - cookies. |
5.6+ 7.0+ |
remoteFileExists($url) | Checks if a remote file exists. | 5.6+ 7.0+ |
convertAccentedCharacters($string) | Converts accented characters to ASCII. | 5.6+ 7.0+ |