Edit report at https://bugs.php.net/bug.php?id=53391&edit=1

 ID:                 53391
 Updated by:         bj...@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

Reply via email to