rfc:is_list

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
Last revisionBoth sides next revision
rfc:is_list [2021/01/06 00:26] tandrerfc:is_list [2021/01/07 01:24] – open vote tandre
Line 1: Line 1:
 ====== PHP RFC: Add array_is_list(array $array): bool ====== ====== PHP RFC: Add array_is_list(array $array): bool ======
-  * Version: 0.2+  * Version: 0.3
   * Date: 2020-12-19   * Date: 2020-12-19
   * Author: Tyson Andre <tandre@php.net>   * Author: Tyson Andre <tandre@php.net>
-  * Status: Under Discussion+  * Status: Voting
   * Implementation: https://github.com/php/php-src/pull/6070   * Implementation: https://github.com/php/php-src/pull/6070
   * First Published at: https://wiki.php.net/rfc/is_list   * First Published at: https://wiki.php.net/rfc/is_list
Line 58: Line 58:
  
  
-===== Proposed PHP Version(s) =====+===== Proposed PHP Version =====
 8.1 8.1
  
Line 107: Line 107:
 Additionally, a name of ''is_list'' may cause confusion with built-in list types such as ''SplDoublyLinkedList''. Additionally, a name of ''is_list'' may cause confusion with built-in list types such as ''SplDoublyLinkedList''.
  
-===== Proposed Voting Choices ===== +===== Vote ===== 
-Yes/No, requiring 2/3 majority+ 
 +Voting starts on 2021-01-06 and ends 2021-01-20 
 + 
 +This is a Yes/No vote, requiring 2/3 majority 
 + 
 +<doodle title="Add the function array_is_list(array $array): bool to PHP?" auth="tandre" voteType="single" closed="false"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== References ===== ===== References =====
Line 198: Line 206:
 ===== Changelog ====== ===== Changelog ======
  
-0.3: Change name and signature from ''is_array_and_list(mixed $value)'' to ''array_is_list(array $array)'' +  * 0.3: Change name and signature from ''is_array_and_list(mixed $value)'' to ''array_is_list(array $array)'' 
-0.2: Rename from ''is_list()'' to ''is_array_and_list()'', add references and more rejected features+  0.2: Rename from ''is_list()'' to ''is_array_and_list()'', add references and more rejected features
  
rfc/is_list.txt · Last modified: 2021/01/20 23:51 by tandre