PHP Interview Questions
Questions Answers Views Company eMail

Explain mysql_errno()?

542

How do you destroy a particular or all Sessions?

569

Which are the best start and end tags to use?

568

Explain include(), include_once, require() and require_once?

542

Which function would you use to insert a record into a database in php?

553

Explain soundex() and metaphone().

568

How to Retrieve the Session ID of the Current Session?

519

What types of Data Can Be Used as Array Keys?

558

What are the correct and the most two common way to start and finish a PHP block of code?

618

What does PEAR stands for?

Arigo Infotech,

634

Which character is used to match exactly one character?

535

What is the delimiter default in PHP?

600

A process can run only in the background. State Whether True or False?

612

> symbol is used to redirect the output of a command. State Whether True or False?

642

What is the function in PHP do not return a timestamp?

557


Post New PHP Questions

Un-Answered Questions { PHP }

How to run the interactive php shell from the command line interface?

519


Does php support overloading?

562


What is composer install?

584


How to do single and multi line comment in php?

544


What does type casting mean in php? Explain with an example?

535






Which cryptographic functions in php returns the longest hash value?

563


How do functions work?

527


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

646


How is it possible to parse a configuration file?

499


Which will start a session?

570


How check variable is set or not in php?

445


What is the difference between exception::getmessage and exception::getline?

524


What are the popular frameworks in php?

515


Which is the best web server?

522


How to get the number of characters in a string?

558