Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, float given in /in/uhOuo:75
Stack trace:
#0 /in/uhOuo(86): poisson(1.1, 0)
#1 {main}
thrown in /in/uhOuo on line 75
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, float given in /in/uhOuo:75
Stack trace:
#0 /in/uhOuo(86): poisson(1.1, 0)
#1 {main}
thrown in /in/uhOuo on line 75
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, float given in /in/uhOuo:75
Stack trace:
#0 /in/uhOuo(86): poisson(1.1, 0)
#1 {main}
thrown in /in/uhOuo on line 75
Process exited with code 255.
Warning: count(): Parameter must be an array or an object that implements Countable in /in/uhOuo on line 75
1
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
11
1
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
01
2
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
32
3
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
26
4
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
524
5array(5) {
[0]=>
float(0.33287108369808)
[1]=>
float(0)
[2]=>
float(0.49930662554712)
[3]=>
float(0.11095702789936)
[4]=>
float(0.0693481424371)
}
Output for 7.3.32 - 7.3.33
Warning: count(): Parameter must be an array or an object that implements Countable in /in/uhOuo on line 75
111
101
232
326
4524
5array(5) {
[0]=>
float(0.33287108369808)
[1]=>
float(0)
[2]=>
float(0.49930662554712)
[3]=>
float(0.11095702789936)
[4]=>
float(0.0693481424371)
}
Output for 7.1.0 - 7.1.33
1
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
11
1
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
01
2
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
32
3
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
26
4
Notice: A non well formed numeric value encountered in /in/uhOuo on line 77
524
5array(5) {
[0]=>
float(0.33287108369808)
[1]=>
float(0)
[2]=>
float(0.49930662554712)
[3]=>
float(0.11095702789936)
[4]=>
float(0.0693481424371)
}