Doc #76949 [Opn->Csd]: ReflectionType::__toString() not marked as deprecated
| From: | cmb@php.net | Date: | Sat, 29 Sep 2018 21:29:14 +0000 |
| Subject: | Doc #76949 [Opn->Csd]: ReflectionType::__toString() not marked as deprecated | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16025@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76949&edit=1
ID: 76949
Updated by: cmb@php.net
Reported by: nikic@php.net
Summary: ReflectionType::__toString() not marked as
deprecated
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Reflection related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2018-09-29 21:28:42] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=345735
Log: Fix #76949: ReflectionType::__toString() not marked as deprecated
------------------------------------------------------------------------
[2018-09-29 19:36:25] nikic@php.net
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 this bug report at https://bugs.php.net/bug.php?id=76949&edit=1