Is't possible to store function at the variable
like this :
function print () { echo "HELLO"; }
$var1 = print ();
thanks in advance
MERSAL
use the return value of a function
function a() { return "hello"; };
echo a(); $var = a(); echo $var;
Thank you for reply speed