Bug #53391 [NEW]: Scalar type hint reflection method name inconsistency
| From: | seva dot lapsha at gmail dot com | Date: | Tue, 23 Nov 2010 19:52:05 +0000 |
| Subject: | Bug #53391 [NEW]: Scalar type hint reflection method name inconsistency | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-156327@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: trunk-SVN-2010-11-23 (SVN)
Package: Reflection related
Bug Type: Bug
Bug description:Scalar type hint reflection method name inconsistency
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 bug report at http://bugs.php.net/bug.php?id=53391&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53391&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53391&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53391&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53391&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53391&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53391&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53391&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53391&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53391&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53391&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53391&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53391&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53391&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53391&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53391&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53391&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53391&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53391&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53391&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53391&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53391&r=mysqlcfg