Re: [PHP-DEV] PHP-4.3.0RC3 Windows - getopt function

2002-12-15 Thread l0t3k
i took a look at the man pages and php docs. seems straight forward. give me a few days and i'll report back to the list. actually the code that i have can handle long as well as short args e.g. -f or --foo , as well as being able to specify whether an argument is optional or required. the code is

Re: [PHP-DEV] PHP-4.3.0RC3 Windows - getopt function

2002-12-15 Thread l0t3k
Hartmut, point me to some docs and i'll see what i can do. i have an opt parser from another project that i can possibly modify, and i have PHP setup as a project in MSVC. l0t3k "Hartmut Holzgraefe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Kjartan Manne

Re: [PHP-DEV] PHP-4.3.0RC3 Windows - getopt function

2002-12-12 Thread Hartmut Holzgraefe
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. I

[PHP-DEV] PHP-4.3.0RC3 Windows - getopt function

2002-12-12 Thread Kjartan Mannes
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 j