On Fri, May 16, 2008 at 12:27 AM, Ryan Schmidt <
subversion-2008b_at_ryandesign.com> wrote:
>
> On May 15, 2008, at 4:02 PM, Hari Kodungallur wrote:
>
> But I believe the idea is to provide the user with information on how you
>> can use the hooks to accomplish different things. Once you have the info,
>> you are free to use any language you wish. [Unless some sort of 'web' is
>> involved, I have not too many instances of php being used purely for
>> scripting; but I could be wrong.].
>>
>
> Since version 4.3, PHP can be used for command-line scripts, not just for
> making web pages. I write most of my command-line scripts in PHP, so I don't
> have to learn yet another language.
Not disputing that. I was just commenting that usually it is used as scripts
in a web development environment where there are php being written for the
web anyway. With that in mind, I think it is fair that most of the examples
you find out there are in python, perl and bash etc. However, as I said in
the mail, once one knows all the information to write a script, he or she is
free to write it in any language.
Thanks,
-Hari
Received on 2008-05-16 17:42:40 CEST