Heim > Fragen und Antworten > Hauptteil
Beispiel
hat $a = 4,5,6
Ich möchte bekommen
$b = array(
4 => 1,
5 => 1,
Bitte gib mir etwas Rat
灭绝师太2020-11-09 09:52:09
PHP array_fill_keys(),extract()函数