PHP 7
PHP 7では、関数引数に(プリミティブでも)タイプ指定できるようになりました。 PHP Manual, "Function arguments - Type declarations": http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration 今までは、、 -----(こ…
PHP 7では、関数引数に(プリミティブでも)タイプ指定できるようになりました。 PHP Manual, "Function arguments - Type declarations": http://php.net/manual/en/functions.arguments.php#functions.arguments.type-declaration 今までは、、 -----(こ…