How can an array after array_combine and data from a string be returned in a method in PHP?

how does PHP return both an array after array_combine and a string data in a method?

Php
May.10,2022

return [array_combine ($arr1, $arr2), $string];

outside the method

[$arr, $str] = func (); / / Note the version


assemble it into a large array, for example, upstairs; just take it apart with lise



function get(){
    $arr = [];
    $str = '';
    //
    return [$arr, $str];
}

[$list, $str] = get();  //PHP7
list($list, $str) = get();  //PHP7 
.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ccde-346f2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ccde-346f2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?