Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $actionArguments = array();
- array_walk($router->currentRoute->getParams(), function ($value, $key) use (&$actionArguments) {
- $actionArguments[sprintf(':%s', $key)] = $value;
- });
- // Throws error: "Only variables should be passed by reference" Line - array_walk(...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement