Lines Matching refs:function
2 General function test
6 echo "Before function declaration...\n";
8 function print_something_multiple_times($something,$times)
10 echo "----\nIn function, printing the string \"$something\" $times times\n";
14 echo "Done with function...\n-----\n";
17 function some_other_function()
19 echo "This is some other function, to ensure more than just one function works fine...\n";
23 echo "After function declaration...\n";
25 echo "Calling function for the first time...\n";
27 echo "Returned from function call...\n";
29 echo "Calling the function for the second time...\n";
31 echo "Returned from function call...\n";
38 Before function declaration...
39 After function declaration...
40 Calling function for the first time...
42 In function, printing the string "This works!" 10 times
53 Done with function...
55 Returned from function call...
56 Calling the function for the second time...
58 In function, printing the string "This like, really works and stuff..." 3 times
62 Done with function...
64 Returned from function call...
65 This is some other function, to ensure more than just one function works fine...