Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dvprog_11 [2017-02-27 09:44] Daniel Viström |
dvprog_11 [2017-02-27 09:48] Daniel Viström |
||
---|---|---|---|
Line 14: | Line 14: | ||
*/ | */ | ||
function summa($tal1, | function summa($tal1, | ||
- | |||
- | $test = ' | ||
- | echo $test . '< | ||
$summa = $tal1 + $tal2; | $summa = $tal1 + $tal2; | ||
$tal1 = 1000; // $tal ändras bara i funktionen. | $tal1 = 1000; // $tal ändras bara i funktionen. | ||
+ | $test = ' | ||
+ | echo $test . '< | ||
return $summa; | return $summa; | ||
} | } |