rfc:scalar_type_hinting_with_cast

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:scalar_type_hinting_with_cast [2014/09/13 23:31] ajfrfc:scalar_type_hinting_with_cast [2021/09/09 06:07] (current) – Fixed a typo in the First Published at URL heiglandreas
Line 1: Line 1:
 ====== Request for Comments: Scalar Type Hinting With Casts ====== ====== Request for Comments: Scalar Type Hinting With Casts ======
   * Version: 0.1.9.1   * Version: 0.1.9.1
-  * Date: 2012-07-03 (reopened 2014-07-13, latest update 2014-09-14)+  * Date: 2012-07-03 (reopened 2014-07-13, latest update 2014-09-14, withdrawn 2014-09-15)
   * Author: Anthony Ferrara <ircmaxell@php.net> (original)   * Author: Anthony Ferrara <ircmaxell@php.net> (original)
   * Contributors: Andrea Faulds <ajf@ajf.me> (current maintainer)   * Contributors: Andrea Faulds <ajf@ajf.me> (current maintainer)
-  * Status: In Voting (previously Withdrawn then reopened) +  * Status: Withdrawn (previously Withdrawn then reopened) 
-  * First Published at: http://wiki.php.net/rfc/scalar_type_hinting_with_casts+  * First Published at: http://wiki.php.net/rfc/scalar_type_hinting_with_cast
  
 ===== Introduction ===== ===== Introduction =====
Line 41: Line 41:
   * //int// - Matching integers only   * //int// - Matching integers only
   * //float// - Matching floating point numbers   * //float// - Matching floating point numbers
-  * //numeric// - Mathing integers and floating point numbers (to allow polymorphic functions dealing with numbers)+  * //numeric// - Matching integers and floating point numbers (to allow polymorphic functions dealing with numbers)
   * //bool// - Matching boolean parameters only   * //bool// - Matching boolean parameters only
   * //string// - Matching strings only   * //string// - Matching strings only
Line 128: Line 128:
  
 ===== Possible Changes ===== ===== Possible Changes =====
 +
 +For points I'm unsure on, this section lists possible future changes to the RFC.
  
 ==== Float to Int Casting Rules ==== ==== Float to Int Casting Rules ====
Line 268: Line 270:
 </file> </file>
  
-===== Vote =====+===== Proposed Voting Choices =====
  
 As this is a language change, a 2/3 majority is required. Voting started 2014-09-14 and ends 2014-09-21. As this is a language change, a 2/3 majority is required. Voting started 2014-09-14 and ends 2014-09-21.
  
-<doodle title="Accept the RFC and merge the Scalar Type Hinting with Cast patch into master?" auth="ajf" voteType="single" closed="false"> +It will be a straight Yes/No vote.
-   Yes +
-   * No +
-</doodle>+
  
 ===== More Information ===== ===== More Information =====
rfc/scalar_type_hinting_with_cast.txt · Last modified: 2021/09/09 06:07 by heiglandreas