Zend-Technologies Zend Certified Engineer - 200-710무료 덤프문제 풀어보기
What is the output of the following code?
function increment (&$val)
{
return $va I + 1;
$ a= 1;
echo increment ($a);
echo increment ($a);
function increment (&$val)
{
return $va I + 1;
$ a= 1;
echo increment ($a);
echo increment ($a);
정답:
22
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>
정답: E
Which php.ini setting is usually required to use an opcode cache?
정답: D
Which sentence describes the following regular expression match?
preg_match('/A\d+(?:\.[0-9]+)?$/', $test);
preg_match('/A\d+(?:\.[0-9]+)?$/', $test);
정답: A
What method can be used to find the tag <any> via the DOM extension?
정답: E
What will the following function call print?
printf('%010.6f', 22);
printf('%010.6f', 22);
정답: D
Which of the following rules must every correct XML document adhere to? (Choose 2)
정답: A,C
What would be the output ofthe following code?
namespace MyFramework\DB;
class MyClass {
static function myName() {
return _METHOD_;
}
print MyClass::myName();
namespace MyFramework\DB;
class MyClass {
static function myName() {
return _METHOD_;
}
print MyClass::myName();
정답: B
What is the output of the following code?
class Foo Implements Array Access {
function offsetExists($k) { return true;}
function offsetGet($k) {return 'a';}
function offsetSet($k, $v) {}
function offsetUnset($k) {}
}
$ x = new Foo();
echo array_key_exists('foo', $x)?'true':'false';
class Foo Implements Array Access {
function offsetExists($k) { return true;}
function offsetGet($k) {return 'a';}
function offsetSet($k, $v) {}
function offsetUnset($k) {}
}
$ x = new Foo();
echo array_key_exists('foo', $x)?'true':'false';
정답: B
What is the output of the following code?
$ first= "second";
$ second = "first";
echo $$$first;
$ first= "second";
$ second = "first";
echo $$$first;
정답: C