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

Consider the following two files. When you run test.php, what would the output look like?

A.

12, 12

B.

12, 24

C.

24, 12

D.

24, 24

E.

PHP Fetal error. Cannot redeclare strlen()

What is the output of the following code?

$a = 3;

switch ($a) {

case 1: echo 'one'; break;

case 2: echo 'two'; break;

default: echo 'four'; break;

case 3: echo 'three'; break;

}

A.

one

B.

two

C.

three

D.

four

What is the output of the following code?

$a = 1;

++$a;

$a*=$a;

echo $a--;

A.

4

B.

3

C.

5

D.

0

E.

1

What is the output of the following code:

str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");

A.

Apples are orange and Oranges are green

B.

Apples are orange and Apples are green

C.

Apples are apple and Oranges are green

D.

Apples are apple and Apples are green

How many array elements will be found in the return value of:

split(".", "

A.

B.C")

B.

2

C.

3

D.

1

E.

6

F.

4

What is the output of the following code?

printf('%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s', "bananas",

"monkeys", 9, 99);

A.

%4$d %2$s sit on 2 trees and eat %3$3.2f %1$s

B.

99 monkeys sit on 2 trees and eat 9.00 bananas

C.

Monkeys Bananas sit on 2 trees and eat 9 99

D.

9 monkeys sit on 2 trees and eat 99 bananas