rfc:number_format_negative_zero

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:number_format_negative_zero [2017/04/01 15:26]
duncan3dc Created first version
rfc:number_format_negative_zero [2018/03/01 23:24] (current)
carusogabriel RFC was implemented in PHP 7.2
Line 4: Line 4:
   * Author: Craig Duncan <​php@duncanc.co.uk>​   * Author: Craig Duncan <​php@duncanc.co.uk>​
   * Proposed version: PHP 7.2   * Proposed version: PHP 7.2
-  * Status: ​Draft+  * Status: ​Implemented (in PHP 7.2)
  
 ===== Introduction ===== ===== Introduction =====
Line 33: Line 33:
  
 Simple Yes/No vote that doesn'​t change the language itself so requires 50% + 1 votes to get '​accepted'​. ​ Simple Yes/No vote that doesn'​t change the language itself so requires 50% + 1 votes to get '​accepted'​. ​
 +
 +<doodle title="​Prevent number_format() from returning negative zero" auth="​duncan3dc"​ voteType="​single"​ closed="​true">​
 +   * Yes
 +   * No
 +</​doodle>​
  
 ===== Implementation ===== ===== Implementation =====
  
-Code change+Pull request
-https://​github.com/duncan3dc/php-src/​commit/​cfebe4dd952e8487de613d6a96df94152248ffed +https://​github.com/​php/​php-src/​pull/2508
- +
-New Test: +
-https://​github.com/​duncan3dc/php-src/commit/8c323b887fb6b4a6cb2cd1819d333d9ca417b8b2+
  
 =====References ===== =====References =====
Line 47: Line 49:
 https://​externals.io/​thread/​522 https://​externals.io/​thread/​522
  
 +Discussion thread:
 +https://​externals.io/​thread/​800
 +
 +Voting thread:
 +https://​externals.io/​thread/​828
  
rfc/number_format_negative_zero.1491060393.txt.gz · Last modified: 2017/09/22 13:28 (external edit)