My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to write PHP in terminal

Afowowe Olumide's photo
Afowowe Olumide
·Apr 19, 2020

If you like to play around in terminal; with php you may like this article
write this command in your command prompt or any terminal you are using

php -a

php shell.png

To exit just enter

cmd + c