200-710 Exam Question 26
When retrieving data from URLs, what are valid ways to make sure all file_get_contents calls send a
certain user agent string? (Choose 2)
certain user agent string? (Choose 2)
200-710 Exam Question 27
How can the id attribute of the 2nd baz element from the XML string below be retrieved from the
SimpleXML object found inside $xml?
< ?xml version=1.0'?>
< foo>
< bar>
< baz id="l">One</baz>
< baz id="2">Two</baz>
< /bar>
< /foo>
SimpleXML object found inside $xml?
< ?xml version=1.0'?>
< foo>
< bar>
< baz id="l">One</baz>
< baz id="2">Two</baz>
< /bar>
< /foo>
200-710 Exam Question 28
What will be the output of the following code?
$ a= array(0, 1, 2 => array(3, 4));
$ a[3] = array(4, 5);
echo count($a, 1);
$ a= array(0, 1, 2 => array(3, 4));
$ a[3] = array(4, 5);
echo count($a, 1);
200-710 Exam Question 29
You work for a shared hosting provider, and your supervisor asks you to disable user scripts to
dynamically load PHP extensions using the di() function. How can you do this? (Choose 2)
dynamically load PHP extensions using the di() function. How can you do this? (Choose 2)
200-710 Exam Question 30
What is the name of the key in $_FILES['name'] that contains the number of bytes of the uploaded file?