PHP Interview Questions

1
1. How to get the request page in php?

2. Display the date in below format?

Thursday February 20, 2007, 11:30 AM

3. What is the output in 3^3?

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

5. Is Inheritance supported in PHP? If supported what type of Inheritance supported in php and what keyword are used?

6. What is difference between explode and split?

7. Difference between include(), include_once(),require(),require_once()?

8. How to extend the execution time in php script?

9. class dbConnect{
function dbConnect ()
{
}
function connectAdd()
{
}
}
In the above script,
Specify the constructor name?

10. Is it possible to constructor overloading in php?

11. What the use of serialize and unserialize in php?

12. How to display the current date using mysql?

13. What is the difference between truncate and delete?

14. What would the following code print to the browser? Why?
$num = 10;
function multiply(){
$num = $num * 10;
}
multiply();
echo $num;

15. What function would you use to redirect the browser to a new
page?
1. redir()
2. header()
3. location()
4. redirect()

More...Attachment the File..


Attached Files
.pdf   PHP-INTERVIEW-QUESTIONS-1.pdf (Size: 20.62 KB / Downloads: 231)
Heart
Make a Great History
Good Start bro... Superb.., +1 repute to u...:-)
New Share your Study Materials with us : Click Here

    PHP Interview Questions