πŸ“Š PHP
Q. What will be the output?
Code:
$a = 'Hello World';
echo substr($a, 6);
  • (A) Hello
  • (B) World
  • (C) Hello World
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) World

Explanation: Substring starting from index 6.

Explanation by: Roshan
Substring starting from index 6.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
3
Total Visits
πŸ“½οΈ
8 d ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
90%
Success Rate