rfc:nullsafe_calls
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:nullsafe_calls [2014/12/09 19:45] – jwatzman | rfc:nullsafe_calls [2014/12/09 22:12] – jwatzman | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Nullsafe Calls ====== | ====== PHP RFC: Nullsafe Calls ====== | ||
- | * Version: | + | * Version: 1.0 |
- | * Date: 2014-12-03 | + | * Date: 2014-12-09 |
* Author: Josh Watzman (jwatzman@fb.com), | * Author: Josh Watzman (jwatzman@fb.com), | ||
* Status: Draft | * Status: Draft | ||
Line 62: | Line 62: | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | Due to an implementation detail, this decreases the maximum number of arguments a function can be called with from '' | + | Due to an implementation detail, this decreases the maximum number of arguments a function can be called with from '' |
This is just a technicality... all of my attempts to actually hit that limit put my machine into swapdeath long before I got close :-P | This is just a technicality... all of my attempts to actually hit that limit put my machine into swapdeath long before I got close :-P | ||
+ | |||
+ | See also "RFC Impact To Existing Extensions" | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
Line 71: | Line 73: | ||
===== RFC Impact ===== | ===== RFC Impact ===== | ||
==== To Existing Extensions ==== | ==== To Existing Extensions ==== | ||
- | Do extensions | + | Extensions |
+ | |||
+ | If this impact is deemed too much, there are certainly other implementation options, which I think are less attractive. We could add a new '' | ||
==== New Constants ==== | ==== New Constants ==== | ||
Line 89: | Line 93: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | * php-src: I have a scratch | + | * php-src: I have a branch at https:// |
- | * PHP spec: nothing | + | * PHP spec: not yet, but will do if the RFC is accepted. |
* PHP docs: import Hack's documentation when they add it: https:// | * PHP docs: import Hack's documentation when they add it: https:// | ||
rfc/nullsafe_calls.txt · Last modified: 2020/08/03 10:09 by ilutov