Skip to content

remove unnecessary is_null

Pavel Břoušek requested to merge github/fork/melanger/patch-2 into master

Created by: melanger

From PHP manual:

The following values 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)

Merge request reports