|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-14 17:11 UTC] felipe@php.net
-Status: Open
+Status: Bogus
[2010-05-14 17:11 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Feb 17 07:00:01 2026 UTC |
Description: ------------ When we call a static property with a dynamic class name, the call fails Test script: --------------- <?php class foo { public static $bar = 'OK'; } $foo = 'foo'; echo $foo::$bar; Expected result: ---------------- OK Actual result: -------------- syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ';' in /home/user/test.php on line 5