PHP-4.3.0RC3 Windows - getopt function
| From: | Kjartan Mannes | Date: | Thu, 12 Dec 2002 12:05:38 +0000 |
| Subject: | PHP-4.3.0RC3 Windows - getopt function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92406@lists.php.net to get a copy of this message | ||
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?
Running on Windows XP using:
PHP 4.3.0RC3 (cli) (built: Dec 12 2002 01:24:29)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
--
Kjartan <kjartan@zind.net> (http://natrak.net/)
:: "A program is a spell cast over a computer, turning input
into error messages."