최신Zend-Technologies Zend PHP 5 Certification - 200-500무료샘플문제
문제1
An HTML form contains this form element:
< input type="file" name="myFile" />
When this form is submitted, the following PHP code gets executed:
1 <?php
2 move_uploaded_file(
3 $_FILES['myFile']['tmp_name'],
4 'uploads/' . $_FILES['myFile']['name']);
5 ?>
Which of the following actions must be taken before this code may go into production?
(Choose 2)
An HTML form contains this form element:
< input type="file" name="myFile" />
When this form is submitted, the following PHP code gets executed:
1 <?php
2 move_uploaded_file(
3 $_FILES['myFile']['tmp_name'],
4 'uploads/' . $_FILES['myFile']['name']);
5 ?>
Which of the following actions must be taken before this code may go into production?
(Choose 2)
정답: D,E
문제2
What is the return value of the following code: substr_compare("foobar", "bar", 3);
What is the return value of the following code: substr_compare("foobar", "bar", 3);
정답: C
문제3
Which of the following statements about SOAP is NOT true?
Which of the following statements about SOAP is NOT true?
정답: C
문제4
What is the purpose of the 4th argument to the file_get_contents() function?
What is the purpose of the 4th argument to the file_get_contents() function?
정답: B
문제5
You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilities work?(Choose 2)
You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilities work?(Choose 2)
정답: A,E
문제6
Can a private static member be accessed from a public static method of the same class?
Can a private static member be accessed from a public static method of the same class?
정답: C
문제7
Which PHP function retrieves a list of HTTP headers that have been sent as part of the
HTTP response or are ready to be sent?
Which PHP function retrieves a list of HTTP headers that have been sent as part of the
HTTP response or are ready to be sent?
정답: B
문제8
In a typical web application the most used database action is...
In a typical web application the most used database action is...
정답: B
문제9
What is the output of the following code?
str_pad('PHP', 10, 'P', STR_PAD_BOTH);
What is the output of the following code?
str_pad('PHP', 10, 'P', STR_PAD_BOTH);
정답: D
문제10
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);
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
문제11
An object can be counted with count() and sizeof() if it
An object can be counted with count() and sizeof() if it
정답: A
문제12
Which of the following function signatures is correct if you want to have classes automatically loaded?
Which of the following function signatures is correct if you want to have classes automatically loaded?
정답: C
문제13
Which of the following statements is correct?
Which of the following statements is correct?
정답: D
문제14
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
정답: B
문제15
PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...
PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...
정답: A