Scottnsd
3/16/2019 - 6:19 PM

Function example

<?php

// This is definitely a function definition, since it's got the word "function"
function say_hello() {
	echo 'Hello world!';
}

// This is definitely not a function definition, since it doesn't have the word "function"
$var = 12345;

// This is definitely not a function definition (it does happen to be a function call, though)
say_hello();

?>