summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>1999-10-15 06:31:40 +0000
committerAndi Gutmans <andi@php.net>1999-10-15 06:31:40 +0000
commit4a8cac08789ee018cee5d24e06d395b2f574870a (patch)
tree839eb257c90d7a7820ba2e701cd8e4d7155c794d /tests
parent4d7c162d162fe46ad3b6c420bfff23c3b82b0b2c (diff)
downloadphp-git-4a8cac08789ee018cee5d24e06d395b2f574870a.tar.gz
- Converted math.c to use new convert_to_number_ex() macro.
Diffstat (limited to 'tests')
-rw-r--r--tests/testarray4
-rw-r--r--tests/testfuncref2
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"}();