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

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!