PHP INTERVIEW QUESTION & ANSWERS
1. | What is PHP? |
---|---|
|
Posted by Udhayasuriyan. (Oct 09, 2014) | |
PHP Name and Expanstions: 1)form interpreter |
|
Posted by Ashwin. (May 11, 2014) | |
The father of PHP is Rasmus Lerdorf |
|
Posted by Sandippatel. (Mar 01, 2014 ) | |
PHP is open source programming language, less script, time saving, runs on different platforms such as Windows, Linux, Unix, etc. |
|
Posted by Nirav Kothadiya. (Mar 01, 2014 ) | |
PHP is a server-side scripting language and open source software for making dynamic and interactive Web pages.. |
|
Posted by Hitesh Nagpal. (Jan 29, 2014) | |
PHP 5 : Zend Framework 2.0 / OOPS Concept compare to php4. |
|
Posted by Jiju Francis. (Jan 16, 2014) | |
« PHP is Embeded in Html. |
|
Posted by Shakti. (Sep 19, 2013) | |
Preprocessor Hypertext Programming. |
|
Posted by Subhash sandar. (Jun 21, 2013) | |
The old name of php is personal home page. |
|
Posted by Babita Rawata. (Jun 05, 2013) | |
Php is free to download. |
|
Posted by Babita N.Sivakumar. (Apr 17, 2013) | |
PHP is loosely typed languge. (loosely typed language that does not require you to declare a variable type when declaring a variable) |
2. | What is the basic syntax of Php? |
---|---|
<?php ?> A PHP scripting block can be placed anywhere in the document. |
Posted by Aarti. (Feb 14, 2014) | |
echo is a statement and print is a function. . |
|
Posted by Garima. (Oct 14, 2013) | |
Print and echo. |
3. | What is the difference between static and Dynamic Web Sites? |
---|---|
The Web sites were made up of a
collection of documents written in the HTML language. The pages were text based, simple, and static. Every time the
user reloaded a page in his or her browser, it looked exactly the same. It consisted of HTML text, images, and links.
A dynamic Web site is one with content that is regenerated every time a user visits or reloads the site. Although it can be as simple as displaying the current date and time, in most cases it requires the use of a database, which contains the site’s information, and a scripting language that can retrieve the information from the database. Google and Yahoo! are examples of dynamic sites, search engines that create customized pages based on a key word or phrase you type. |
Posted by Mangesh Gund. (Mar 23, 2014) | |
Static : In programing language Static is non zero content. We can not change after run the script. |
|
Posted by Hitesh Nagpal. (Jan 29, 2014) | |
In Simple Language : Static And Dynamic |
|
Posted by Deepakprasad. (Dec 21, 2013) | |
Static mean unchanged or constant & dynamic mean changed or liberal |
|
Posted by Nisha. (May 06, 2013) | |
The site in which we can make any change in run time,is called dynamic website and the site in which we can’t change anything at run time is called static website. |
4. | What is the name of the scripting engine that powers PHP? |
---|---|
PHP is a scripting engine called the Zend Engine 2. |
5. | What is the difference between PHP4 and PHP5? |
---|---|
PHP4 cannot support oops concepts and Zend engine 1 is used. PHP5 supports oops concepts and Zend engine 2 is used. Error supporting is increased in PHP5. XML and SQLLite will is increased in PHP5 |
Posted by Monika Mishra. (May 16, 2014 ) | |
PHP5 can support the oops concept & PHP4 can’t support the oops concept. |