Код: Выделить всё
Array ( [0] => Open Sans [1] => Wellfleet [2] => Rambla [3] => Dosis [4] => Noto Sans [5] => Domine [6] => Signika Negative [7] => Arvo [8] => Neuton [9] => Rufina [10] => Tinos [11] => Podkova [12] => Magra [13] => Bitter [14] => Anton [15] => Libre Baskerville [16] => Tienne [17] => Roboto [18] => Ruda [19] => Merriweather [20] => Amaranth [21] => Playfair Display SC [22] => Cinzel Decorative [23] => Nobile [24] => Volkhov [25] => Nunito [26] => Merriweather Sans [27] => Stardos Stencil [28] => Bree Serif )
Код: Выделить всё
$heading_fonts = sort($heading_fonts);
Код: Выделить всё
$heading_fonts = array_combine($heading_fonts, $heading_fonts);
Код: Выделить всё
Warning: array_combine() expects parameter 1 to be array, boolean given in...
Подробнее здесь: https://stackoverflow.com/questions/201 ... f-an-array