国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

What is the format of the variables in the return value?
P粉757556355
P粉757556355 2024-04-06 21:55:20
0
1
2064

I am a new learner of php. I found a piece of code:

if($x < time()){
     return [false,'error'];
}

The logic or variables don't matter, but I don't understand how [false,'error'] works. Is it a boolean, an array, or...?

P粉757556355
P粉757556355

reply all(1)
P粉649990273

This is an array. It has two elements of two different types. The first element type is Boolean. The second element is a string.

Arrays in PHP can contain elements of different types.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template