: PHP Basics
PHP: Hypertext Preprocessor is server side widely used open source scripting language. This is set of Multiple choice questions and answers on PHP Basics and Fundamentals. These questions are helpful for freshers to learn PHP in easiest way.
1. What is Full Form of PHP?
Answer: B. PHP: Hypertext Preprocessor
The most popular explanation of just what PHP stands for is "Hypertext Pre-processor". But that would make it HPP, surely? An alternative explanation is that the initials come from the earliest version of the program, which was called Personal Home Page Tools. At least you get the letters "PHP" in the right order!
2. What is the latest Version of PHP?
Answer: D. 5.6
PHP Version 5.6.6 was officially released on 19th Feb 2015.
3. ........ is default file extension of PHP
Answer: B. .php
The Default file extension for PHP is .php, but now these days developers use .html or remove this by using mod_rewrite in htacces file for user friendly URLs.
Which of the following must be installed on your computer so as to run PHP script?
i) Adobe Dreamweaver
Answer: D. ii, iii and iv
To run PHP code you need to have PHP and a web server, both IIS and Apache are web servers.You can choose either one according to your platform.
Which of the following is/are a PHP code editor?
Answer: B. All of the mentioned.
Any of the above editors can be used to type php code and run it.
PHP Basics Programs/Functions