πŸ“Š PHP
Q. What will be the output?
Code:
echo date('Y');
  • (A) Current year
  • (B) 1970
  • (C) Error
  • (D) NULL
πŸ’¬ Discuss
βœ… Correct Answer: (A) Current year

Explanation: date('Y') returns current year.

Explanation by: Roshan
date('Y') returns current year.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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