200-500 試験問題を無料オンラインアクセス
試験コード: | 200-500 |
試験名称: | Zend PHP 5 Certification |
認定資格: | Zend-Technologies |
無料問題数: | 219 |
更新日: | 2025-09-05 |
What is the output of the following script?
1 <?php
2 function ratio ($x1 = 10, $x2)
3 {
4 if (isset ($x2)) {
5 return $x2 / $x1;
6 }
7 }
8
9 echo ratio (0);
1 0 ?>
You work for a shared hosting provider, and your supervisor asks you to disable user scripts to dynamically load PHP extensions using the dl() function. How can you do this?
(Choose 2)
Which of the following function signatures is correct if you want to have classes automatically loaded?
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();
}