Interview Question

What is a function in PHP?

Short, clear answer + key notes. Use the sidebar to browse more questions.

💡 Concept ✅ Quick Revision 💻 PHP

Answer

Reusable block of code defined with function name() { ... } and callable by name.