array(2) {
[0]=>
&array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
[1]=>
string(3) "new"
}
array(2) {
[0]=>
NULL
[1]=>
string(3) "new"
}
Fatal error: Uncaught Error: Call to undefined function each() in /in/FWJna:21
Stack trace:
#0 /in/FWJna(55): foo::each(Array)
#1 {main}
thrown in /in/FWJna on line 21
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
array(2) {
[0]=>
&array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
[1]=>
string(3) "new"
}
array(2) {
[0]=>
NULL
[1]=>
string(3) "new"
}
Fatal error: Uncaught Error: Call to undefined function each() in /in/FWJna:21
Stack trace:
#0 /in/FWJna(55): foo::each(Array)
#1 {main}
thrown in /in/FWJna on line 21
Process exited with code 255.
Output for 7.4.0 - 7.4.33
array(2) {
[0]=>
&array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
[1]=>
string(3) "new"
}
array(2) {
[0]=>
NULL
[1]=>
string(3) "new"
}
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/FWJna on line 21
Warning: Variable passed to each() is not an array or object in /in/FWJna on line 21
Notice: Trying to access array offset on value of type null in /in/FWJna on line 22
array(2) {
[0]=>
&array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
[1]=>
string(3) "new"
}
array(2) {
[0]=>
NULL
[1]=>
string(3) "new"
}
Warning: Variable passed to each() is not an array or object in /in/FWJna on line 21
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.31
array(2) {
[0]=>
&array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
[1]=>
string(3) "new"
}
array(2) {
[0]=>
NULL
[1]=>
string(3) "new"
}
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/FWJna on line 21
Warning: Variable passed to each() is not an array or object in /in/FWJna on line 21
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/FWJna on line 57
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/FWJna on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/FWJna on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/FWJna on line 4
Process exited with code 255.