Usage


Empty

The following things are considered to be empty:

  • "" (an empty string)
  • 0 (0 as an integer)
  • 0.0 (0 as a float)
  • "0" (0 as a string)
  • NULL
  • FALSE
  • array() (an empty array)
  • $var; (a variable declared, but without a value)

Getters

These methods always return data, maybe EMPTY (as data), but never TRUE or FALSE as a result of the operation.
Getters lack the feature of isset.