Post Details

Some Impotent PHP Interview Questions And Answers-part 2

10:46 AM | | 536
Some Impotent PHP Interview Questions And Answers-part 2

Here is some Importent interview Question for php developers 

Q.1- What is PHP ?

Ans. The PHP is the server side scripting language that is used to develop attractive and dynamic web application. It is used for developing web based dynamic applications.


Q.2-PHP was developed by whom and When?

Ans. PHP was developed by Rasmus Lerdorf in 1994.


Q.3 What is the difference between PHP4 and PHP5?

Ans. PHP5 supports oops concept while PHP4 doesn’t support oops concepts. PHP5 error handling is better than PHP4’s error handling . PHP 5 shows function’s parameter hint while PHP 4 doesn’t show.


Q.4 What is the difference between echo and print ?

Ans. Echo and print both are the PHP statement that is used to display the output. Multiple argument can pass separated by , in echo statement. But using print statement single argument can pass. Echo is faster than print statement. Print returns always true while echo doesn’t return any value.


Q.5- What is the difference between $var and $$var?

Ans. $var is a simple variable while $$var is known as reference variable. $var = “Abdur”; $$var = “is a PHPDeveloper”; $var is a simple PHP variable that we are used to. But the $$var is not very familiar like $var. It creates a variable name $Abdur with the value “is f PHPDeveloper.” Assigned . break it like this ${$var} => $Abdur.



Top Post

Top Backlinks Blog Commenting site for Seo

599 2016-11-23

Configuration of php.ini file

579 2016-10-30

Some Interview Questions and Answers for php developer

579 2016-10-30

Some Impotent PHP Interview Questions And Answers-part 2

536 2016-11-09

Page Optimization For seo

490 2016-12-04

Registering With Directories

469 2016-12-04

Free web 2.0 Blog websites list for backinks

458 2016-12-11

High PR Link Building

451 2016-12-04

Features of Codeigniter web Application Framework

451 2017-02-25

Some php and MySQL interview Questions

449 2016-12-05