array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(6)
[2]=>
int(1)
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(1)
}
Deprecated: Return type of Foo::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Ae3mI on line 92
Deprecated: Creation of dynamic property Foo::$val is deprecated in /in/Ae3mI on line 90
Warning: Undefined array key 1 in /in/Ae3mI on line 32
Warning: Undefined array key 1 in /in/Ae3mI on line 46
Warning: Undefined array key 2 in /in/Ae3mI on line 46
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(0)
}
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
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(6)
[2]=>
int(1)
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(1)
}
Deprecated: Return type of Foo::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Ae3mI on line 92
Deprecated: Creation of dynamic property Foo::$val is deprecated in /in/Ae3mI on line 90
Warning: Undefined array key 1 in /in/Ae3mI on line 32
Warning: Undefined array key 1 in /in/Ae3mI on line 46
Warning: Undefined array key 2 in /in/Ae3mI on line 46
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(0)
}
Output for 8.1.0 - 8.1.28
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(6)
[2]=>
int(1)
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(1)
}
Deprecated: Return type of Foo::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/Ae3mI on line 92
Warning: Undefined array key 1 in /in/Ae3mI on line 32
Warning: Undefined array key 1 in /in/Ae3mI on line 46
Warning: Undefined array key 2 in /in/Ae3mI on line 46
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(0)
}
Output for 8.0.0 - 8.0.30
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(6)
[2]=>
int(1)
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(2) {
[0]=>
string(3) "ERR"
[1]=>
string(16) "DIVISION BY ZERO"
}
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(1)
}
Warning: Undefined array key 1 in /in/Ae3mI on line 32
Warning: Undefined array key 1 in /in/Ae3mI on line 46
Warning: Undefined array key 2 in /in/Ae3mI on line 46
array(3) {
[0]=>
string(3) "RAT"
[1]=>
int(0)
[2]=>
int(0)
}