You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
nissim94
changed the title
[PHP 7] Symfony 3.1.4 code 500 => default parameter's value error in the route
[PHP 7] Symfony 3.1.4 code 500 => default parameter's value error in the route #bug
Sep 6, 2016
javiereguiluz
changed the title
[PHP 7] Symfony 3.1.4 code 500 => default parameter's value error in the route #bug
Wrong variable types for route default parameters in PHP 7
Sep 6, 2016
In Symfony < 3.2, routing parameters are always of type string. #11394 introduced the ability to type routing parameters.
So you can use PHP 7's scalar type hints in your actions with Symfony 3.2+.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
This error has been catched when you have defined default value to a parameter of a route, and type in the url banner /platform/ .
Normally /platform/ equals to /platform but with PHP 7 not.
when you use php5 there is no problem
see the code >>
routing.yml
AdvertController.php
The text was updated successfully, but these errors were encountered: