I don’t understand this code:
$outputFunction($dst, $resized, $quality);
It’s not a function e.g myfunction()
It’s not a variable e.g $variable = $variable2
What is it?
The code works in the script i have downloaded, i just can’t figure out how that piece of code can work…maybe i’m just tired or something..
Thanks.
$outputFunction holds the name of the function. Thus, if $outputFunction holds the value
"calculate", thencalculate($dst, $resized, $quality)is invoked.