Monday, October 31, 2016

25 Best php programming interview questions and answers

php programming interview questions and answers pdf

Frequently Asked PHP programming Interview questions and answers pdf for freshers and experienced


1. What is PHP?

  
Ans:
PHP (Hypertext Preprocessor) is a server-side scripting language designed primarily for web development but is also used as a general-purpose programming language.

2. What is Open Source Software?

  
Ans:
Software in which the source codes are freely used, modify, and shared by anyone are called Open Source Software. These can also be distributed under licenses that adhere with the Open Source Definition.

3. What is the main difference between PHP 4 and PHP 5?


Ans:
PHP 5 presents many additional OOP (Object Oriented Programming) features.

4. What is the use of 'print' in php?


Ans:
This is not actually a real function, It is a language construct. So you can use with out parentheses with its argument list.
Eg :
print('PHP Interview questions');
print 'Job Interview ');

5. What does PEAR stands for?


Ans:

PEAR means “PHP Extension and Application Repository”. it extends PHP and provides a higher level of programming for web developers.







EmoticonEmoticon