πŸ“Š PHP
Q. How do you declare a PHP function named 'test'?
  • (A) function test() {}
  • (B) def test() {}
  • (C) func test() {}
  • (D) declare test() {}
πŸ’¬ Discuss
βœ… Correct Answer: (A) function test() {}

Explanation: The keyword 'function' is used to declare functions in PHP.

Explanation by: Rati Dubey
The keyword 'function' is used to declare functions in PHP.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
47
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
95%
Success Rate