PHP ã§ã¯ @ ãä»ãããã¨ã§ã¨ã©ã¼ãåé¿ã§ããã¨ãã便å©ãªè¨è¿°æ¹æ³ãããããã®ãããªç§ãªã©ã¯ if (@$var["foo"]) $result = $var["foo"]; ã¿ãããªã³ã¼ããæ¸ãã¦ãã¾ãã¾ãã ã§ããã®å¦çããé ããã¨ããåãããã³ãã度ã åããã®ã§èª¿ã¹ã¦ã¿ã¾ããã ãã»ãããããªæ°ã«ããã»ã©ã§ãç¡ãããã¨ããçµæãæå¾ ãã¦ããã®ã§ããããããªããããããããã åé ãããªãã§ãããããã ããã¯ãã»ã»ã» ã¡ãã£ã¨åæãã¾ããã以ä¸ã®ãããªã³ã¼ããåç´ for æ㧠100ä¸åå®è¡ããã¨ãã®çµæã§ãã error_reporting(0) 㧠PHP4 if (@$a["hoge"]) $b = $a["hoge"]; â ç´ 2.4 ç§ if ($a["hoge"]) $b = $a["hoge"]; â ç´ 1.3 ç§ if (isset($a["hoge"]))
{{#tags}}- {{label}}
{{/tags}}