On Tue, 2003-02-11 at 18:27, Svensson, B.A.T. (HKG) wrote:
> Also excuse my limited ignorant knowledge about PHP, but
> my impression about PHP is that it is runs as an instance
> of the web server or something? (Please, correct me if I
> made any fundamental mistake here!)

Yes and no.  It can be run both as a SAPI module (running in Apache,
IIS, Netscape or another web server) or as a stand-alone process in what
is called CGI and CLI modes.  There is even wrappers for writing Gtk+
applications with PHP using these modes (the wrapper is called PHP-GTK I
think).

I would say PHP is just as "all-round" as Perl actually, and I have
personally switched from Perl to PHP completely because I prefer PHP's
more "C-like" syntax.  Maybe you should Read The Fine Manual, Anders? 
:-)
 
> On the other hand I can imagine an performance difference
> on doing this with C/C++, which would be my natural choose
> when writing a cmd line parser. 

But then again, doing the parser would be a much more time-consuming
process.  And even worse, we're on the wrong mailing list for that... :)

-- 
Best regards,

Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.capio.com


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to