Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jjohn (22)

  (email not shown publicly)
AOL IM: taskboy3000 (Add Buddy, Send Message)

Perl hack/Linux buff/OSS junkie.

Journal of jjohn (22)

Wednesday October 09, 2002
10:37 AM

PHP has own interpreter, HTTP server!

[ #8271 ]

Perky PHP is branching out into Real Programming with its standalone interpreter. The guys must think this is the bees' knees because one of them has written an HTTP server in PHP! Surely we'll be seeing more standalone PHP programs in the future. *wink*

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • My favourite part of that web site is because it's running inside a VM, it's quite secure. Uh huh.


  • PHP has had standalone interpreter for a while. We've written command-line utilities that have to use PHP because of existing libraries.

    PHP doesn't (yet) have argument processing, so I whipped up this little subset of Getopt::Long. It uses a warn() function that I leave to the reader as an exercise to implement. Please forgive the hosed indents. If you want a clean copy, email me.



    GetOptions() takes an array of field specifications that describe what
    command line options are valid, and how