Re: Basic types hinting and variable hinting
| From: | Derick Rethans | Date: | Mon, 10 Jan 2005 20:58:19 +0000 |
| Subject: | Re: Basic types hinting and variable hinting | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14330@lists.php.net to get a copy of this message | ||
On Mon, 10 Jan 2005, Leonardo Pedretti wrote:
> Are there any plans to include type hinting with basic types and type hinting
> for variables? (such as optional declaration)
There are no such things planned, except for "array" afaik.
> It would be useful to declare the type of a data member of a class, for
> example, for automation of data fetching from SQL databases or such things.
That is *definitely* not on the list - PHP is weakly typed and will
remain so.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org