Interview Question

echo vs print?

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

💡 Concept ✅ Quick Revision 💻 PHP

Answer

Both output strings; echo can take multiple args; print returns 1.