Q on Primitives

From: Date: Wed, 17 Dec 2008 22:57:34 +0000
Subject: Q on Primitives
Groups: php.internals 
Request: Send a blank email to internals+get-42313@lists.php.net to get a copy of this message
Don't want to take up much of you're time, just wondered if anybody could point me to the reason why some primitives aren't in php. Would find it very very useful to have byte, short, long, float, double and char in php. (primarily byte and char). while I'm here I may as well also ask about further adding type hinting for the existing scalars and array. and finally different method signatures such as: class Whatever { public function __construct(Bar b); public function __construct(Foo f); public function doSomething(Bar b); public function doSomething(Foo f); } Regards!

« previous php.internals (#42313) next »