Suppose there is a condition
if (условие) { require_once 'raz.php'; } else { require_once 'dva.php'; } Will both files be connected? Or just the one that fits the condition? Does PHP request a file that is not needed by condition? Does he see him as
if (условие) { echo 'Первый'; } else { echo 'Второй'; } or how
if (условие) { echo 'Первый'; } else { require_once 'dva.php'; } When content raz.php:
echo 'Первый'; dva.php:
echo 'Второй';