Declaring a Function with Arguments : Parameters « Functions « PHP
- PHP
- Functions
- Parameters
Declaring a Function with Arguments
<?php
function printcheck ($sometext){
print ("$sometext \n");
}
printcheck ("A.");
printcheck ("AA.");
printcheck ("AAA!");
?>
Related examples in the same category