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 hinting type declaration return type declaration php7 scalar type declaration PHP 7 strict type declaration coercive type declaration
Login in to like
Login in to comment