Advertisement
Guest User

PHP RFC ASSIGN CALL OPERATOR

a guest
May 31st, 2020
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. [RFC]
  2. Title: Short syntax for assign call operator.
  3.  
  4. Intro: What is assign call operator? What does it do?
  5. It shortens, `$x = function($x)` to `$x ASSIGN_CALL_OPERATOR function`.
  6.  
  7. Possible syntax: (=) , &= , <-(), =()
  8.  
  9. function is anything that is callable.
  10.  
  11. Please give inputs on good name and good syntax, or any other constructive feedback.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement