rfc:const_scalar_exprs

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:const_scalar_exprs [2013/11/07 11:31] – => Under Discussion bwoebirfc:const_scalar_exprs [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== PHP RFC: Constant Scalar Expressions ====== ====== PHP RFC: Constant Scalar Expressions ======
-  * Version: 0.1 
   * Date: 2013-11-03   * Date: 2013-11-03
   * Author: Bob Weinand <bwoebi@php.net>   * Author: Bob Weinand <bwoebi@php.net>
-  * Status: Under Discussion+  * Status: Implemented in PHP 5.6
   * First Published at: https://wiki.php.net/rfc/const_scalar_exprs   * First Published at: https://wiki.php.net/rfc/const_scalar_exprs
     * This is a follow-up to https://wiki.php.net/rfc/const_scalar_expressions from Anthony Ferrara <ircmaxell@php.net> (which was without constant support)     * This is a follow-up to https://wiki.php.net/rfc/const_scalar_expressions from Anthony Ferrara <ircmaxell@php.net> (which was without constant support)
Line 158: Line 157:
 An implementation based off of current master is available: [[https://github.com/bwoebi/php-src/tree/const_scalar_exprs|Implementation On GitHub]] ([[https://github.com/bwoebi/php-src/compare/const_scalar_exprs|Diff On GitHub]]) An implementation based off of current master is available: [[https://github.com/bwoebi/php-src/tree/const_scalar_exprs|Implementation On GitHub]] ([[https://github.com/bwoebi/php-src/compare/const_scalar_exprs|Diff On GitHub]])
  
-The patch is ready to be merged. (Opcache support is already include, thanks to Dmitry)+The patch is ready to be merged. (Opcache support is included, thanks to Dmitry)
  
 ===== Note on implementation ===== ===== Note on implementation =====
  
 The implementation of the scalar expressions is based on an AST. That AST implementation eventually could be used later as a general-purpose AST for compiler with a few tweaks. The implementation of the scalar expressions is based on an AST. That AST implementation eventually could be used later as a general-purpose AST for compiler with a few tweaks.
 +
 +===== Vote =====
 +
 +<doodle title="Should the patch for this RFC be merged into PHP 5.6?" auth="bwoebi" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +
 +The vote started the 20th November 2013 and ended the 27th November 2013.
rfc/const_scalar_exprs.1383823900.txt.gz · Last modified: 2017/09/22 13:28 (external edit)