A
Q. What is the result of the following PHP code?
Code:
<?php
$mail = "admin@example.com";
$mail = str_replace("a","@",$mail);
echo "Contact me at $mail.";
?>
$mail = "admin@example.com";
$mail = str_replace("a","@",$mail);
echo "Contact me at $mail.";
?>
- Correct Answer - Option(A)
- Views: 26
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.