PHP Basic Interview Questions for freshers with answers



  • 52_What backslash character will match whitespace
  • 53_How would you determine the size of a file
  • 54_How to retrieve the session id of the current session
  • 55_What is Apache’s configuration file typically called
  • 56_Which PHP function would you use to send an email
  • 57_What is session_register()
  • 58_Which function would you use to insert a record into a database
  • 59_What types of data can be used as array keys
  • 60_Where are the session values stored
  • 61_Which function would you use to merge two arrays
  • 62_What are the different types of PHP arrays
  • 63_Which function would you use to replace a record in a database
  • 64_What is session_register()
  • 65_How can we create a database using php
  • 66_What is the name of the scripting engine that powers PHP
  • 67_What are the differences between require and include
  • 68_Which MySQL function would you use to select a database