note 78078 added to function.getopt
| From: | bozo_z_clown at yahoo dot com | Date: | Thu, 27 Sep 2007 04:54:02 +0000 |
| Subject: | note 78078 added to function.getopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130819@lists.php.net to get a copy of this message | ||
The code by koenbollen at gnospamail dot com works nicely but the addition of one line would make it
perfect. After setting $argv to the result of array_merge():
<?php
$argc = count($argv);
?>
Now $argc corresponds to the new $argv.
----
Server IP: 69.147.83.197
Probable Submitter: 64.105.91.114
----
Manual Page -- http://www.php.net/manual/en/function.getopt.php
Edit -- https://master.php.net/note/edit/78078
Del: integrated -- https://master.php.net/note/delete/78078/integrated
Del: useless -- https://master.php.net/note/delete/78078/useless
Del: bad code -- https://master.php.net/note/delete/78078/bad+code
Del: spam -- https://master.php.net/note/delete/78078/spam
Del: non-english -- https://master.php.net/note/delete/78078/non-english
Del: in docs -- https://master.php.net/note/delete/78078/in+docs
Del: other reasons-- https://master.php.net/note/delete/78078
Reject -- https://master.php.net/note/reject/78078
Search -- https://master.php.net/manage/user-notes.php