Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

PHP Interviewfragen und Antworten

Test your skills through the online practice test: PHP Quiz Online Practice Test

Verwandte Vergleiche

PHP vs JSP

Frage 1. When are you supposed to use endif to end the conditional statement?

When the original if was followed by : and then the code block without braces.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 2. Explain the ternary conditional operator in PHP?

Expression preceding the ? is evaluated, if it's true, then the expression preceding the : is executed, otherwise, the expression following : is executed.
E.g $id = isset($_GET['id']) ? $_GET['id'] : false;

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 3. How do I find out the number of parameters passed into function?

func_num_args() function returns the number of parameters passed in.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 4. If the variable $a is equal to 5 and variable $b is equal to character a, what's the value of $$b?

100, it's a reference to existing variable.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Frage 5. What's the difference between accessing a class method via -> and via ::?

:: is allowed to access methods that can perform static operations, i.e. those, which do not require object initialization.

Ist das hilfreich? Kommentar hinzufugen Kommentare ansehen
 

Am hilfreichsten laut Nutzern:

Copyright © 2026, WithoutBook.