php.net |  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
Votes:7
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:
MUST BE VALID
Solve the problem:
40 + 42 = ?
Subscribe to this entry?

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

[1] <https://externals.io/message/110741>
[2] <https://wiki.php.net/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC