Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Last Attempt ZF-100-500 Questions

Page: 5 / 5
Total 130 questions

ZF-100-500 Questions and Answers

Question 17

Consider the following code segment:

1.

2. require_once 'Zend/Mail.php';

3. ?????????????????????????

4. $mail->setBodyText('This is the test email.');

5. $mail->setFrom('somebody@example.com', 'Send er');

6. $mail->addTo('somebody_else@example.com', 'Recipient');

7. $mail->setSubject('TestSubject');

8. $mail->send();

9. ?>

Which of the following code snippets will you use at line number 3 to initiate Zend_Mail?

Options:

A.

$mail = new Zend_Mail();

B.

$mail => initialize_Zend_Mail();

C.

$mail -> Zend_Mail();

D.

$mail => Zend_Mail();

Question 18

Which of the following resource objects is used to support Zend_Acl?

Options:

A.

No

B.

Multiple

C.

Single

D.

Cyclic

Question 19

Which of the following will NOT display the value of $debug_variable? Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

echo Zend_Debug::dump($debug_variable, 'debug_variable', false);

B.

print(Zend_Debug::dump($debug_variable, 'd ebug_variable', true));

C.

ob_start(); Zend_Debug::dump($debug_variable, 'debug_variable', false); ob_end_flush();

D.

Zend_Debug::dump($debug_var iable, 'debug_variable', true);

Page: 5 / 5
Total 130 questions