Ever wanted to quickly test out a php function or a snippet of code without actually creating a new .php file & running it on a web server? In this article we are going to discuss how to display the output of some php code and display it in a mini command window using some basic batch files.
Preview:
Instructions:
This should open "test.php" in your default php editor and display output in a small window. Now you may edit code in test.php as you need to and press any key in the output window to update itself.
This is handy when you need to quickly try out some functions related to string manipulation, loops, etc.