Why echo and print are not Functions in PHP and their differences
I hear few of my colleagues call ‘echo‘ and ‘print‘ as functions in PHP. But actually they are not. According to the descriptions from ‘php.net‘, echo and print are language constructs and not functions. It means, you are not required to use parenthesis for both ‘echo‘ and ‘print‘ (you can use parenthesis,…