rfc:nullable_return_types

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:nullable_return_types [2016/04/07 09:38] dmitryrfc:nullable_return_types [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 58: Line 58:
 </code> </code>
  
-==== Nullable Arguemnts without Default Values ====+==== Nullable Arguments without Default Values ====
  
 Usage of the same **?<type>** syntax for arguments (and later properties) is not the primary goal of this RFC, because arguments already may be declared as "nullable", using NULL default value (the same may be done for properties). It's also possible to add the same syntax for arguments as it was proposed in [[https://wiki.php.net/rfc/nullable_types|"Declaring Nullable Types" RFC]] Usage of the same **?<type>** syntax for arguments (and later properties) is not the primary goal of this RFC, because arguments already may be declared as "nullable", using NULL default value (the same may be done for properties). It's also possible to add the same syntax for arguments as it was proposed in [[https://wiki.php.net/rfc/nullable_types|"Declaring Nullable Types" RFC]]
rfc/nullable_return_types.1460021916.txt.gz · Last modified: 2017/09/22 13:28 (external edit)