null: Matches expected value and old value casted to bool.
(bool) true: Matches expected value and old value casted to bool.
(bool) false: Matches expected value and old value casted to bool.
(int) 1: Matches expected value and old value casted to bool.
(int) 0: Matches expected value and old value casted to bool.
(string) "1": Matches expected value and old value casted to bool.
(string) "0": Matches expected value and old value casted to bool.
(float) 1.0: Matches expected value and old value casted to bool.
(float) 0.0: Matches expected value and old value casted to bool.
(string) "true": Matches expected value and old value casted to bool.
(string) "false": Matches expected value and old value casted to bool.
empty string: Matches expected value and old value casted to bool.
string with only spaces: Matches expected value and old value casted to bool.
non-empty array: Matches expected value and old value casted to bool.
empty array: Matches expected value and old value casted to bool.
non-empty object: Matches expected value and old value casted to bool.
empty object: Matches expected value and old value casted to bool.
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
null: Matches expected value and old value casted to bool.
(bool) true: Matches expected value and old value casted to bool.
(bool) false: Matches expected value and old value casted to bool.
(int) 1: Matches expected value and old value casted to bool.
(int) 0: Matches expected value and old value casted to bool.
(string) "1": Matches expected value and old value casted to bool.
(string) "0": Matches expected value and old value casted to bool.
(float) 1.0: Matches expected value and old value casted to bool.
(float) 0.0: Matches expected value and old value casted to bool.
(string) "true": Matches expected value and old value casted to bool.
(string) "false": Matches expected value and old value casted to bool.
empty string: Matches expected value and old value casted to bool.
string with only spaces: Matches expected value and old value casted to bool.
non-empty array: Matches expected value and old value casted to bool.
empty array: Matches expected value and old value casted to bool.
non-empty object: Matches expected value and old value casted to bool.
empty object: Incorrect value.
-true
+false