Last Update 9 hours ago Total Questions : 219
The Zend PHP 5 Certification content is now fully updated, with all current exam questions added 9 hours ago. Deciding to include 200-500 practice exam questions in your study plan goes far beyond basic test preparation.
You'll find that our 200-500 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 200-500 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Zend PHP 5 Certification practice test comfortably within the allotted time.
What is the output of the following script?
1 < ?php
2 class a
3 {
4 public $val;
5 }
6
7 function renderVal (a $a)
8 {
9 if ($a) {
10 echo $a- > val;
11 }
12 }
13
14 renderVal (null);
15 ? >
How many elements does the $matches array contain after the following function call is performed?
preg_match( ' /^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9] )/ ' , ' 21st March
2006 ' , $matches);
Which constant must be passed as the second argument to htmlentities() to convert single quotes ( ' ) to HTML entities?
You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see what it does and use the following function call:
strcasecmp( ' hello my dear! ' , ' Hello my DEAR! ' );
The function call returns " 0 " . What does that mean?
Which of the listed changes would you make to the following PHP 4 code in order to make it most compliant with PHP 5? (Choose 2)
< ?php
class Car {
var $model;
function Car($model) {
$this- > model = $model;
} function toString() {
return " I drive a $this- > model. " ;
}}
$c = new Car( ' Dodge ' );
echo $c- > toString();
? >
When a class is defined as final it:
Which of the following data types cannot be directly manipulated by the client?
What function is used to retrieve all available information about a symbolic link?
The following form is loaded in a browser and submitted, with the checkbox activated:
< form method= " post " >
< input type= " checkbox " name= " accept " >
< form >
In the server-side PHP code to deal with the form data, what is the value of $_POST[ ' accept ' ]?
Which parts of the text are matched in the following regular expression?
1 < ?php
2 $text = < < < EOT
3 The big bang bonged under the bung.
4 EOT;
5
6 preg_match_all( ' @b.n?g@ ' , $text, $matches);
7 ? >
