¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
What is the difference between echo and die() or are they same?
1 Respuesta
+ 1
The die() function can accept an optional argument string that it will output just before terminating the script.
echo() only outputs its arguments, it will not terminate the script.