Parsing command-line arguments

From: Date: Fri, 11 Aug 2000 21:10:36 +0000
Subject: Parsing command-line arguments
Groups: php.general 
Request: Send a blank email to php-general+get-11415@lists.php.net to get a copy of this message
OK, this may be a sick and twisted question, but I'd rather write the code once. :) What facilities are there in PHP for parsing command line arguments? And does it "know" how it's being invoked? I want to share a significant hunk of code between the compiled-into-apache code and some command line stuff. -- _Deirdre * http://www.sfknit.org * http://www.deirdre.net "We can always count on the British. Except for the Revolutionary War they've been perfect." -- Mel Brooks, on the first Concorde flight since the Paris crash.

« previous php.general (#11415) next »