Q. What will be the output of the following PHP code?
Code:
<?php $url = "ruchi@sharma.com"; echo ltrim(strstr($url, "@"),"@"); ?>
β
Correct Answer: (D)
sharma.com
<?php $url = "ruchi@sharma.com"; echo ltrim(strstr($url, "@"),"@"); ?>
You must be Logged in to update hint/solution