View Mode
Q: 11
Please provide the name of the super-global variable where all the information about cookies is available.
Your Answer
Q: 12

What is the output of the following code? function increment ($val) { $val = $val + 1; } $val = 1; increment ($val); echo $val;

Your Answer
Q: 13

Which PHP function sets a cookie and URL encodes its value when sending it to the browser?

Your Answer
Q: 14

What is the output of the following code? function increment ($val) { $_GET['m'] = (int) $_GET['m'] + 1; } $_GET['m'] = 1; echo $_GET['m'];

Your Answer
Q: 15

What is the name of the key for the element in $_FILES['name'] that contains the provisional name of the uploaded file?

Your Answer
Q: 16

Which SPL class implements fixed-size storage?

Your Answer
Q: 17

Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP, and also save the contents into another folder?

Your Answer
Q: 18

Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?

Your Answer
Q: 19

What is the output of the following code? class Number { private $v = 0; public function __construct($v) { $this->v = $v; } public function mul() { return function ($x) { return $this->v * $x; }; } } $one = new Number(1); $two = new Number(2); $double = $two->mul()->bindTo($one); echo $double(5);

Your Answer
Q: 20

Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP?

Your Answer
Question 11 of 20 · Page 2 / 2

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE