Welcome to JobsCaptain. We hope you are all doing well. This article is designed to suit the needs of students / professionals who intend to prepare for interview calls on PHP.
Such a frantic search consumes a lot of time & energy, as it requires goes through huge volume of PHP Technology. So in order to solve this dilemma we come up with PHP INTERVIEW QUESTIONS WITH ANSWERS, which will equipped to deal with such problems.
Often for the purpose of preparing you to struggle to look for important topics & browse through some voluble concepts, which you feel might be asked in an interview.
General PHP Interview Questions
There is given general Php interview questions with answers that have been asked in many companies. Let’s see the list of top core PHP interview questions.
What is PHP?
What does the initials of PHP stand for?
Which programming language does PHP resemble to?
What does PEAR stands for?
Differences between GET, POST and REQUEST methods ?
What are the different errors in PHP?
What is session and why do we use it?
How to set a page as a home page in a php based site?
What is the difference between $message and $$message?
Differences between GET and POST methods ?
What is htaccess? Why do we use this and Where?
List out some tools through which we can draw E-R diagrams for mysql.
How can PHP and HTML interact?
Advance Php Interview Questions with Answers
Team JobsCaptain provided here are some PHP interview questions and answers for experienced developers (while also covering some beginner concepts).
What is meant by urlencode and urldecode?
How can I execute a PHP script using command line?
How the result set of Mysql be handled in PHP?
What is ORM?
What is dispatcher in Zend?
What is Bootstrap in Zend?
What is New Relic. What is benefits of this software?
What is Apdex?
What is the use of rand() in php?
What is mean by an associative array?
What is sql injection ?
Quote from CGI FAQ.
What is the functionality of the function htmlentities?
How can we convert the time zones using PHP?
What does accessing a class via :: means?
Is it possible to protect special characters in a query string?
Whether PHP supports Microsoft SQL server ?
What is CURL?
How to create unique random password?
Php Functions Question Answer
Given below is the list of most popular PHP Functions interview questions and answers, which are commonly asked in the interviews.
How we know the total number of elements of Array?
What is the difference between explode() and split() functions?
How to strip whitespace (or other characters) from the beginning and end of a string?
How to find the length of a string?
What is the use of isset() in php?
What is the use of “ksort” in php?
How to delete a file from the system in Php?
What is the use of “echo” in php?
How to include a file to a php page?
require_once(), require(), include().What is difference between them?
What is the use of ‘print’ in php?
What is use of in_array() function in php ?
What is use of count() function in php ?
What is use of header() function in php ?
What are the different functions in sorting an array?
What is the use of the function ‘imagetypes()’?
What is the difference between mysql_fetch_object() and mysql_fetch_array()?
What are encryption functions in PHP?
Code Questions Answers
Do you want to learn or test your PHP skills for an interview? Here we provided Php code questions that commonly asked in giant IT Company. Core PHP interview questions with detailed answers and code samples.
How to destroy one session?
How to delete a php file from server?
How to convert array to json in php?
How to call constructor of parent class?
How to create a session, set a value in session and how to Remove data from a session?
How do you connect mysql database with PHP ?
How can we extract string “pcds.co.in ” from a string
“http://[email protected] using regular expression of PHP?
Suppose your Zend engine supports the mode <? ?> Then how can you configure your PHP Zend engine to support <?PHP ?> mode ?
How we get IP address of client, previous reference page etc?
How can we encrypt and decrypt a data present in a MySQL table using MySQL?
How can we get the browser properties using PHP?
Frequently Asked Questions
Here we Listed of Most Frequently Asked PHP Interview Questions with detailed Answers and Code Examples for Freshers and Experienced Candidates.
Rasmus Lerdorf is known as the father of PHP.
PHP 5 presents many additional OOP (Object Oriented Programming) features.
Some interesting things, you can do in PHP. Also, there are a lot of hidden features like you can create .png image for games, create a .pdf files, GTK applications and much more.
exit() function which stops the current php script (Execution of the page).
The following code can be used for it,
Yes variable name casesensitive in Php.
Inserts HTML line breaks (<br/>) before all newlines in a string.
We can create MySQL database with the use of mysql_create_db(“Database Name”)
by changing the following setup at php.inimax_execution_time = 30; Maximum execution time of each script, in seconds.
Visit regular our JobsCaptain.
Thanks For choosing this Php interview questions with answers article. If you liked please share with your friends.