mirror of
https://github.com/php/php-src.git
synced 2024-10-07 09:46:10 +00:00
18 lines
200 B
Plaintext
18 lines
200 B
Plaintext
|
--TEST--
|
||
|
Testing $argc and $argv handling
|
||
|
--POST--
|
||
|
--GET--
|
||
|
ab+cd+ef+123+test
|
||
|
--FILE--
|
||
|
<?php
|
||
|
for($i=0;$i<$argc;$i++) {
|
||
|
echo "$i: ".$argv[$i]."\n";
|
||
|
}
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
0: ab
|
||
|
1: cd
|
||
|
2: ef
|
||
|
3: 123
|
||
|
4: test
|