-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Create Laravel version with type hint and strict types #15093
Comments
I don't think Laravel will ever be going down this route. Not really by decision though. NB There are plenty of PHP 5 compatible places that could be repainted that aren't already. |
Laravel will probably be moving to PHP 7 soon anyway, so no messing about with backporting needed. (soon as in soon enough this stuff's not going to be a concern) |
@taylorotwell time to reconsider type hints & strict types? :) |
old laravel/ideas tickets linked to this: laravel/ideas#2561 |
for googlers: discussion here: #36595 |
I think it's time to use PHP 7 features like strict types in new Laravel versions. Also you can transmit code via some compiler, that will produce PHP 5.6 compatible code as alternative.
The text was updated successfully, but these errors were encountered: