Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
function email()
{
$email = ’contact@examveda.com’;
$new = strstr($email, ‘@');
echo $new;
}
email();
?>
Answer : Option C
Explanation :
The strstr() function searches for the first occurrence of a string inside another string.
Be The First To Comment