rfc:coercive_sth

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:coercive_sth [2015/03/11 15:00]
zeev Move to a vote
rfc:coercive_sth [2017/09/22 13:28] (current)
Line 3: Line 3:
   * Date: 2015-02-27   * Date: 2015-02-27
   * Authors: Zeev Suraski <​zeev@php.net>,​ Francois Laupretre <​francois@php.net>,​ Dmitry Stogov <​dmitry@php.net>​   * Authors: Zeev Suraski <​zeev@php.net>,​ Francois Laupretre <​francois@php.net>,​ Dmitry Stogov <​dmitry@php.net>​
-  * Status: ​Under discussion+  * Status: ​Rejected
   * First Published at: http://​wiki.php.net/​rfc/​coercive_sth   * First Published at: http://​wiki.php.net/​rfc/​coercive_sth
  
Line 129: Line 129:
   "​8.2"​ -> int           # "​8.2"​ cannot be converted to an integer without data loss   "​8.2"​ -> int           # "​8.2"​ cannot be converted to an integer without data loss
   4.3 -> bool            # No more conversion from float to bool   4.3 -> bool            # No more conversion from float to bool
-  "​foo"​ -> bool          # No more conversion from string to bool 
   "7 dogs" -> int        # Non-blank trailing characters no longer supported   "7 dogs" -> int        # Non-blank trailing characters no longer supported
   "3.14 pizzas"​ -> float # Non-blank trailing characters no longer supported ​   "3.14 pizzas"​ -> float # Non-blank trailing characters no longer supported ​
Line 180: Line 179:
 The voting choices are yes (in favor for accepting this RFC for PHP 7) or no (against it). The voting choices are yes (in favor for accepting this RFC for PHP 7) or no (against it).
 The RFC proposes a very substantial change to PHP's coercion rules, which may evolve to affect implicit typing in the future. The RFC proposes a very substantial change to PHP's coercion rules, which may evolve to affect implicit typing in the future.
-It absolutely requires a 2/3 majority, with the hope of reaching as close as possible to consensus.+It absolutely requires a 2/3 majority, with the hope of reaching as close as possible to consensus.  The vote starts on March 11th, and will end two weeks later, on March 25th.
  
-<doodle title="​coercive_sth"​ auth="​zeev"​ voteType="​single"​ closed="​false">+<doodle title="​coercive_sth"​ auth="​zeev"​ voteType="​single"​ closed="​true">
    * Yes    * Yes
    * No    * No
rfc/coercive_sth.1426086037.txt.gz · Last modified: 2017/09/22 13:28 (external edit)