Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

What is the result of the following code?

$a = 1;

$b = "1";

var_dump($a === $b);

A.

bool(true

B.

bool(false)

C.

Parser error

D.

NULL

You'd like to use the class MyDBConnection that's defined in the MyGreatFrarnework\GreafDatabaseAbstractionLayer namespace, but you want to minimize *as much as possible* the length of the class name you have to type. What would you do?

A.

Import the MyGreatFramework namespace

B.

Import the MyGreatFrarnework\GreafDatabaseAbstractionLayer namespace

C.

Alias MyGreatFrarnework\GreafDatabaseAbstractionLayer\MyDBConnection to a shorter name

D.

Alias MyGreatFrarnework\GreafDatabaseAbstractionLayer to a shorter name

What is the output of the following code?

echo '1' . (print '2') + 3;

A.

123

B.

213

C.

142

D.

214

E.

Syntax error

How can XML parsing errors be suppressed in the SimpleXML extension?

A.

error_reporting(E_ALL^E_NOTICE);

B.

simplexml_disable_errors(TRUE);

C.

simplexml_ignore_errors(TRUE);

D.

libxml_use_internal_errors(TRUE);

E.

simplexml_load_file("file.xml", LIBXML_NOERROR);

Type hinting in PHP allows the identification of the following variable types: (Choose 2)

A.

String

B.

Integer

C.

Array

D.

Any class or interface type

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

A.

dirname()

realpath()

B.

basename()

C.

pathinfo()

D.

parse_url()

You want to test if a string matches a relatively complex pattern. Which of the following functions can you use? (Choose 2)

A.

match()

B.

preg_match()

C.

ereg()

D.

regex()

Identify the security vulnerability in the following example:

1

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

3 ?>

A.

SQL Injection

B.

Cross-Site Scripting

C.

Remote Code Injection

D.

None of the above

When a transaction reports no affected rows, it means that: (Choose 2)

A.

The transaction failed

B.

The transaction affected no lines

C.

The transaction was rolled back

D.

The transaction was committed without error

Which sentence describes the following regular expression match?

preg_match('/^\d*(?:\.[0-9]+)?$/', $test);

A.

It matches float numbers with thousand separators.

B.

It matches float numbers without thousand separators.

C.

It matches binary integer numbers.

D.

It matches any string.

E.

It does not match anything