Zend-Technologies Zend PHP 5 Certification - 200-500무료 덤프문제 풀어보기
You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilities work?(Choose 2)
정답: A,C
Which of the following functions are used to escape data within the context of HTML?
(Choose 2)
(Choose 2)
정답: A,E
What is the method used to execute XPath queries in the SimpleXML extension?
정답: D
Given the following code, what is correct?
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
function f(stdClass &$x = NULL) { $x = 42;
}
$z = new stdClass;
f($z);
var_dump($z);
정답: E
What does the chown() function do?
정답: B
Which 2.17of the following formats is used to describe web services?
정답: D
Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
정답: C
What is the result of the following code?
$a = 1;
$b = "1";
var_dump($a === $b);
$a = 1;
$b = "1";
var_dump($a === $b);
정답: D
What is the result of the following bitwise operation in PHP?
1 ^ 2
1 ^ 2
정답: B
Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PHP 4?
정답: D
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);
정답: D
How to read a single line, no matter how long from an file opened in the example below?
$fp = fopen("my_file.txt", "w");
$fp = fopen("my_file.txt", "w");
정답: A
Which of the following statements about PHP is true? (Choose 3)
a) A final class can be derived.
b) A final class may be instantiated.
c) A class with a final function may be derived.
d) Static functions can be final.
e) Properties can be final.
a) A final class can be derived.
b) A final class may be instantiated.
c) A class with a final function may be derived.
d) Static functions can be final.
e) Properties can be final.
정답: A,C,D
What is the return value of the following code: substr_compare("foobar", "bar", 3);
정답: A
Which of the following code snippets is correct? (Choose 2)
a)
interface Drawable {
abstract function draw();
}
b)
interface Point {
function getX();
function getY();
}
c)
interface Line extends Point {
function getX2();
function getY2();
}
d)
interface Circle implements Point {
function getRadius();
}
a)
interface Drawable {
abstract function draw();
}
b)
interface Point {
function getX();
function getY();
}
c)
interface Line extends Point {
function getX2();
function getY2();
}
d)
interface Circle implements Point {
function getRadius();
}
정답: A,C