rfc:binary_string_comparison
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:binary_string_comparison [2014/08/17 10:55] – sorting regular mabe | rfc:binary_string_comparison [2014/08/17 19:45] – Affected PHP Functionality mabe | ||
---|---|---|---|
Line 251: | Line 251: | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | Existing code that relies on the current behavior on non-strict string to string comparison will only produce the originally expected result if the string representation is the same. This can be easily resolved by explicitly casting one of the operands to an integer or float. | + | Existing code that relies on the current behavior on non-strict string to string comparison will only produce the originally expected result if the string representation is the same. This can be easily resolved by explicitly casting one of the operands to an integer or float respectively define the sorting algorithm. |
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
As this is a backwards-incompatible change, this RFC targets PHP.next. | As this is a backwards-incompatible change, this RFC targets PHP.next. | ||
- | ===== Open Issues ===== | + | ===== Affected |
- | How to note behavior change? | + | |
- | ... Is it enough to note it in the change-log or should we trigger a E_DEPRECATED/ | + | |
- | + | ||
- | ===== Unaffected | + | |
Only non-strict string to string comparison will be affected. | Only non-strict string to string comparison will be affected. | ||
+ | Means the operators '' | ||
===== Future Scope ===== | ===== Future Scope ===== | ||
Line 282: | Line 279: | ||
===== References ===== | ===== References ===== | ||
- | http:// | + | * http:// |
- | http:// | + | |
- | http:// | + | |
- | https:// | + | * http:// |
+ | * https:// | ||
===== Rejected Features ===== | ===== Rejected Features ===== | ||
None so far. | None so far. |
rfc/binary_string_comparison.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1