ID: 30380
Updated by: [EMAIL PROTECTED]
Reported By: per at computer dot org
-Status: Open
+Status: Assigned
Bug Type: PHP options/info functions
Operating System: linux 2.4.27
PHP Version: 4.3.9
-Assigned To:
+Assigned To: hholzgra
New Comment:
Hartmut,
what was the reason why you disabled this again?
Derick
Previous Comments:
------------------------------------------------------------------------
[2004-10-10 11:04:06] per at computer dot org
I tried configuring and building 4.3.8 with CFLAGS=-DHARTMUT_0 - just
in case I'd missed something. The build went fine, now I'll check if
the long options are also working.
------------------------------------------------------------------------
[2004-10-10 10:53:12] per at computer dot org
Description:
------------
According to the manual, getopt() supports long options. However, in a
standard build I receive the following:
Warning: getopt(): No support for long options in this build in <file>
Some investigation shows that getopt_long is only used when HARTMUT_0
is defined in the source.
Reproduce code:
---------------
$options=array("aa","bb","cc");
$opt=getopt("",$options);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30380&edit=1