Which one of the following XML declarations is NOT valid?
Answer : D
Which interfaces could class C implement in order to allow each statement in the following code to work? (Choose 2)
$obj = new C();
foreach ($obj as $x => $y) {
echo $x, $y;
}
Answer : A, C
How can you determine whether a PHP script has already sent cookies to the client?
Answer : C
Which of the following rules must every correct XML document adhere to? (Choose 2)
Answer : A, B
Type hinting in PHP allows the identification of the following variable types: (Choose 2)
Answer : C, D
What is the output of the following code?
echo "1" + 2 * "0x02";
Answer : C
Which technique should be used to speed up joins without changing their results?
Answer : A