Deprecated: Optional parameter $opt declared before required parameter $params is implicitly treated as a required parameter in /in/gHCcI on line 2
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in /in/gHCcI:4
Stack trace:
#0 /in/gHCcI(9): f(1, 2, 3)
#1 {main}
thrown in /in/gHCcI on line 4
Process exited with code 255.
Output for 8.0.10 - 8.0.30
Deprecated: Required parameter $params follows optional parameter $opt in /in/gHCcI on line 2
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, int given in /in/gHCcI:4
Stack trace:
#0 /in/gHCcI(9): f(1, 2, 3)
#1 {main}
thrown in /in/gHCcI on line 4
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Deprecated: Required parameter $params follows optional parameter $opt in /in/gHCcI on line 2
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, int given in /in/gHCcI:4
Stack trace:
#0 /in/gHCcI(9): f(1, 2, 3)
#1 {main}
thrown in /in/gHCcI on line 4
Process exited with code 255.
Warning: count(): Parameter must be an array or an object that implements Countable in /in/gHCcI on line 4
$req: 1; $opt: 2; number of params: 1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/gHCcI on line 4
$req: 1; $opt: 2; number of params: 1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/gHCcI on line 4
$req: 1; $opt: 2; number of params: 1