Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
What is the output of the following code?
$a = array('a', 'b'=>'c');
echo property_exists((object) $a, 'a')?'true':'false';
echo '-';
echo property_exists((object) $a, 'b')?'true':'false';
What will be the output value of the following code?
$array = array(1,2,3);
while (list(,$v) = each($array));
var_dump(current($array));
Which PHP function sets a cookie whose value does not get URL encoded when sending it to the browser?
Which of the following may be used in conjunction with CASE inside a SWITCH statement?
What is the output of the following code?
var_dump(boolval(new StdClass()));