rfc:remove_hex_support_in_numeric_strings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:remove_hex_support_in_numeric_strings [2015/01/03 19:50] nikicrfc:remove_hex_support_in_numeric_strings [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 2: Line 2:
   * Date: 2014-08-19   * Date: 2014-08-19
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Under Discussion +  * Status: Implemented (in PHP 7)
-  * Target version: PHP 7+
  
 ===== Introduction ===== ===== Introduction =====
Line 39: Line 38:
 var_dump('0x123' == '291'); // TRUE var_dump('0x123' == '291'); // TRUE
  
-var_dump((int) '0x123' == (int) '291')); // FALSE+var_dump((int) '0x123' == (int) '291'); // FALSE
 </code> </code>
  
Line 68: Line 67:
  
 As this is a language change a 2/3 majority is required. As this is a language change a 2/3 majority is required.
 +
 +The vote started on 2015-01-17 and ends on 2015-01-27.
 +
 +<doodle title="Remove hex support in numeric strings?" auth="nikic" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
  
rfc/remove_hex_support_in_numeric_strings.1420314642.txt.gz · Last modified: 2017/09/22 13:28 (external edit)