πŸ“Š PHP
Q. What is the result of the following PHP code?
Code:
<?php 
    $url = "admin@mcqbuddy.com";
    echo ltrim(strstr($url, "@"),"@");
?>
  • (A) admin
  • (B) mcqbuddy.com
  • (C) admin@mcqbuddy.com
  • (D) @mcqbuddy.com
πŸ’¬ Discuss
βœ… Correct Answer: (B) mcqbuddy.com

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
31238
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Akshay Kulkarni
Publisher
πŸ“ˆ
95%
Success Rate