PHP Interview Questions
Questions Answers Views Company eMail

Does PHP 5 support exceptions? State Whether True or False?

628

What is full form of PHP?

609

What is the content of /etc directory?

558

What is the expansion of LAMP?

617

Which operator is used to concatenate two strings in PHP?

545

What PHP stands for?

568

What will the ?getdate() function returns in PHP?

642

Which of the data type is compound datatype supported by PHP?

547

Applications written to provide a GUI shell for Unix and Linux are called

572

What is the basic function to search files for lines (or other units of text) that contain a pattern.

564

/temp is a type of filesystem directory. State Whether True or False?

585

What is the difference between print() and echo()?

575

CWD is a type of shell variable. State Whether True or False?

571

What is the difference between print() and echo() in PHP?

564

What is the tags in PHP is not a valid way to begin and end a PHP code block?

789


Post New PHP Questions

Un-Answered Questions { PHP }

So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

554


What is difference between array_merge and array_combine in php?

503


Why are sessions used?

528


Explain why would we use === instead of ==?

497


How to specify argument default values?

543






How do you call a constructor for a parent class?

507


What is polymorphism in oop php?

504


Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?

537


What is the use of return in php?

489


Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

524


What is difference between rest api and restful api?

487


What are the data types in php?

541


Explain the types of string comparision function in PHP

510


What is phpsessid?

516


What is the difference between runtime exception and compile time exception?

541