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
