PHP vazifa to'plami 8.2 Darajasi
Задание 1
Berilgan URL:
php$url = 'http://test.com/dir1/dir2/dir3/page.html';
Undan sahifa nomini oling:
php'page.html';
Задание 2
Raqamlarni o'z ichiga olgan massiv berilgan:
php[
[1, 2, 3],
[4, 5, 6],
[7, 8, 9],
]
Ushbu massiv elementlarini raqamlarga birlashtiring:
php[123, 456, 789]
Задание 3
Quyidagi piramidani ekranda chiqaring:
xx
xxxx
xxxxxx
xxxxxxxx
xxxxxxxxxx
xxxx
xxxxxx
xxxxxxxx
xxxxxxxxxx