diff options
Diffstat (limited to 'testfunc2')
-rw-r--r-- | testfunc2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testfunc2 b/testfunc2 new file mode 100644 index 0000000000..9bcae0f183 --- /dev/null +++ b/testfunc2 @@ -0,0 +1,19 @@ +<? +function foo($i) +{ + if ($i) { + $a = "zeev"; + } else { + $b = "andi"; + } +} + + +function bar($a) +{ + foo($a); +} + +for ($i=0; $i<1000000; $i=$i+1) { + bar($i); +} |