dize ile php arama standart fonksiyonu

1 Cevap

Ben bir dizeden bir PHP standart fonksiyon çağırmak zorunda

Örnek:

$param = "parameter";
$functionname = "createimagefromjpg";
//call the function (with a parameter)

Anyone has an idea how I can do this? It can't be done with call_user_func() because it is a standard function.

1 Cevap

Düzeltme, tamam ben bu işe düşündüm:

$$functionname($param);

ama .... bir dolar işareti ile örnek fonksiyonlar için çalışıyor değil. Güzel.