Return to 011.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / basic |
version 1.1.1.1, 2012/02/21 23:48:06 | version 1.1.1.2, 2012/05/29 12:34:34 |
---|---|
Line 6 register_argc_argv=1 | Line 6 register_argc_argv=1 |
ab+cd+ef+123+test | ab+cd+ef+123+test |
--FILE-- | --FILE-- |
<?php | <?php |
$argc = $_SERVER['argc']; | |
if (!ini_get('register_globals')) { | $argv = $_SERVER['argv']; |
$argc = $_SERVER['argc']; | |
$argv = $_SERVER['argv']; | |
} | |
for ($i=0; $i<$argc; $i++) { | for ($i=0; $i<$argc; $i++) { |
echo "$i: ".$argv[$i]."\n"; | echo "$i: ".$argv[$i]."\n"; |