Skip to Content
Menu

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 »

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!