added === operator support (type *and* value match) . samples:

(1 == "1") is true
(1 === "1") is false (integer != string)
(0 == false) is true
(0 === false) is false (integer != boolean)
This commit is contained in:
Thies C. Arntzen 1999-10-19 16:00:57 +00:00
parent 816627b16c
commit 65b152948e

1
NEWS
View File

@ -3,6 +3,7 @@ PHP 4.0 NEWS
?? ?? 1999, Version 4.0 Beta 3
- added === operator support. (Andi & Thies, Zend library)
- unserialize() now gives a notice when passed invalid data. (Thies)
- Fixed shuffle() so that it no longer breaks on Solaris. (Andrei)
- Added is_resource(), is_bool() functions. (Thies)