get the app get the app       get the app       get the app

PHP Interview QUESTIONS

Exam NamePHP Interview QUESTIONS
DescriptionPHP Interview QUESTIONS contains the questions from various interview of IT industry.These questions are helpful to crack the IT interview.
Exam TypeMASTER EXAM
Authenticity9
creatorAnirudh(39259)

Back to Parent Category
Create QuestionPDF  
.
Question: What are the steps involved to run PHP?

Answer:The steps which are involved and required to run PHP is as follows:
1. Set up the web environment.
2. Set up the web servers. There are many web servers that are available and the mostly used is Apaches which automatically remains installed with linux distribution and on windows it is easy to install. There are other servers like IIS (Internet information server) provided by Microsoft can be used to set up the web environment.
3. Install the web server and PHP
4. Update and administer the system for changes.


Question: Why IDE is recommended for use while programming with PHP?

Answer:IDE stands for Integrated Development environment; it is a framework for developing applications. It includes programming editor where you can edit and write the development programs. The features of IDE are as follows:
1. Debugging: this is the feature which is used to debug or find the bugs in a program
2. Preview: this is the feature which allow instant preview of the program you are writing
3. Testing: this is the features that includes built in testing features through which you can check your scripts
4. FTP: through this you can upload and download the file while connecting to the server.
5. Project management: it organizes scripts into projects; manages the files in the project; includes file checkout and check-in features.
6. Backups: it creates backups automatically of your Web site at periodic intervals.


Question: What is the difference between explode and split?

Answer:Split function splits string into array by regular expression. Explode splits a string into array by string.
For Example:
explode(" and", "India and Pakistan and Srilanka");
split(" :", "India : Pakistan : Srilanka");
Both of these functions will return an array that contains India, Pakistan, and Srilanka.


Question: What is difference between unlink() and unset()?

Answer:Unlink() is used to delete a file completely in directory, unset() is used to delete the content of the file.


Question: What is the full form of CAPTCHA?

Answer:Completely Automated Public Turing Test to tell Computers and Humans Apart


Question: a fast way to add up this column of numbers is to click in the cell below the numbers and then: