rfc:returntypehint2

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:returntypehint2 [2011/12/24 22:13] – [Patch] fitchwhrfc:returntypehint2 [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2011-12-13   * Date: 2011-12-13
   * Author: Will Fitch <will.fitch@gmail.com>   * Author: Will Fitch <will.fitch@gmail.com>
-  * Status: Under Discussion+  * Status: Withdrawn
  
  
Line 180: Line 180:
 ===== Patch ===== ===== Patch =====
  
-The downloadable patch below can be applied against PHP HEADAlternatively, I keep clone a of PHP in my own GitHub sandbox.  I have provided the link to it below.  Please take note of the branch name to see the right code. +The patch for this is now outdated and gone
- +
-Patch: http://www.willfitch.com/php/returntype.patch +
- +
-Github: https://github.com/fitchwh/php-src (returntype branch)+
  
  
Line 194: Line 190:
   - Updated to remove allowing NULL to be returned unconditionally when declaring return types   - Updated to remove allowing NULL to be returned unconditionally when declaring return types
   - Added a new patch which includes a "nullable" token for declaring a method may return null   - Added a new patch which includes a "nullable" token for declaring a method may return null
 +  - Updated the RFC to take "nullable" into account and replaced the old patch with the new functionality
  
rfc/returntypehint2.1324764813.txt.gz · Last modified: 2017/09/22 13:28 (external edit)