Wednesday 13 August 2014


Hello Everyone...!!!
 
Here are some questions to solve for PHP developers...

PHP developers interview questions, PHP best practices for web developers, Multiple choice questions for PHP,

PHP practice for WEB DEVELOPER


Que. 1 Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?


a) AddType application/x-httpd-php .php
b) AddType application/x-httpd-php .asp
c) AddType application/x-httpd-asp .php
d) AddType application/x-httpd-asp .asp


Que. 2 __clone() is run on the ___ object.


a) original
b) pseudo
c) external
 
d) Copied 

Que. 3 Which one of the following statements should be used to disable just the fopen(), and file() functions?

 

a) disable_functions = fopen(),file()
b) disable_functions = fopen,file
c) functions_disable = fopen(),file()
d) functions_disable = fopen,file

Que.4 Before you can start processing images with PHP, you must first add the ability to upload images to your administrative form on ___.

 

a) .htaccess
b) function.inc.php
c) index.php

d) admin.php

Que. 5 Which one of the following methods recuperates any memory consumed by a result set?

 

a) destroy()
b) remover()
c) alloc()
d) free()

Que. 6 To make the ImageHandler class portable you should create a separate file for it called ___.

 

a) imagehandler.inc.php
b) images.inc.php
c) handler.inc.php
d) imghandler.inc.php


Que.7 PHP Fatal error: Class IllegalCheckout may not inherit from final class


a) Value of the bill calculated
b) PHP Fatal error: Cannot find object
c) PHP Fatal error: Cannot override final method


Que.8 Which function do you have to use to check whether the $path you’ve stored exists?


a) path_dir()
b) path()
c) is_dir()
d) path_dir()


Que. 9 Which of the following methods is used to execute the statement after the parameters have been bound?


a) bind_param()
b) bind_result()
c) bound_param()
d) bound_result()


Que. 10 Which one of the following method is invoked when an undefined method is called by client code?


a) __get()
b) __isset()
c) __unset()
d) __call()



Want more Questions CLICK THE LINKS BELOW  :

 

SHARE YOUR EXPERIENCE WITH US... 

                    OR 

GIVE ANY SUGGESTIONS.. IN COMMENTS


Regards : M2 Software Solutions Pvt. Ltd







0 comments:

Post a Comment

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