|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-02 13:23 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
Description: ------------ i don't know if this is a bug or not, but it seems that php doesn't allow for $class::method(arg), this might be done using call_user_func but, it's simply annoying Reproduce code: --------------- <?php class test { final static function testing() { echo 'hello'; } } $class = 'test'; $class::testing(); ?> Expected result: ---------------- hello Actual result: -------------- unexpected T_PAAMAYIM_NEKUDOTAYIM or something like that :D