Jelix 1.8.9

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
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
Tags
Return values
mixed

Search results