New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Zend 200-530 Exam Made Easy: Step-by-Step Preparation Guide

Questions 11

What will the following function call return?

strstr('http://example.com/test/file.php ', '/');

Options:
A.

/example.com/

B.

/file.php

C.

file.php

D.

//example.com/test/file.php

Zend 200-530 Premium Access
Questions 12

Transactions are used to:

Options:
A.

guarantee high performance

B.

secure data consistency

C.

secure access to the database

D.

reduce the database server overhead

E.

reduce code size in PHP

Questions 13

What is the output of the following code?

class test {

public $value = 0;

function test() {

$this->value = 1;

} function __construct() {

$this->value = 2;

}}

$object = new test();

echo $object->value;

Options:
A.

2

B.

1

C.

0

D.

3

E.

No Output, PHP will generate an error message.

Questions 14

What is the ideal method of copying data between two opened files?

Options:
A.

copy($source_file, $destination_file);

B.

copy(destination_file, $source_file);

C.

stream_copy_to_stream($source_file, $destination_file);

D.

stream_copy_to_stream($destination_file, $source_file);

E.

stream_bucket_prepend($source_file, $destination_file);

Questions 15

How do you allow the caller to submit a variable number of arguments to a function?

Options:
A.

Using a prototype like function test(... $parameters).

B.

Using a prototype like function test() and the function func_get_args() inside the function body.

C.

Using a prototype like function test($parameters[]).

D.

Using a prototype like function test() and the function get_variable_args() inside the function body.

E.

This is not possible in PHP.

Questions 16

PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...

Options:
A.

implements Traversable

B.

is an instance of ArrayObject

C.

implements ArrayAccess

D.

None of the above

Questions 17

What function returns the filename component of the file's path:

Options:
A.

dirname()

realpath()

B.

basename()

C.

pathinfo()

D.

parse_url()

Questions 18

What does an object based on the Active Record pattern provide?

Options:
A.

A way to actively control the application's workflow

B.

A way to record the history of its changes

C.

A way to effortlessly store its properties in a database

Questions 19

What is the output of the following code?

$a = 1;

++$a;

$a*=$a;

echo $a--;

Options:
A.

4

B.

3

C.

5

D.

0

E.

1

Questions 20

REST is a(n) ...

Options:
A.

Web service protocol similar to SOAP with a strict XML schema.

B.

Principle to exchange information using XML and HTTP.

C.

API to get information from social networking sites.

Exam Code: 200-530
Certification Provider: Zend
Exam Name: Zend PHP 5.3 Certification
Last Update: Jan 22, 2025
Questions: 254

Zend Related Exams

Zend Free Exams

Zend Free Exams
Enhance your Zend exam prep with free resources and practice tests from Examstrack. Achieve Zend certification success by exploring Examstrack.