Re: PHP-4.3.0RC3 Windows - getopt function

From: Date: Thu, 12 Dec 2002 13:14:34 +0000
Subject: Re: PHP-4.3.0RC3 Windows - getopt function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-92409@lists.php.net to get a copy of this message
Kjartan Mannes wrote:
The NEWS file mentions a new function getopt(), but I can not get this to work under windows. Fatal error: Call to undefined function: getopt() My guess is that getopt() isn't a standard system function, but PHP mimics the function as it handles command line arguments. Is this intentional or just an oversight?
for now it is Unix-only ( Actualy it is protected by #if HAVE_GETOPT and configure deals with it checking for getopt() in libc. On Windows there is nothing like configure so this has to be solved in a different way. ) any Win32 volunteers? -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: hartmut@six.de Tel.: +49-711-99091-77

« previous php.dev (#92409) next »