Skip to Content

Deprecated

compare_operator()

Compare values using passed parameters.

PHP April 7, 2021

Deprecated

Usage

PHP
nebula()->compare_operator($a, $b, $c)

Parameters

$a
(Required) (Integer) The first value
Default: None

$b
(Required) (Integer) The second value
Default: None

$c
(Optional) (String) The comparison operator
Default: ==

Parameter Notes

Possible comparison operators include:

  • Equal: “=”, “==”, “e”
  • Greater than or Equal to: “>=”, “=>”, “gte”, “ge”
  • Less than or Equal to: “<=”, “=<“, “lte”, “le”
  • Greater than: “>”, “gt”
  • Less than: “<“, “lt”

Request or provide clarification »