Zend
ZF-100-500 · Question #13
ZF-100-500 Question #13: Real Exam Question with Answer & Explanation
Sign in or unlock ZF-100-500 to reveal the answer and full explanation for question #13. The question stem and answer options stay visible for context.
Question
Consider the following code segment: 1. <?php 2. require_once 'Zend/Mail.php'; 3. ????????????????????????? 4. $mail->setBodyText('This is the test email.'); 5. $mail->setFrom('[email protected]', 'Send er'); 6. $mail->addTo('[email protected]', '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();
Unlock ZF-100-500 to see the answer
You've previewed enough free ZF-100-500 questions. Unlock ZF-100-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.