Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /in/S99Up:9
Stack trace:
#0 [internal function]: {closure}('321', '123')
#1 /in/S99Up(5): array_udiff_assoc(Array, Array, Object(Closure))
#2 {main}
thrown in /in/S99Up on line 9
Process exited with code 255.
Output for 8.0.10 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /in/S99Up:9
Stack trace:
#0 [internal function]: {closure}('321', '123')
#1 /in/S99Up(10): array_udiff_assoc(Array, Array, Object(Closure))
#2 {main}
thrown in /in/S99Up on line 9
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, string given in /in/S99Up:9
Stack trace:
#0 [internal function]: {closure}('321', '123')
#1 /in/S99Up(10): array_udiff_assoc(Array, Array, Object(Closure))
#2 {main}
thrown in /in/S99Up on line 9
Process exited with code 255.
Warning: count(): Parameter must be an array or an object that implements Countable in /in/S99Up on line 9
array(2) {
["b"]=>
string(3) "321"
["c"]=>
array(1) {
["asdf"]=>
string(4) "asdf"
}
}