Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
See Below Explanation:
Answer : A
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
Answer : C
How many elements does the array $matches from the following code contain?
$str = "The cat sat on the roof of their house.";
$matches = preg_split("/(the)/i", $str, -1, PREG_SPLIT_DELIM_CAPTURE);
Answer : D
Which elements does the array returned by the function pathinfo() contain?
Answer : C
You want to parse a URL into its single parts. Which function do you choose?
Answer : A
Which of the following expressions will evaluate to a random value from an array below?
$array = array("Sue","Mary","John","Anna");
Answer : D
What will be the result of the following operation?
array_combine(array("A","B","C"), array(1,2,3));
Answer : C