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

From: Date: Mon, 09 Jun 2014 14:47:46 +0000
Subject: Re: [RFC] ReflectionParameter::hasTypehint() / getTypehintText()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74802@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 On your updated proposal, there is a comment on how class names should be returned. Right now, the test case only tests for "StdClass", but I also think you should have a look at namespaced classes, and full qualified class names in tests. I think that might show class names should be returned with a \ in front of it. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine

« previous php.internals (#74802) next »