List Info

Thread: note 78078 added to function.getopt




note 78078 added to function.getopt
user name
2007-09-26 23:54:02
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  -- h
ttps://master.php.net/note/delete/78078/integrated
Del: useless     -- http
s://master.php.net/note/delete/78078/useless
Del: bad code    -- htt
ps://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     -- http
s://master.php.net/note/delete/78078/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78078
Reject      -- https://mast
er.php.net/note/reject/78078
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


note 78078 deleted from function.getopt by bjori
user name
2007-09-27 07:28:41
Note Submitter: bozo_z_clown at yahoo dot com
Reason: bad code

----

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.

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )