Doc #76949 [NEW]: ReflectionType::__toString() not marked as deprecated

From: Date: Sat, 29 Sep 2018 19:36:25 +0000
Subject: Doc #76949 [NEW]: ReflectionType::__toString() not marked as deprecated
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16024@lists.php.net to get a copy of this message
From: nikic Operating system: PHP version: Irrelevant Package: Reflection related Bug Type: Documentation Problem Bug description:ReflectionType::__toString() not marked as deprecated Description: ------------ The ReflectionType::__toString() has been deprecated in PHP 7.1 in favor of ReflectionNamedType::getName(). Due to some technical issues the method is not marked as deprecated in php-src, however it should be marked as deprecated in the documentation. See also this comment in the source code: https://github.com/php/php-src/blob/03ba053af0240daeff9fbde4d37de2565df65429/ext/reflection/php_reflection.c#L6521 -- Edit bug report at https://bugs.php.net/bug.php?id=76949&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76949&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76949&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76949&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=76949&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=76949&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=76949&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=76949&r=needscript Try newer version: https://bugs.php.net/fix.php?id=76949&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=76949&r=support Expected behavior: https://bugs.php.net/fix.php?id=76949&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=76949&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=76949&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=76949&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76949&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=76949&r=dst IIS Stability: https://bugs.php.net/fix.php?id=76949&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=76949&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=76949&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=76949&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=76949&r=mysqlcfg

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