Quiz Stack
  • About
  • Basics
  • Basics II
  • Basics III
  • Control Structures
  • Control Structures II
  • Loops
  • Functions
  • Functions II
  • Functions III
  • Arrays
  • Arrays II
  • Arrays III
  • Strings & Regular Expressions
  • Forms & User Input
  • Superglobals
  • Superglobals II
  • OOP
  • OOP II
  • OOP III
  • OOP iV
  • Namespaces & Autoloading
  • Error Handling & Exceptions
  • File Handling
  • Database & Backend Integration
  • Security
  • Security II
  • PHP Misc Features
  • APIs & Modern PHP
  • Laravel basics
  • Symfony basics
  • Routing
  • Controllers
  • Framework Ecosystem
  • Testing
Quiz Stack

© 2026 Quiz. All Rights Reserved.

  • Terms and condition
  • Privacy Policy
  • Contact Page

Ready to Level Up?

Test your knowledge on PHP Functions II Quiz: Variable Functions, Anonymous & Arrow Functions (PHP 7.4+) Interview Practice. This quiz contains 10 questions.

Level: Beginner
Topic: functions-ii

Variable function call basics

What is the output of the following PHP code? ```php <?php function greet() { return "Hi"; } $fn = "greet"; echo $fn(); ```
Question 01 / 10