Category Archives: Programming

Posts that describe various programming techniques or contain source code snippets that accomplish specific tasks or solve specific problems.

PHP Interactive Interpreter

The PHP interpreter supports running it in interactive mode by using the –interactive (short equivalent: -a) command-line switch. Running an interactive PHP shell can be useful when you need to quickly try code snippets. But, for this mode to be fully functional, PHP has to be compiled with readline support. Unfortunately, on CentOS PHP has…

Continue reading