General, PHP Scalar type hints May 24, 2020 Pramod T P Leave a comment Type declarations are what allows the function to require certain types of parameters at call time. There are two types Scalar type declarations: one is coercive or you can say it default and other is strict.