Core PHP interview questions – page 4

373 questions. Tap “Show answer” to check yourself.

Advertisement
  1. How do you develop your own PHP extension ?

  2. can we use PGP with PHP?

  3. How do you format and output a number with leading zero's?

  4. When you will get the error "Cannot add header information"?

  5. How to install PHP with --mcrypt and --mhash?

  6. How can you access a COM object from a PHP page?

  7. What is the difference between the functions UNLINKand UNSET?

  8. What are the different types of Errors in PHP?

  9. What types images that php supports?

  10. Explain different types of errors in PHP (i.e. arguments in errorreporting function)?

  11. what are Implode and Explode functions?

  12. What changes to done in PHP.ini file for file uploading?

  13. Advertisement
  14. What is the default session time in PHP and how can I change it?

  15. How to use the COM components in PHP?

  16. How many ways we can give the output to a browser?

  17. What are the different methods of passing data or information between two calls of a web page? What are the advantages/disadvantages of these methods?

  18. What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?

  19. Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.

  20. What is MIME?

  21. How can we know the number of days between two given dates using PHP?

  22. What type of inheritance that PHP supports?

  23. WWhat is the functionality of md5 function in PHP?

  24. What is the use of header() function in php?

  25. How do you create subdomains using PHP?

  26. Advertisement
  27. What is the diffrence between Notify URL and Return URL?

  28. How to get the URL domain name in PHP?

  29. Which will execute faster on php POST or GET? Explain

  30. What is the use of sprintf() function?

  31. How do we know browser properties?

  32. What is htaccess?

Advertisement