Re: [PHP-DEV] Type casting syntax

This is only part of a thread. view whole thread
  115418
July 12, 2021 21:00 maxsem.wiki@gmail.com (Max Semenik)
On Mon, Jul 12, 2021 at 11:20 PM Mike Schinkel <mike@newclarity.net> wrote:

> It seems you have just illustrated why in reality we really do not need > type casting/assertions in PHP given its current features, because we > already have what we need. >
Heh, nope - you asked for handling of such cases without exceptions, I obliged. My plans were around different usage scenarios. In any case, I'm not making a proposal at this point, I'm just enquiring about syntax. If I ever get something proposable done, I'll make a formal RFC. -- Best regards, Max Semenik