rfc:fibers

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:fibers [2021/03/11 23:32] – Add note about future internal fiber API trowskirfc:fibers [2021/07/12 21:30] (current) kelunik
Line 3: Line 3:
   * Date: 2021-03-08   * Date: 2021-03-08
   * Authors: Aaron Piotrowski <trowski@php.net>, Niklas Keller <kelunik@php.net>   * Authors: Aaron Piotrowski <trowski@php.net>, Niklas Keller <kelunik@php.net>
-  * Status: Voting+  * Status: Implemented
   * First Published at: http://wiki.php.net/rfc/fibers   * First Published at: http://wiki.php.net/rfc/fibers
  
Line 49: Line 49:
  
 A Fiber would be represented as class which would be defined in core PHP with the following signature: A Fiber would be represented as class which would be defined in core PHP with the following signature:
 +
 +<blockquote>Fiber::this() has been renamed to Fiber::getCurrent() during the PHP 8.1 alpha release phase.</blockquote>
  
 <code php> <code php>
Line 586: Line 588:
 Voting started on 2021-03-08 and will run through 2021-03-22. 2/3 required to accept. Voting started on 2021-03-08 and will run through 2021-03-22. 2/3 required to accept.
  
-<doodle title="Add Fibers to PHP?" auth="trowski" voteType="single" closed="false">+<doodle title="Add Fibers to PHP?" auth="trowski" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/fibers.1615505563.txt.gz · Last modified: 2021/03/11 23:32 by trowski