Bug #74742 [Com]: ReflectionParameter::getType
| From: | spam2 at rhsoft dot net | Date: | Sun, 11 Jun 2017 07:37:08 +0000 |
| Subject: | Bug #74742 [Com]: ReflectionParameter::getType | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209471@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74742&edit=1
ID: 74742
Comment by: spam2 at rhsoft dot net
Reported by: pierre at lgse dot com
Summary: ReflectionParameter::getType
Status: Open
Type: Bug
Package: Reflection related
Operating System: CentOS
PHP Version: 7.0Git-2017-06-11 (Git)
Block user comment: N
Private report: N
New Comment:
Provide a code sample - I have written a fuzzy testsuite based on reflection and didn't face
such issurs6
Previous Comments:
------------------------------------------------------------------------
[2017-06-11 07:24:55] pierre at lgse dot com
Description:
------------
ReflectionParameter::getType should return "integer" and not "int" on a
constructor parameter of type "int".
The types returned by ReflectionParameter::getType and the gettype() function should be the same.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74742&edit=1