Mecha CMS

Helper functions.

ne

Not equal to.

2.2.0

ne($a, $b);

Example:

if (ne('abcdef', 5)) { … }
if (ne(['a', 'b', 'c', 'd', 'e', 'f'], 5)) { … }
if (ne(6, 5)) { … }

Note: The $a value will be passed through q function before being compared to the $b value.