Heim  >  Fragen und Antworten  >  Hauptteil

Was bedeutet $func und wie kam es dazu?

$ func = 'Bild'. $ Type;

LiuBoLiuBo2586 Tage vor1757

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-08-24 18:07:17

    $func = 'image'.$type;
    $func($soruceRes,$path);


    $func是动态拼接的函数名。

    Antwort
    0
  • StornierenAntwort