Today I Learned

hashrocket A Hashrocket project

Enter the PHP REPL

Working in a language you've never worked in before can be challenging. We've been doing some PHP source-diving lately, and I find having a REPL very useful for decoding unfamiliar syntax.

If you have PHP installed, entering the REPL is easy; just type php -a. The flag stands for Run as interactive shell. I guess the -i flag was already taken.

See More #workflow TILs