Interview Questions And Answers

Q: - What is PHP ?

PHP is a language that has outgrown its name. It was originally conceived as a set of macros to help coders maintain personal home pages, and its name grew from its purpose. Since then, PHP's capabilities have been extended, taking it beyond a set of utilities to a full-featured programming language, capable of managing huge database-driven online environments.

Submitted By:-Martinos            Email-ID: - martinos_sa@rediff.com

Q: - Name a new feature introduced with PHP 5.

PHP 5 introduces (among other things) SQLite support, improved XML support, and a significantly improved object model.

Submitted By:-Martinos            Email-ID: - martinos_sa@rediff.com

Q: - Why can it be useful to know the type of data a variable holds?

Often the data type of a variable constrains what you can do with it. You might want to ensure that a variable contains an integer or a double before using it in a mathematical calculation, for example.

Submitted By:-Martinos            Email-ID: - martinos_sa@rediff.com

 

1
2