Q. What is the result of the following PHP code?
Code:
<?php
$url = "admin@mcqbuddy.com";
echo ltrim(strstr($url, "@"),"@");
?>
β
Correct Answer: (B)
mcqbuddy.com