Php Interview Question Answer




Question : 1
What is the difference between strstr & stristr?

Question : 2
What is the difference between explode and split?

Question : 3
How can you avoid execution time out error while fetching record from MySQL?

Question : 4
What is the difference between require() and include()?

Question : 5
What is the difference between echo and print?

Question : 6
What's the difference between COPY OF A FILE & MOVE_UPLOAD_FILE in file uploading?

Question : 7
How do you insert single & double quotes in MySQL db without using PHP?

Question : 8
What do you need to do to improve the performance (speedy execution) for the script you have written?

Question : 9
How do you capture audio/video in PHP?

Question : 10
How do you know (status) whether the recipient of your mail had opened the mail i.e. read the mail?

Question : 11
What is a random number?

Question : 12
What is difference between srand & shuffle?

Question : 13
How can we remove duplicate values from an array?

Question : 14
How can we submit a form without a submit button?

Question : 15
What is difference between mysql_connect and mysql_pconnect?

Question : 16
How I can get IP address?

Question : 17
What is CAPTCHA?

Question : 18
What is the difference between sizeof($array) and count($array)?

Question : 19
What are the different types of errors in PHP?

Question : 20
What is the difference between the functions unlink and unset?

Question : 21
What is meant by urlencode() and urldecode()?

Question : 22
How do you define a constant?

Question : 23
-and-via-">What"s the difference between accessing a class method via -> and via ::?

Question : 24
What"s the difference between htmlentities() and htmlspecialchars()?

Question : 25
What"s the difference between md5(), crc32() and sha1() crypto on PHP?

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2024 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz