rfc:enum_v2

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
Last revisionBoth sides next revision
rfc:enum_v2 [2020/05/16 16:20] – ++ maxsemrfc:enum_v2 [2020/05/16 18:07] – err maxsem
Line 5: Line 5:
   * Status: Draft   * Status: Draft
   * First Published at: http://wiki.php.net/rfc/enum_v2   * First Published at: http://wiki.php.net/rfc/enum_v2
 +
 +//Note: this is a counterproposal to [[rfc:enum|this RFC]]//
  
 ===== Introduction ===== ===== Introduction =====
Line 74: Line 76:
     baz = 1.5       // CompileError     baz = 1.5       // CompileError
 } }
 +
 +$x = 'this is a string';
 +$y = (foo)$x; // TypeError
 </code> </code>
  
Line 218: Line 223:
 ===== References ===== ===== References =====
 Links to external references, discussions or RFCs Links to external references, discussions or RFCs
-* https://wiki.php.net/rfc/enum - old proposal that wanted+* https://wiki.php.net/rfc/enum - old proposal that wanted to introduce 
  
 ===== Rejected Features ===== ===== Rejected Features =====
 Keep this updated with features that were discussed on the mail lists. Keep this updated with features that were discussed on the mail lists.
rfc/enum_v2.txt · Last modified: 2021/02/18 13:14 by ilutov