note 113257 deleted from language.oop5.typehinting by Thiago

From: Date: Mon, 23 Sep 2013 21:05:11 +0000
Subject: note 113257 deleted from language.oop5.typehinting by Thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196359@lists.php.net to get a copy of this message
Note Submitter: Michael McNally ---- No type hinting for scalar values? Isn't that the most common use? I'm really astonished I cannot do this in PHP: class Student extends Person { public function getStudent(int id){ /* ... you can't use int type hints ... not quite C#... */ } }

« previous php.notes (#196359) next »