News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Command-line PHP? Yes, you can!
March 19, 2007 @ 09:54:00

On the IBM developerWorks website, there's a new article that works to show some of the benefits of working with PHP code on the command line and some helpful ways to debug the code.

Of course, just the fact that you can use PHP on the command line isn't necessarily the best reason for doing so. However, you might quickly find several pleasant surprises when you first begin to experiment with PHP in this way. [...] In fact, there's really nothing stopping you from using PHP as your Swiss Army knife for almost any given programming project.

They walk through the installation and a sample of the debugging before getting into the more complex methods of finding and fixing errors, using the PHP I/O channels and the creation of your first command-line script (including the use of arguments).

0 comments voice your opinion now!
commandline install debug error locate inputoutput channel commandline install debug error locate inputoutput channel


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Setting Custom Error Messages for Zend_Form_Element

Kevin van Zonneveld: It's Almost 2014 and We Are Still Committing Broken Code

IBM developerWorks: Command-line PHP? Yes, you can!

Joshua Thijssen: Debugging remote CLI with phpstorm

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)


Community Events





Don't see your event here?
Let us know!


deployment introduction zendserver framework library package series laravel tips unittest api language install release symfony opinion podcast update community interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework