When I call my Api with one id everything is ok but when I try with multiple parameters (ex. /users/1,2,3) I got an error: "A non well formed numeric value encountered"
Is it possible to use PHP7 types with Lumen? I would like to avoid using a string and explode it to retrieve my ids.
That parameter you give to the function is not a valid integer so it will never work like that.. You either need to explode the string or pass them in another way to your controller.
Right now PHP is retrieving the value 1,2,3 in the show method, this is not an integer and therefore you get an error.