PHP Interview Questions

Question 01 :- What is PHP? Question 02 :- Advantages of using PHP? Question 03 :- What are popular frameworks in PHP? Question 04 :- What are popular Content Management System (CMS) in PHP? Question 05 :- What is the difference between "echo" and "print" in PHP? Question 06 :- How a variable is declared in PHP? Question 07 :- What is the difference between $message and $$message? Question 08 :- How to write JavaScript in PHP? Question 09 :- How show Javascript alert with PHP variable? Question 10 :- What is the difference between JavaScript and PHP? Question 11 :- How to show PHP errors on the same page? Question 12 :- What is the most used method for hashing passwords in PHP? Question 13 :- What are the different types of Array in PHP? Question 14 :- What is the Purpose of @ in PHP? Question 15 :- What are the different types of variables present in PHP? Question 16 :- How does the 'foreach' loop work in PHP? Question 17 :- What is the use of session_start() and session_destroy() function in PHP? Question 18 :- What are the different ways of handling the result set of MySQLi in PHP? Question 19 :- What are magic constants in PHP? Question 20 :- What are the different loops in PHP? Question 21 :- Explain some of the PHP string functions? Question 22 :- How we can define a static function in class and what are uses? Question 23 :- What is the exact difference between explode and implode? Question 24 :- Difference between $_POSTand $_REQUEST? Question 25 :- How we can change the response header? Question 26 :- What are the steps to create a new database using MySQL and PHP? Question 27 :- What is htaccess? Why do we use it and where? Question 28 :- Whare the constructor and destructor in PHP? Question 29 :- Is multiple inheritance is supported by PHP? Question 30 :- How to increase the execution time of PHP Script? Question 31 :- How to add 301 redirects in PHP? Question 32 :- Difference between include() and require() ? Question 33 :- What is the difference between "==" and "===" in PHP ? Question 34 :- How to register a variable in PHP Session ?

Comments

Popular posts from this blog

Php Interview Questions for Freshers

Singleton in PHP

db socket in mysql