[PHP-WEBMASTER] com web/php: Added in Mid-Atlantic Developer Conference CfP: archive/archive.xml archive/entries/2019-03-23-1.xml

2019-03-23 Thread Eli White
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:

Re: [PHP-WEBMASTER] New syntax proposal (type hinting)

2019-03-23 Thread Peter Kokot
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

[PHP-WEBMASTER] New syntax proposal (type hinting)

2019-03-23 Thread dj . drezyna
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.