PHP EXAM 2024 WITH 100% CORRECT ANSWERS
What language/languages is PHP derived from? - correct answer C and Perl - Predominantly from C and Perl for a lot of syntax, JAVA has been creeping in for some OOP syntax. How many different tags are there in PHP? - correct answer Five three of which are considered deprecated or bad practice. Which two tags are most commonly used in PHP? - correct answer ?php ? and ?= ? all others should be avoided or considered deprecated. True or False: Every character outside of PHP tags is copied as-is including newline characters? - correct answer True Are newline characters parsed in HTML? - correct answer No newline characters are ignored by browsers as they are non-semantic. Is it okay to output a newline character before any headers have been output? - correct answer No printing newline characters before all of the headers have been written to the output can cause unpleasant consequences. What happens to the first newline character after the closing PHP tag? - correct answer The first newline character after the closing PHP tag is stripped by the parser. What can be done to avoid spurious output from an include file? - correct answer To prevent spurious ou
Geschreven voor
- Instelling
- PHP
- Vak
- PHP
Documentinformatie
- Geüpload op
- 17 april 2024
- Aantal pagina's
- 4
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
php exam 2024 with 100 correct answers
Ook beschikbaar in voordeelbundel