© Copyright 2015 - 2025
Privacy PolicyWebsite Terms1
What's the difference between the include() and require() functions?
2
What's the difference between unset() and unlink()
3
What are references in PHP? What will the values of x and y be after executing the following code?$x = '7';
$y = &$x;
$y = "3$x";
$x = '7';
$y = &$x;
$y = "3$x";4
What is the difference between errors and exceptions in PHP?
5
What is the difference between GET and POST requests?
6
Why would you use === instead of ==?
7
What would 042 == 42 return?
8
What's the difference between array() and []?
9
What is the difference between single-quoted string ('text') and double- quoted string ("text")?
10
What's the difference between AND and &&?
11
What is the difference between echo and print in PHP?
12
What will this function return?$str = 'PHP is my language.';
if (strpos($str, 'PHP')) {
return true;} else {return false;}
$str = 'PHP is my language.';
if (strpos($str, 'PHP')) {
return true;} else {return false;}13
When is the warning 'Warning: Cannot modify header information – headers already sent' triggered?
14
What are the __construct() and __destruct() methods in a PHP class?
15
What are the 3 scope levels available in PHP and how would you define them?
16
What is the use of final keyword?
17
Does PHP support multi-inheritance?
18
What are Traits?
19
What is the difference between an interface and an abstract class?
20
What is the difference between self and static keywords when used for calling static methods in a class?
21
What is SQL Injection and how to prevent it?
22
What is PSR?
23
Have you used Composer? What is it about?
24
What is a Repository Design Pattern? When is it used?
25
What other design patterns have you used?
Join 5K+ tech leaders
Stay up to date with Software Engineering, Distributed Teams, Agile Talent, and Future of Work content
No spam. Just great articles & insights
Thank you!
You have successfully subscribed.
Ready to start?
Get in touch or schedule a call.
