1.

What will be the output of the following PHP code?
<?php
$contact = "inter0view@mania.com";
$contact = str_replace("0","@",$contact);
echo "Contact to the Interview Mania web designer at $contact.";
?>

A. Error
B. Nothing
C. Contact to the Interview Mania web designer at inter@view@mania.com.
D. Contact to the Interview Mania web designer at inter0view@mania.com.
E. None of these
Answer» D. Contact to the Interview Mania web designer at inter0view@mania.com.


Discussion

No Comment Found

Related MCQs