diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testarray | 4 | ||||
-rw-r--r-- | tests/testfuncref | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/testarray b/tests/testarray index 2928fff025..a8d3d66a91 100644 --- a/tests/testarray +++ b/tests/testarray @@ -4,11 +4,11 @@ This is a small test... * this is a multiline comment... */ -//for ($j=0; $j<=200; $j++) { +for ($j=0; $j<=20; $j++) { for ($i[0][0]=0; $i[0][0]<10000; $i[0][0]++) { $i[1] += $i[0][0]; // this is a single line comment } -//} +} /* this is another multi line diff --git a/tests/testfuncref b/tests/testfuncref index 675c70de81..217e4d14e0 100644 --- a/tests/testfuncref +++ b/tests/testfuncref @@ -5,4 +5,6 @@ function foobar() print "foobar\n"; } +$foobar = "foobar"; + $a = ${"foo"."bar"}(); |