Vidyarthiplus (V+) - Indian Students Online Education Forum

Full Version: PHP Interview Questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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..
Good Start bro... Superb.., +1 repute to u...:-)