Jelix 1.7.18

Utilities.php

Tags
subpackage

utils

author

Laurent Jouanneau

copyright

2021-2023 Laurent Jouanneau

see
https://jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

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
Return values
bool

utf8_decode()

utf8_decode(mixed $str) : mixed
Parameters
$str : mixed
Return values
mixed

utf8_encode()

utf8_encode(mixed $str) : mixed
Parameters
$str : mixed
Return values
mixed

Search results