Programming Languages PHP Objective
Mar 15, 2013

The following piece of script will output:

<?

$email=’admin@psexam.com’;

$new=strstr($email, ‘@&rsquo;

print $new;

?>

Choose the correct answer:
A) admin
B) admin@psexam
C) @psexam.com
D) psexam.com
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback