Priti's Technical Corner

April 16, 2011

PHP Quiz

Filed under: PHP, Technical Quiz — Tags: , , — pritisolanki @ 10:02 am

5 question to test your skills:

Q1. Which is the php variable containing the text of the last error message generated by PHP.

A1.$php_errormsg

Q2.The order of variables listed in $_REQUEST array is defined according to which PHP Directive.

A2.request_order

Q3.Which PHP constant indicate the filename of the currently executing script.

A3.$_SERVER[‘PHP_SELF’]

Q4.Which superglobal array contains the items uploaded to the current script via HTTP POST.

A4.$_FILE

Q5. $http_response_header is a valid super global in PHP?

A5.Yes

Create a free website or blog at WordPress.com.

%d bloggers like this: