rfc:stable_sorting

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
rfc:stable_sorting [2020/05/12 10:34]
nikic created
rfc:stable_sorting [2020/06/17 09:28]
nikic
Line 2: Line 2:
   * Date: 2020-05-12   * Date: 2020-05-12
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Under Discussion+  * Status: Accepted
   * Target Version: PHP 8.0   * Target Version: PHP 8.0
   * Implementation: https://github.com/php/php-src/pull/5236   * Implementation: https://github.com/php/php-src/pull/5236
Line 110: Line 110:
  
 As described in the "Illegal comparison functions" section, comparison functions returning booleans instead of integers are deprecated and will no longer be supported in the future. As described in the "Illegal comparison functions" section, comparison functions returning booleans instead of integers are deprecated and will no longer be supported in the future.
 +
 +Tests that rely on the current sorting order may need to be adjusted. It should be noted that the impact is expected to be smaller than for the PHP 7.0 sorting order changes, because this time the order for small arrays (up to 16 elements) is not affected. These are also the ones that are more common in tests.
  
 ===== Vote ===== ===== Vote =====
  
-Yes/No.+Voting started 2020-06-03 and ends 2020-06-17. 
 + 
 +<doodle title="Make sorting in PHP stable?" auth="nikic" voteType="single" closed="true"> 
 +   Yes 
 +   No 
 +</doodle>
  
rfc/stable_sorting.txt · Last modified: 2020/06/25 09:57 by nikic