Functions and References : Parameters : Functions PHP Source Code


PHP Source Code » Functions » Parameters »

 

Functions and References




<?php
     $val1 = "";
     $val2 = "";
   
     function return_multi_value(&$value1, &$value2)
     {
          $value1 = "This is the first value";
          $value2 = "This is the second value";
     }
   
     return_multi_value($val1, $val2);
     print("$val1<br />$val2<br />");
?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Functions
» Parameters