Home  >  Q&A  >  body text

What does $func mean and how did it come about?

          $func = 'image'.$type;  
                                                                                  ’ ’s ’ ’s ’ to to ’s' ’s           out out out out out out out out over out over'' ‐‐ ‐‐‐‐‐‐‐‐ and ? _ .'.'.$type;
                                                                                                                                  filename'].'.'.$type;
}
                                                                                                                                 $soruceRes,$path);
     
                                                                                                                   

LiuBoLiuBo2517 days ago1652

reply all(1)I'll reply

  • PHP中文网

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

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


    $func is the function name of dynamic splicing.

    reply
    0
  • Cancelreply