rfc:parse_str_alternative

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:parse_str_alternative [2021/08/06 19:37] dharmanrfc:parse_str_alternative [2022/05/21 14:03] (current) – Withdrawn dharman
Line 2: Line 2:
   * Date: 2021-06-23   * Date: 2021-06-23
   * Author: Kamil Tekiela <dharman@php.net>   * Author: Kamil Tekiela <dharman@php.net>
-  * Status: Discussion+  * Status: Withdrawn
   * Implementation: https://github.com/php/php-src/pull/7344   * Implementation: https://github.com/php/php-src/pull/7344
   * Target Version: PHP 8.2   * Target Version: PHP 8.2
Line 8: Line 8:
 ===== Introduction ===== ===== Introduction =====
  
-PHP offers a function for parsing query string into an array. The function historically has been a mockery as it allowed to register the values as global variables. Since PHP 8.0 this is no longer possible. The function still has two main downsides: a confusing name, and no return value (it returns by out parameter instead). +PHP offers a function for parsing query string into an array. The function, for historical reasons, has been designed to allow registering the values as global variables. Since PHP 8.0 this is no longer possible. The function still has two main downsides: a confusing name, and no return value (it returns by out parameter instead). 
  
 <PHP> <PHP>
Line 67: Line 67:
  
 ===== Discussion on internals ====== ===== Discussion on internals ======
 +https://externals.io/message/115546
  
rfc/parse_str_alternative.1628278663.txt.gz · Last modified: 2021/08/06 19:37 by dharman