17. 17 ã¿ã¤ããã³ãã£ã³ã°ã¨ã¯ï¼ functionã®å¼æ°ï¼æ»ãå¤ãã©ã®ç¨®å¥ããæå®ã§ãã¾ãã Class Sample { public static function sampleFunc(int $a): string{ return "OK"; } } //OK Sample::sampleFunc (1); //Fatal Error Sample::sampleFunc ("a");
{{#tags}}- {{label}}
{{/tags}}