Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()

From: Date: Thu, 29 May 2014 22:54:48 +0000
Subject: Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74648@lists.php.net to get a copy of this message
On Thu, 29 May 2014, Sara Golemon wrote: > Pretty straight-forward. Makes it easier to recreate a function > signature from PHP (Mocking) > https://wiki.php.net/rfc/reflectionparameter.typehint I don't think it should return an empty string when hasTypehint has failed (the 4th "test") in your test case (for $d). IMO, it should return NULL. cheers, Derick

« previous php.internals (#74648) next »