FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

PHP INTERVIEW QUESTION & ANSWERS

Follow Us
 
6. What is an Array in PHP?
  An array in PHP is really an ordered map of pairs of keys and values.
  Posted by Priyanka. (May 07, 2014)
 

Array is collection of data type(it may be similar or dissimilar data) using array u can store multiple values.

  Posted by Rahul Gautam. (May 07, 2014)
 

An Array stores multiple values in a single value.

  Posted by Aarti. (Feb 14, 2014)
 

It is collection of similar and dissimilar data type.

  Posted by Arumoy Saha. (Jan 20, 2014)
 

In php array is a heterogeneous datatype.

  Posted by Rajesh. (Nov 05, 2013)
 

It is the collection of elements of similar data type.

Your Name Your Email-ID
Your Answer
 
7. What are the advantages of MySQL and PHP?
  PHP, a simple and powerful scripting language, and MySQL, a solid and reliable database server, make a perfect marriage between two modern technologies for building databasedriven, dynamic Web sites. Some of the advantages of both PHP and MySQL are :
  • High performance
  • Built in libraries
  • Extensibility
  • Relatively low cost
  • Portability
  • Developer community
  • Ease of learning
  • Your Name Your Email-ID
    Your Answer
     
    8. What is PHP’s configuration file called?
      PHP’s configuration file is called php.ini.
    Your Name Your Email-ID
    Your Answer
     
    9. Which function would you use to merge two arrays?
      You can merge arrays with the array_merge() function.
      Posted by Aarti Kshirsamail. (Feb 14, 2014)
     

    It can merge any length of array and one or more than one array can combine also.

      Posted by Hitesh Nagpal. (Jan 29, 2014)
     

    array_merge(): One or more arrays into one array.

    You can assign one array to the function, or as many as you like

    Your Name Your Email-ID
    Your Answer
     
    10. What is a session?
      A session is a logical object created by the PHP engine to allow you to preserve data across subsequent HTTP requests.
    Your Name Your Email-ID
    Your Answer