File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
tests /
basic /
011.phpt
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:34 2012 UTC (12 years, 5 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
1: --TEST--
2: Testing $argc and $argv handling (GET)
3: --INI--
4: register_argc_argv=1
5: --GET--
6: ab+cd+ef+123+test
7: --FILE--
8: <?php
9: $argc = $_SERVER['argc'];
10: $argv = $_SERVER['argv'];
11:
12: for ($i=0; $i<$argc; $i++) {
13: echo "$i: ".$argv[$i]."\n";
14: }
15:
16: ?>
17: --EXPECT--
18: 0: ab
19: 1: cd
20: 2: ef
21: 3: 123
22: 4: test
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>