PHP Interview Questions
Questions Answers Views Company eMail

What is the main difference between require() and include()?

462

How to add comments in php?

581

What is str_replace()?

523

Write a program to get second highest number in an array using php?

507

How to create and destroy cookies in php?

479

How is traits used in php?

507

What are the final class and final method?

516

How to check a variable is an array or not in php?

487

How can we make a constant in php?

531

What are magic methods?

531

What is the apache?

507

What is the role of the .htaccess file in php?

529

What is the difference between php 5 and php 7?

469

What is the use of $_server["php_self"] variable?

509

What are traits?

682


Post New PHP Questions

Un-Answered Questions { PHP }

What are the features of object-oriented programming in php?

481


Does php support multiple inheritance?

477


How to open a file for writing?

544


What is the difference between pop3 IMAP and MAPI?

609


How to pad an array with the same value multiple times?

452






Is it possible to protect special characters in a query string?

511


How to swap two variables without using 3rd temp variable.

474


Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?

469


Explain the difference between isset() and empty()?

513


Why php 7 is faster?

487


What is mvc php?

497


Tell me what does pear stands for?

531


What is session cookies php?

525


Do you know what is the use of the function 'imagetypes()'?

474


Why is overriding runtime?

556