Işlevi bir değişken echo nasıl? Bu bir örnek koddur.
function test() { $foo = 'foo'; //the variable } test(); //executing the function echo $foo; // no results in printing it out