I'd like to pass it's value as an argument into my function
function dostuff($input) {
global $input;
if ($input == 5) {
$output = "Success";
} else {
$output = "Failure";
}
echo $output;
}
Why does running
dostuff(5);
Not echo the output variable ("Success") like it's supposed to?