Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reassigning $this should fail on parameters #3940

Closed
SiebelsTim opened this issue Oct 9, 2014 · 1 comment
Closed

reassigning $this should fail on parameters #3940

SiebelsTim opened this issue Oct 9, 2014 · 1 comment

Comments

@SiebelsTim
Copy link
Contributor

http://3v4l.org/Dg2Ds

Using $this as a parameter should fail with a fatal error. We already fail on trying to overwrite $this normally, but we do not when it is used as a parameter. It won't get overwritten though (http://3v4l.org/6FPrl)

@afaltz
Copy link

afaltz commented Oct 11, 2014

I'm working on this =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants