PHP Interview Questions

Latest PHP Interview Questions

Frequently asked PHP Interview Questions for interview.

Prepare the answers and memorize before attending the interview. All these questions are regularly asked ones and don’t miss these.

  • What’s PHP ?
  • difference between PHP4 and PHP5?
  • What Is a Session?
  • How can we register the variables into a session?
  • What is meant by PEAR in php?
  • How can we repair a MySQL table?
  • What Is a Persistent Cookie?
  • What does a special set of tags <?= and ?> do in PHP?
  • How do you define a constant?
  • What are the differences between require and include, include_once?
  • How can I execute a PHP script using command line?
  • What is meant by urlencode and urldecode?
  • What is the difference between include and require?
  • What is the difference between mysql_fetch_object and mysql_fetch_array?
  • How can I execute a PHP script using command line?
  • How To Create a Table using PHP?
  • How can we encrypt the username and password using PHP?
  • How do you pass a variable by value?
  • difference between ereg_replace() and eregi_replace()?
  • differences between DROP a table and TRUNCATE a table?
  • DIFFERENT TYPES OF ERRORS IN PHP?
  • How can we submit a form without a submit button?
  • How can we get the browser properties using PHP?
  • Would you initialize your strings with single quotes or double quotes?
  • What are the differences between GET and POST methods in form submitting?
  • difference between the functions unlink and unset?
  • How can we know the count/number of elements of an array?
  • How many ways we can pass the variable through the navigation between the pages?
  • How can we find the number of rows in a result set using PHP?
  • How many ways we can we find the current date using MySQL?
  • How can we know the number of days between two given dates using MySQL?
  • What is the difference between GROUP BY and ORDER BY in SQL?
  • differences between  mysql_fetch_array(),  mysql_fetch_object(), mysql_fetch_row()?
  • What is meant by nl2br()?
  • difference between htmlentities() and htmlspecialchars()?
  • can we increase the execution time of a php script?
  • What are cookies and  How to set cookies?
  • How can we destroy the cookie?
  • What is the use of friend function?
  • What is the maximum size of a file that can be uploaded using PHP and how can we change this?
  • What are the difference between abstract class and interface?
  • What type of inheritance that php supports?
  • How do I find out the number of parameters passed into function?
  • How can increase the performance of MySQL select query?
  • How to store the uploaded file to the final location?

Related Tutorials

  • UNIX interview Questions
    Generally Asked Unix Interview Questions What exactly is UNIX? How are devices represented in UNIX? What is ‘inode’? Brief about...
  • SAP ABAP INTERVIEW QUESTIONS
    Latest SAP ABAP / 4 INTERVIEW QUESTIONS WITH ANSWERS for your Job interview. 1)         What is SAP R/3? Ans      SAP...
  • SQL interview Questions
    What is the full form of SQL ? Structured Query Language (SQL). It is pronounced “sequel”.SQl is a language that...
  • VB INTERVIEW QUESTIONS
    What are the three main differences between flexgrid control and dbgrid(Data bound Grid) control The Microsoft FlexGrid (MSFlexGrid) control displays...
  • C++ INTERVIEW QUESTIONS
    Latest interview questions for C++ ( CPP ). Prepare the answers for these questions before attending your job interview. What...
  • Google Interview Questions
    Here is some famous and frequently asked Google Interview questions. How do you convey the meaning of database in three...
  • TESTING INTERVIEW QUESTIONS
    Latest and commonly asked TESTING INTERVIEW QUESTIONS with answers What is Acceptance Testing? Testing conducted to enable a user/customer to...
  • NETWORKING INTERVIEW QUESTIONS
    Interview questions for Network and System administration posts. 1. What are 10Base2, 10Base5 and 10BaseT Ethernet LANs 10Base2—An Ethernet term...
  • ORACLE INTERVIEW QUESTIONS
    What is the maximum number of columns in a table of oracle DB ? 254 What are the various types...
  • JAVA INTERVIEW QUESTIONS
    Latest and commonly asked interview questions for Java interview ( 2012 , 2013) 1. What is a transient variable? A...

Comments are closed.