|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-01-22 14:21 UTC] svn@php.net
[2010-01-22 14:21 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
Description: ------------ Creating a new ReflectionFunction instance and then calling it's isDprecated function results in Fatal error: isDeprecated() cannot be called statically This is only an issue on PHP 5.2, testing on 5.3 and 6 produce the expected result. Reproduce code: --------------- <?php $rc = new ReflectionFunction('call_user_method'); var_dump($rc->isDeprecated()); ?> Expected result: ---------------- bool(true) Actual result: -------------- Fatal error: isDeprecated() cannot be called statically in C:\php5.2.12\test.php on line 3