Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple70

Pass the Zend Certification 200-530 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam 200-530 Premium Access

View all detail and faqs for the 200-530 exam


386 Students Passed

84% Average Score

92% Same Questions
Viewing page 1 out of 8 pages
Viewing questions 1-10 out of questions
Questions # 1:

Given a php.ini setting of:

default_charset = utf-8

What will the following code print in the browser?

Question # 1

Options:

A.

Garbled data

B.

& # 9986 ; & # 10004 ; & # 10013 ;

C.

A blank line due to charset mismatch

Questions # 2:

When a class is defined as final it:

Options:

A.

Can no longer be extended by other classes.

B.

Means methods in the class are not over-loadable.

C.

Cannot be defined as such, final is only applicable to object methods.

D.

Is no longer iteratable.

Questions # 3:

What is the result of the following code?

Question # 3

Options:

A.

42

B.

43

C.

Parse error

Questions # 4:

Identify the security vulnerability in the following example:

1 <?php

2 echo "Welcome, {$_POST['name']}.";

3 ?>

Options:

A.

SQL Injection

B.

Cross-Site Scripting

C.

Remote Code Injection

D.

None of the above

Questions # 5:

What function is used to retrieve all available information about a symbolic link?

Options:

A.

symlink()

B.

stat()

C.

fstat()

D.

lstat()

E.

readlink()

Questions # 6:

You want to present the following formatted number: "999.000.000,00". Which function call is correct?

Options:

A.

print format_number(999000000);

B.

print number_format(999000000);

C.

print number_format(999000000, 2, ',', '.');

D.

print number_format(999000000, 2);

E.

print_number(999000000, 2, ',', '.')

Questions # 7:

You want to parse a URL into its single parts. Which function do you choose?

Options:

A.

parse_url()

B.

url_parse()

C.

get_url_parts()

D.

geturlparts()

Questions # 8:

Which of the following will set a 10 seconds read timeout for a stream?

Options:

A.

ini_set("default_socket_timeout", 10);

B.

stream_read_timeout($stream, 10);

C.

Specify the timeout as the 5th parameter to the fsockopen() function used to open a stream

D.

stream_set_timeout($stream, 10);

E.

None of the above

Questions # 9:

Identify the security vulnerability in the following example:

1 <?php

2 mail('feedback@example.org',

3 'Feddback',

4 'Here is my feedback.',

5 "From: {$_COOKIE['email']}");

6 ?>

Options:

A.

Remote Code Injection

B.

Cross-Site Request Forgeries

C.

Email Injection

D.

None of the above

Questions # 10:

What is the output of the following code?

try {

class MyException extends Exception {};

try {

throw new MyException;

}

catch (Exception $e) {

echo "1:";

throw $e;

}c

atch (MyException $e) {

echo "2:";

throw $e;

}}

catch (Exception $e) {

echo get_class($e);

}

Options:

A.

A parser error, try cannot be followd by multiple catch

B.

1:

C.

2:

D.

1:Exception

E.

1:MyException

F.

2:MyException

G.

MyException

Viewing page 1 out of 8 pages
Viewing questions 1-10 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.