ããã¯ã©ãå¼ãã ãããã®ããª? ã³ã¼ã«ããã¯?2008-11-18 - ã¨ã³ã¸ãã¢ãã¾ããTipshttp://jp.php.net/manual/ja/functions.variable-functions.phpããã¯å¯å¤é¢æ°ã¨å¼ã¶ã¨æãã¾ãã以åãããä»ãã使ãæï¼ãã¨ããã±ã¼ã¹ã«ééããè¦ãããªããå¯å¤å¤æ°ãå¯å¤é¢æ°ã好ãã§ä½¿ã£ããã¨ãªããªããgrepçã§å¤æ°åãé¢æ°åãæ¤ç´¢ã§ããªãã¦ã³ã¼ãã®å¯èªæ§ä½ä¸ãè¾ããå¯å¤å¤æ°ã使ããªãé å使ã£ãæ¹ã便å©ã ããå¯å¤å¤æ°ãããªããã§ããªããã¨ãï¼ã»ã¼ï¼ãªãã¨æããå¯å¤é¢æ°ã使ããã¿ã¼ã³ãç¡çããããã¿ã¼ã³ããæãæµ®ãã°ãªãã£ãã function getFuncName($name) { switch ($name) { case 'kazukichop': return 'func1'; break; case 'others': ret
{{#tags}}- {{label}}
{{/tags}}