Rumah  >  Soal Jawab  >  teks badan

Apakah maksud $func dan bagaimana ia terhasil?

            $func = 'imej'.$type;                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                           $                                                                                            '                                                            

LiuBoLiuBo2636 hari yang lalu1800

membalas semua(1)saya akan balas

  • PHP中文网

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

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


    $func ialah nama fungsi penyambungan dinamik.

    balas
    0
  • Batalbalas