List Each
Fatal error: Uncaught Error: Call to undefined function each() in /in/8vie4:17
Stack trace:
#0 {main}
thrown in /in/8vie4 on line 17
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
List Each
Fatal error: Uncaught Error: Call to undefined function each() in /in/8vie4:17
Stack trace:
#0 {main}
thrown in /in/8vie4 on line 17
Process exited with code 255.
List Each
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /in/8vie4 on line 17
string(6) "value1"
string(6) "value3"
Array Shift
string(6) "value1"
string(6) "value3"
Current Next
string(6) "value1"
string(6) "value3"
Current Next w/key
string(4) "key1"
string(6) "value1"
string(4) "key3"
string(6) "value3"
Output for 5.6.38, 7.1.0 - 7.1.23, 7.3.32 - 7.3.33
List Each
string(6) "value1"
string(6) "value3"
Array Shift
string(6) "value1"
string(6) "value3"
Current Next
string(6) "value1"
string(6) "value3"
Current Next w/key
string(4) "key1"
string(6) "value1"
string(4) "key3"
string(6) "value3"