This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
ZendCode - allow const and property of same name #6274
Comments
Tested against head. The issue is still there, but the code example above doesn't work. Here is a new example that shows the issue:
Also note that |
steverhoades
added a commit
to steverhoades/zf2
that referenced
this issue
May 15, 2014
@Danack Please see my latest branch for this issue: https://github.com/steverhoades/zf2/tree/hotfix/6274. If you could please let me know if this resolves your issue I would appreciate it.
|
Hi Steve, Yep that branch works fine for this issue. cheers |
Ocramius
pushed a commit
that referenced
this issue
Jul 27, 2014
Handled in #6288 |
freax
pushed a commit
to freax/zf2
that referenced
this issue
Nov 27, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
PHP allows classes to have properties and consts of the same name, but ZendCode doesn't support this.
Outputs:
The text was updated successfully, but these errors were encountered: