|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-10-10 10:53 UTC] 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);
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 06:00:01 2025 UTC |
the commit message says getopt with long options reverted to configure problems (may find the wrong getopt.h so needed structures are not defined :( ) have to dig through the archives to see what that really was about ...