Wednesday, 19 November 2014

Hello Everyone...!!!
 Web Development Company indore

Today i am here with more then 200 PHP interview questions for PHP developers to improve their web development skills and prepare for interviews.

PHP Questions :

Que.1 Which of the following is not true?
a.       PHP can be used to develop web applications.
b.      PHP makes a website dynamic.
c.       PHP applications can not be compiled.
d.      PHP can not be embedded into html.
Que.2 How do you get information from a form that is submitted using the "get" method?  
a.    $_GET[];
b.    Request.Form;
c.    Request.QueryString;
d.    $_POST[];

Que.3 Which of the following variables is not a predefined variable
a.       $get
b.      $ask
c.       $request
d.      $post
Que. 4   The following piece of script will output:
$new=strstr($email, ‘@’
print $new;
a.       admin
b.      admin@psexam
Que. 5 PHP code is embedded directly into XHTML document? 
a. False
b. True

Que.6 Which of the following function returns the number of characters in a string variable?

a.       count($variable)
b.      len($variable)
c.       strcount($variable)
d.      strlen($variable)
Que.7 What is the expansion of LAMP? 
a. Linux And Mysql Php
b. Linux Apache Mysql Php

Que.8 what will be the ouput of below code ? 

Assume that today is 2009-5-19:2:45:32 pm

a. may 19,09,2:45:32 PM
b. May 19, 2009, 2:45 pm
c. May 19,2009,14:45:32 pm
d. May 19,2009,14:45:32 PM

Que. 9  fopen($file_doc,”r+&rdquo opens a file for ?

a.       reading
b.      writing
c.       none of above
d.      both of above
Que.10 The function setcookie( ) is used to

a.       Enable or disable cookie support
b.      Declare cookie variables
c.       Store data in cookie variable
d.      All of above

Share your experience or any suggestion with us .. VIA COMMENTS


Regards : Web Development Company Indore



Post a Comment

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube