PHP-də faylların əlavə edilməsi

Tutaq ki, bizim bir faylımız var:

index.php<?php
  echo 'index';
?>

Tutaq ki, həmçinin ikinci bir fayl da var:

test.php<?php
  echo 'test';
?>

Gəlin ikinci faylin məzmununu birinciyə əlavə edək. Bu include operatoru vasitəsilə edilir:

index.php<?php
  include 'test.php';
  echo 'index';
?>

Eyni faylı istənilən sayda dəfə əlavə etmək olar:

index.php<?php
  include 'test.php';
  include 'test.php';
  include 'test.php';
  
  echo 'index';
?>
Задание 1

file1.php, file2.php, file3.php fayllarını hazırlayın. Onları əsas faylına əlavə edin.