PHP

Default Values

<?php
   function doFoo($Name = "Paul") {
      return "Foo $Name!\n";
   }

   doFoo();
   doFoo("Paul");
   doFoo("Andrew");
?>

José M. Vidal .

9 of 33