|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63924 Allow const definitions for traits
Submitted: 2013-01-07 01:54 UTC Modified: 2021-09-30 16:43 UTC
Avg. Score:4.4 ± 0.7
Reproduced:5 of 6 (83.3%)
Same Version:3 (60.0%)
Same OS:2 (40.0%)
From: bitluni at bitluni dot net Assigned:
Status: Suspended Package: Class/Object related
PHP Version: 5.4.10 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
37 - 13 = ?
Subscribe to this entry?

 [2013-01-07 01:54 UTC] bitluni at bitluni dot net
const definitions are currently not supported in traits.
It would be very useful.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-30 16:43 UTC]
-Status: Open +Status: Suspended
 [2021-09-30 16:43 UTC]
This would require an RFC[1].  Anybody is welcome to pursue the
RFC process[2].  For the time being, I suspend this ticket.

[1] <>
[2] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 06:01:28 2024 UTC