Код: Выделить всё
$a = array("red","green","blue","yellow");
$b = [];
Код: Выделить всё
for ($x = 0; $x
Подробнее здесь: [url]https://stackoverflow.com/questions/79334026/php-put-an-array-into-one-of-the-elements-in-another-array[/url]Код: Выделить всё
$a = array("red","green","blue","yellow");
$b = [];
Код: Выделить всё
for ($x = 0; $x
Подробнее здесь: [url]https://stackoverflow.com/questions/79334026/php-put-an-array-into-one-of-the-elements-in-another-array[/url]