Commit:f00d6c0d3554aca4f4cb661b17e5af977a8c7b97
Author:Eli White Sat, 23 Mar 2019 20:01:51 -0400
Parents: 9d9134acb0927f763bea7692514a33a59790806a
Branches: master
Link:
http://git.php.net/?p=web/php.git;a=commitdiff;h=f00d6c0d3554aca4f4cb661b17e5af977a8c7b97
Log:
Hello,
On Sat, 23 Mar 2019 at 19:45, dj.drezyna wrote:
>
> I wish have opportunity to set types not only like: function a(): string {}
> or function b(): ?string {} but also as: function c(): string | int {}
> or function d(): ?string | ?array {}// all of them should mark that null is
I wish have opportunity to set types not only like: function a(): string {}
or function b(): ?string {} but also as: function c(): string | int {} or
function d(): ?string | ?array {}// all of them should mark that null is
accepted. Similar thing is I suppose is in catch{} clause.