9 Useful PHP Functions and Features You Need to Know | Nettuts ç¥ã£ã¨ãã¨ä¾¿å©ãªPHPã®ãã¯ããã¯ï¼ã¤ãæ²è¼ããã¦ãã¾ããã åå¿è ã®æ¹ã¯å¿è«ãPHPãé·å¹´ä½¿ã£ã¦ã人ã«ã使ãããã¯ããã¯ãè¼ã£ã¦ãã¾ããã®ã§åå¼·ãã¦ãã«ã¡ã¢ã func_get_args() é¢æ°ã§å¯å¤å¼æ°Â ãåãåã é常ãé¢æ°ã¨ããã°ã次ã®ããã«å¼æ°ã¨å ±ã«å®ç¾©ãã¾ãã function hoge($arg1, $arg2) { } ã®ããã«å®ç¾©ãã¦å¼æ°ãåãåãã¾ããã好ããªåæ°ã§å¼æ°ãåãåãããå ´åã¯ã次ã®ããã«func_get_argsã§åãåãã¾ãã function hoge() { $args = func_get_args(); foreach ($args as $key=>$value) { echo "arg{$key} is $value
{{#tags}}- {{label}}
{{/tags}}