最新的Zend-Technologies Zend Certified Engineer - 200-710免費考試真題
What parsing methodology is utilized by the SimpleXML extension?
正確答案: C
Which SPL class implements fixed-size storage?
正確答案:
SplfixedArray
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)
正確答案: A,B
Which DOM Element property provides a reference to the list ofthe element's children?
正確答案:
childNodes
What is the output of the following code?
正確答案: D
Please provide the name of the super-global variable where all the information about cookies is available.
正確答案:
_ COOKIE, $_COOKIE[\], _COOKIE, _COOKIE[\]
Consider the following two files. When you run test.php, what would the output look like?
test.php:
include "MyString.php";
print",";
print strlen("Hello world!");
MyString.php:
namespace MyFramework\String;
function strlen($str)
{
return \strlen($str)*2; // return double the string length
}
print strlen("Hello world!")
test.php:
include "MyString.php";
print",";
print strlen("Hello world!");
MyString.php:
namespace MyFramework\String;
function strlen($str)
{
return \strlen($str)*2; // return double the string length
}
print strlen("Hello world!")
正確答案: C
Transactions should be used to: (Choose 2)
正確答案: A,B
What will the $array array contain at the end of this script?
function modifyArray (&$array)
{
for each ($array as &$value)
{
$ value= $value+ 1;
$ value= $value+ 2;
$ array= array (1, 2, 3);
modifyArray($array);
function modifyArray (&$array)
{
for each ($array as &$value)
{
$ value= $value+ 1;
$ value= $value+ 2;
$ array= array (1, 2, 3);
modifyArray($array);
正確答案: C