Skip to content

Instantly share code, notes, and snippets.

@gakyoo
Created November 4, 2011 21:39
Show Gist options
  • Save gakyoo/1340554 to your computer and use it in GitHub Desktop.
Save gakyoo/1340554 to your computer and use it in GitHub Desktop.
How to work around with php functions
<?php
function function_name($parameters, $param2, $para3 = ""){
// what you want to do with the parameters entered
if(strlen($para1 !== 0)){
echo "Has ".$para1." Characters";
}
// the third parameter is option you can choose to add
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment