[SPIP] PUBLIE : | !=={a}

SPIP

Article validé

L’article « | !=={a} (|!=={a} - SPIP) » vient
d’être publié par George.


| !=={a}

samedi 15 juillet 2023 , par jack

The |!=={value} filter is used to check whether the filtered element is
not identical to the value, i.e. whether it has a different value or a
different PHP type.

Unlike the |!={value} filter, the type of the 2 elements is tested : this
can be useful when the values being compared are potentially equal
according to ’==’ but of different types. For example, the boolean
false and the empty string.


See also filter |!={a}
(SPIP)

— Envoyé par SPIP (https://www.spip.net/)

rubon199-7e493.jpg