note 79818 added to features.commandline
| From: | navigatoratmoldovadotcc at osu1 dot php dot net | Date: | Thu, 13 Dec 2007 20:45:02 +0000 |
| Subject: | note 79818 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133433@lists.php.net to get a copy of this message | ||
just another easy arguments like "register_globals" option:
<?php
foreach ($argv as $arg)
{
if (preg_match("/-*([a-zA-Z0-9]+)=[\"']*(.*)[\"']*/", $arg, $m) ===
1)
{
$$m[1] = $m[2];
}
}
?>
----
Server IP: 147.32.160.17
Probable Submitter: 84.42.166.171
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- https://master.php.net/note/edit/79818
Del: integrated -- https://master.php.net/note/delete/79818/integrated
Del: useless -- https://master.php.net/note/delete/79818/useless
Del: bad code -- https://master.php.net/note/delete/79818/bad+code
Del: spam -- https://master.php.net/note/delete/79818/spam
Del: non-english -- https://master.php.net/note/delete/79818/non-english
Del: in docs -- https://master.php.net/note/delete/79818/in+docs
Del: other reasons-- https://master.php.net/note/delete/79818
Reject -- https://master.php.net/note/reject/79818
Search -- https://master.php.net/manage/user-notes.php