Işlevi bir değişken echo nasıl

0 Cevap

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

0 Cevap