|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-08-05 19:50 UTC] dmitry@php.net
-Assigned To:
+Assigned To: dmitry
[2019-08-05 19:56 UTC] dmitry@php.net
[2019-08-05 19:56 UTC] dmitry@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
Description: ------------ Default values of constant static properties may be preloaded incorrectly. Test script: --------------- preload.inc ----------- <?php const CNST = 'aaaa'; class A { public static $a = CNST; } $a = \A::$a; ?> bug.php ------- <?php var_dump(\A::$a); ?> Expected result: ---------------- string(4) "aaaa" Actual result: -------------- UNKNOWN:0