|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-09-25 22:08 UTC] nikic@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: nikic
[2020-09-25 22:08 UTC] nikic@php.net
[2020-09-25 22:15 UTC] zeriyoshi at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 01:00:01 2025 UTC |
Description: ------------ ReflectionType::__toString() deprecated in PHP 7.1.0, however PHP 8.0.0beta4 has'nt thrown E_DEPRECATED. This is probably a side effect of Stringable implementation. Test script: --------------- <?php error_reporting(E_ALL); function foo(string $bar){}; echo (new ReflectionFunction("foo"))->getParameters()[0]->getType(); Expected result: ---------------- Deprecated: Function ReflectionType::__toString() is deprecated in Command line code on line %n string Actual result: -------------- string