Re: Re: Idea for an OOP frontend for Console/Getopt.php

From: Date: Sun, 01 Feb 2004 19:40:39 +0000
Subject: Re: Re: Idea for an OOP frontend for Console/Getopt.php
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25392@lists.php.net to get a copy of this message
On Sun, 1 Feb 2004 20:36:56 +0100 Christian Hammers <ch@lathspell.de> wrote: > So to see if "--key" was given, you would have to do a foreach loop > and check for [0]=="--key" (or do I miss a proper array function?). Dunno how you work with arguments but I always have toloop through them and do the appropriate actions. And note that is how works most of getopt functions all around. pierre

« previous php.pear.dev (#25392) next »