Mecha CMS

Helper functions.

gt

Greater than.

2.2.0

gt($a, $b);

Example:

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

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