Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function math_function($val1, $val2, $string){
- $math = $val1 + $val2;
- return array($math, $string);
- }
- list($mathval, $stringval) = math_function(10,5, "The result");
- echo $stringval ." ". $mathval;
Advertisement
Add Comment
Please, Sign In to add comment