[SPIP] Proposé : | !=={a}

SPIP

Article proposé

L’article « | !=={a}
(SPIP) » est proposé
à la publication depuis le lundi 3 juillet 2023.


| !=={a}

lundi 3 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/)