Utilities.php
Tags
Table of Contents
- is_resource() : bool
- Check if the given value is a resource or not.
- utf8_decode() : mixed
- utf8_encode() : mixed
Functions
is_resource()
Check if the given value is a resource or not.
is_resource(mixed $value) : bool
It take care about internal classes that replaced resources into PHP 8.0, like GdImage, CurlHandle etc..
Parameters
- $value : mixed
Tags
Return values
bool —utf8_decode()
utf8_decode(mixed $str) : mixed
Parameters
- $str : mixed
Tags
Return values
mixed —utf8_encode()
utf8_encode(mixed $str) : mixed
Parameters
- $str : mixed