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

No use strict easter egg #4556

Closed
hikari-no-yume opened this issue Jan 1, 2015 · 2 comments
Closed

No use strict easter egg #4556

hikari-no-yume opened this issue Jan 1, 2015 · 2 comments

Comments

@hikari-no-yume
Copy link

<?php
use strict;

From PHP 5.4 onwards, this produces the following error:

Fatal error: You seem to be trying to use a different language... in /in/WY1Vs on line 3

Yet HHVM produces no error. Perhaps it should have something like "Fatal error: Why not try Hack instead?" ;)

Also, shhh. This is supposed to be seeekrit.

@fredemmott
Copy link
Contributor

I don't think we'll get to this any time soon; we'd appreciate it if you'd send a pull request :)

@hikari-no-yume
Copy link
Author

I may get round to that at some point.

Majkl578 added a commit to Majkl578/hhvm that referenced this issue Jan 14, 2015
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.

2 participants