New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 31 Topic 4 Discussion

Zend PHP 5 Certification 200-500 Question # 31 Topic 4 Discussion

200-500 Exam Topic 4 Question 31 Discussion:
Question #: 31
Topic #: 4

You want to access the 3rd character of a string, contained in the variable $test. Which of the following possibilities work?(Choose 2)


A.

echo $test(3)


B.

echo $test[2];


C.

echo $test(2);


D.

echo $test{2};


E.

echo $test{3}


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.