Post Details

Some Impotent PHP Interview Questions And Answers-part 2

10:46 AM | | 476
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

525 2016-11-23

Some Interview Questions and Answers for php developer

517 2016-10-30

Configuration of php.ini file

504 2016-10-30

Some Impotent PHP Interview Questions And Answers-part 2

476 2016-11-09

Page Optimization For seo

427 2016-12-04

Registering With Directories

405 2016-12-04

High PR Link Building

393 2016-12-04

Some php and MySQL interview Questions

390 2016-12-05

Free web 2.0 Blog websites list for backinks

386 2016-12-11

Features of Codeigniter web Application Framework

374 2017-02-25