Doc #78785 [NEW]: ReflectionType::getName() is undocumented

From: Date: Tue, 05 Nov 2019 23:35:13 +0000
Subject: Doc #78785 [NEW]: ReflectionType::getName() is undocumented
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17045@lists.php.net to get a copy of this message
From: eric at ericstern dot com Operating system: n/a PHP version: Irrelevant Package: Unknown/Other Function Bug Type: Documentation Problem Bug description:ReflectionType::getName() is undocumented Description: ------------ --- From manual page: https://php.net/class.reflectiontype --- As of 7.1.0, ReflectionType::__toString() has been deprecated. There appears to be a getName() method which functions as a replacement, but it is both completely undocumented and not even visible by use of the reflection APIs. The getName() method either should be documented (another bug suggests it was intentionally removed), or a suitable equivalent should be exposed and documented. As it is, the ReflectionType class is completely useless without having some way to access the type it represents. -- Edit bug report at https://bugs.php.net/bug.php?id=78785&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78785&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78785&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78785&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78785&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78785&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78785&r=support Expected behavior: https://bugs.php.net/fix.php?id=78785&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78785&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78785&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78785&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78785&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78785&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78785&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78785&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78785&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78785&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78785&r=mysqlcfg

« previous php.doc.bugs (#17045) next »