Output of the "Testing if an array is a list with PHP" PHP snippet
Environment:
- Strangebuzz Snippet VM: 4.0.0
- PHP: 8.2
Code execution output:
array(4) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(4)
[3]=>
int(8)
}
bool(true)
array(5) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(4)
[3]=>
int(8)
["foo"]=>
string(3) "bar"
}
bool(false)