Php Interview Questions for Freshers
Php Interview Questions for Freshers: Basic PHP Interview Questions as follows: 1. What is PHP? Answer: PHP stands for Hypertext Preprocessor. It is an open-source, general-purpose, server side scripting language that is especially used for web development. 2. What are some of the key features of PHP? Answer: Some of the key features of PHP are: It is completely open-source. It is compatible with many databases, like MySQL, SQLite, etc. It is platform-independent, that is, it can be run on any operating system like Linux, Unix, Windows, etc. It is object-oriented, that is it supports object oriented functionalities like encapsulation, inheritance, abstraction, and polymorphism. 3. What are superglobals in PHP? Answer: Superglobal variables in PHP are predefined global variables. Global variables are accessible from any part of a PHP script. Some examples of superglobal variables are $_GET, $_POST, $_REQUEST, $_FILES, $_COOKIE, $_SESSION, $_SERVER, $_ENV, and $GLOBALS. 4...