Re: [RFC] Scalar Type Hints
| From: | Stanislav Malyshev | Date: | Fri, 02 Jan 2015 00:01:18 +0000 |
| Subject: | Re: [RFC] Scalar Type Hints | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80072@lists.php.net to get a copy of this message | ||
Hi!
> The problem is that the current proposed hints/casts are deviating from the
> type-hints that we are used to, therefore this particular feature should
Let's check the manual we're used to.
http://php.net/manual/en/function.substr.php
string substr ( string $string , int $start [, int $length ] )
What "string" and "int" mean there? How they work? What we're
"deviating" from?
--
Stas Malyshev
smalyshev@gmail.com