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 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
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