current version (PHP 5.4.4). Behavior of PHP 5.4 WAS changed.
I intend to show evidence of breakage (backward incompatibility)
in PHP 5.4.4, not intend to write test code to be passed on PHP 5.4.4.
--
Oishi Kazuo
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
cd711685a592c52be200e248154283c6c49c9f8
zendi_smart_strcmp() and is_numeric_string[_ex]() are changed.
--
OISHI Kazuo
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
lity problem (2)
--FILE--
"0x");
var_dump("0x" <= "0x");
--EXPECT--
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(true)
bool(false)
bool(true)
==
--
OISHI K
at at least the right side is supposed
> to be float, not integer ...
In addition to == operator, >, <, >=, and <= operators are influenced.
And, hexdecimal format for big number is now case-sensitive.
http://www.mail-archive.com/internals@lists.php.net/msg58789.html
--
O
ompatible change should not be introduced in
major operators such as ==, anymore. But if behavior change is applied
to string comparison operator, it should be a natural extension of
current behavior; number-like string is compared as number, not as raw
string. (e.g. canonicalize string as number way before string match.)
--
OISHI Kazuo
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php