PHP arrays explained

preview_player
Показать описание
#php #course #tutorial

00:00:00 intro
00:00:32 arrays
00:04:23 array functions
00:07:36 conclusion
Рекомендации по теме
Комментарии
Автор

<?php

$foods = array("apple", "orange", "banana", "coconut");

//$foods[0] = "pineapple";
//array_push($foods, "pineapple");
//array_pop($foods);
//array_shift($foods);
//$foods = array_reverse($foods);
//echo count($foods);

foreach ($foods as $food) {
echo $food . "<br>";
}
?>

BroCodez
Автор

my brain is just sparkling! thanks bro!

wandersonxavier