PHP Interview Questions - Set-1

| Saturday 4 June 2011
1. Who is the father of PHP and explain the changes in PHP versions?

2. How can we submit a form without a submit button?

3. In how many ways we can retrieve the date in the result set of mysql using PHP?

4. What is the difference between mysql_fetch_object and mysql_fetch_array?

5. What is the difference between $message and $$message?

6. How can we extract string ‘abc.com ‘ from a string using regular expression of PHP?

7. How can we create a database using PHP and mysql?

8. What are the differences between require and include, include_once?

9. Can we use include (”abc.PHP”) two times in a PHP page “makeit.PHP”?

10. What are the different tables present in mysql, which type of table is generated when we are creating  a table in the following syntax: create table employee(eno int(2),ename varchar(10)) ?

11. Functions in IMAP, POP3 AND LDAP?

12. How can I execute a PHP script using command line?

13. Suppose your Zend engine supports the mode Then how can u configure your PHP Zend engine to support mode ?

14. What is meant by nl2br()?

15. Draw the architecture of Zend engine?

16. What are the current versions of apache, PHP, and mysql?

17. What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?

18. How can we encrypt and decrypt a data present in a mysql table using mysql?

19. How can we encrypt the username and password using PHP?

20. What are the features and advantages of object-oriented programming?

21. What are the differences between procedure-oriented languages and object-oriented languages?

22. What is the use of friend function?

23. What are the differences between public, private, protected, static, transient, final and volatile?

24. What are the different types of errors in PHP?

25. What is the functionality of the function strstr and stristr?

26. What are the differences between PHP 3 and PHP 4 and PHP 5?

27. How can we convert asp pages to PHP pages?

28. What is the functionality of the function htmlentities?

29. How can we get second of the current time using date function?

0 comments:

Post a Comment

Popular Posts

Company Placement Papers

 

Copyright © 2010 All Question Papers Blogger Template by Dzignine