Type Declarations identifiers Scalar Type Declarations and Return Type Declarations identifiers are: array bool float int string You should use exactly this values, “boolean” or “integer” are not allowed. type declaration return type declaration type hinting scalar type declaration coercive type declaration PHP 7 php7 strict type declaration
Login in to like
Login in to comment