It’s pretty easy to test PHP code. However, sometimes you just need to validate a short snippet of PHP.
For example, here at Learn PHP in 24 Hours, we’re constantly writing up short PHP examples. Naturally it’s important they actually work and testing the snippet can feel a little cumbersome considering you may only need to validate a line or two of code.
So whether you’re just learning PHP and want to test out your new PHP skills or you just need to validate a snippet of code, there is a solution:
Check out codepad! codepad will interpret your PHP code on the fly. All you need is a browser and a web connection. You can also test Ruby, Perl, C++, etc.
Figure 1. codepad in action
Back to Learn PHP in 24 Hours for more fun














Written by admin
Topics: PHP Tools