Bug #53391 [Opn->Bgs]: Scalar type hint reflection method name inconsistency
| From: | bjori@php.net | Date: | Tue, 30 Aug 2011 12:55:45 +0000 |
| Subject: | Bug #53391 [Opn->Bgs]: Scalar type hint reflection method name inconsistency | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163149@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=53391&edit=1
ID: 53391
Updated by: bjori@php.net
Reported by: seva dot lapsha at gmail dot com
Summary: Scalar type hint reflection method name
inconsistency
-Status: Open
+Status: Bogus
Type: Bug
Package: Reflection related
PHP Version: trunk-SVN-2010-11-23 (SVN)
Block user comment: N
Private report: N
New Comment:
Scalar type hints got removed
Previous Comments:
------------------------------------------------------------------------
[2010-11-23 20:52:05] seva dot lapsha at gmail dot com
Description:
------------
Scalar type hint implementation introduces inconsistency in type naming.
The canonic name for float/double/real is float.
But the introduced method for them is ::isDouble().
@see http://php.net/manual/en/language.types.float.php
@see http://php.net/manual/en/function.is-float.php
@see http://php.net/manual/en/function.is-double.php
(alias)
@see http://php.net/manual/en/function.is-real.php
(alias)
@see http://php.net/manual/en/function.floatval.php
@see http://php.net/manual/en/function.doubleval.php
(alias)
@see http://php.net/manual/en/class.splfloat.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53391&edit=1