in cmd?
Yes.
Not the response you were looking for? Try asking a well-formed question instead.
echo does the same thing when using the cli
"Chapter 44. Using PHP from the command line" - php manual
I had different idea about it, unfortunately it didn't give me much help but still I learned something new.
Thank you for your responses.