PHPepl: The PHP Repl

I really wanted a read-eval-print-loop (repl) that I can use for learning PHP and tinkering with various parts of the language in isolation of a project’s codebase. I couldn’t find one online, so I built it.

It’s super simple and only took a couple of hours to create – which means that I didn’t spend much time worrying about sandboxing for security. The repl is secured by the hosting provider’s php configuration: removing access to the harmful functions. I’ve recently added another layer of blacklisted functions to the eval script. It should be pretty stable.

Source code available on github!

Hope it helps!