최신 Zend 200-530 무료샘플문제:
1. Which of the following is used to find all PHP files under a certain directory?
A) PHPIterator
B) RecursiveDirectorylterator
C) RecursiveTreelterator
D) SplTempFileObject
2. How can a PHP extension be loaded? (Choose 2)
A) ini_set("extension", "extension.so");
B) dl("extension.so");
C) extension=extension.so inside php.ini
D) extension_load("extension.so");
3. Which of the following describes a PHP extension?
A) A collection of PHP files that expose a unified API
B) A multitude of classes that extend from a single parent class
C) A plugin that changes the way PHP behaves
D) A collection of functions and classes that allow PHP to interact with external data sources, protocols or APIs
4. What is the output of the following code:
str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");
A) Apples are orange and Oranges are green
B) Apples are apple and Oranges are green
C) Apples are apple and Apples are green
D) Apples are orange and Apples are green
5. Consider the following table data and PHP code. What is the outcome?
Table data (table name "users" with primary key "Id"):
PHP code (assume the PDO connection is correctly established):
A) The database will return no rows
B) The value of $result will be an array
C) The value of $result will be '[email protected]'.
D) The value of $result will be empty
질문과 대답:
질문 # 1 정답: B | 질문 # 2 정답: B,C | 질문 # 3 정답: C | 질문 # 4 정답: D | 질문 # 5 정답: C |