|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2010-12-21 19:38 UTC] johannes@php.net
-Package: Feature/Change Request
+Package: Scripting Engine problem
[2011-09-15 09:01 UTC] pulzarraider at gmail dot com
[2015-01-08 22:40 UTC] ajf@php.net
-PHP Version: 5CVS-2004-01-23 (dev)
+PHP Version: 7.0
[2015-01-08 22:40 UTC] ajf@php.net
[2015-08-19 19:14 UTC] sean at siobud dot com
[2015-12-23 19:55 UTC] seander@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: seander
[2015-12-23 19:55 UTC] seander@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 23:00:01 2025 UTC |
Description: ------------ It is not possible to use visibility modificator like public/protected/private on a class constant. Reproduce code: --------------- php -r "class fubar { protected const some_const = 123; }" Actual result: -------------- PHP Parse error: parse error, unexpected T_CONST, expecting T_VARIABLE in Command line code on line 1