Re: [RFC] Scalar Type Hints

From: Date: Thu, 01 Jan 2015 17:19:50 +0000
Subject: Re: [RFC] Scalar Type Hints
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-80064@lists.php.net to get a copy of this message
On Thu, Jan 1, 2015 at 9:44 AM, Thomas Bley <mails@thomasbley.de> wrote: > I think it is no problem to add strict parameter type hints with another rfc (if this rfc gets > accepted), e.g. function foobar(string! $str, int! $str){} or any other syntax. > I would rather have it the other way around. string $str is strict and some other syntax (notably (string) $str or @string $str) can be loose.

« previous php.internals (#80064) next »