diff options
Diffstat (limited to 'testfunc')
| -rw-r--r-- | testfunc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testfunc b/testfunc new file mode 100644 index 0000000000..cb55a66a6f --- /dev/null +++ b/testfunc @@ -0,0 +1,36 @@ +<? +function foo() +{ + $i=0; + + if ($i) { + $a = "zeev"; + } else { + $b = "andi"; + } +} + + +function bar() +{ + foo(); +} + +for ($i=0; $i<100000; $i++) { + bar(); +} + + +for ($i=0; $i<10; $i++) { + bar(); +} + +print "Got here... + +"; + +$a = 7; + +$a = 5; + +print "Got here...\n\n";
\ No newline at end of file |
