PHP7 Scalar Datatype Hinting

preview_player
Показать описание
Scalar type declaration means the statement to a function to accept arguments (parameters) or return values only of the given scalar data type (int, float, string or bool).
Рекомендации по теме