Q:

What will be the output of the following PHP code ?

0

What will be the output of the following PHP code ?

<?php
function email()
{
    $email = ’user@yahoo.com’;
    $new = strstr($email, ‘@');
    echo $new;
}
email();
?>

  1. user
  2. [email protected]
  3. @yahoo.com
  4. yahoo.com

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (c).@yahoo.com

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now