PHP · Question 11 of 12

After a change in additional.php the whole website shows an error. A semicolon is missing in the changed line. Why is everything affected at once?

1 answer is correct. Hard

Show answer

Answer

  • C The file is loaded on every request, the parse error stops PHP

Explanation

additional.php is read on every request. A parse error aborts execution before TYPO3 can output anything. Therefore check changes beforehand, for example with php -l.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications