News for hackers. Stuff that matters.
Re:What is better as a scripting language: PHP-CLI or Python? by racy_rick on Tuesday February 23, 2010 @02:50PM (#1146233)
PHP CLI is brilliant and once I found out about it writing scripts and cron jobs became a lot simpler.

I have php scripts that run on the command line that run for long periods of time. I have also found a lot of ways to reuse code originally written for our website.

I don't know about memory consumption problems, but I have php scripts that are coded functionally (not OO) that run for an hour (processing HUGE amounts of data).

Re:What is better as a scripting language: PHP-CLI or Python? by pkeane on Tuesday February 23, 2010 @05:08PM (#1146592)
yes -- scripts I have had memory problems with stopped having such problems when I rewrote them as procedural (not OO) code.