RE: [PHP-DEV] [RFC] Type hints

From: Date: Sun, 09 May 2004 11:09:31 +0000
Subject: RE: [PHP-DEV] [RFC] Type hints
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-9756@lists.php.net to get a copy of this message
At 01:52 PM 5/9/2004 +0300, Stanislav Malyshev wrote:
WF>>In the class case it doesn't make sense, but for other types it does. We have typehints for other types? From current code I gathered an impression that zend_verify_arg_type() expects class name to be there. Anyway, why would you need typehints for scalar types?
There will be type hints for arrays too. Obviously, with PHP's dynamic typing we can't have type hints for scalar values. Andi

« previous php.internals (#9756) next »