Обложка канала

Amazing PHP

8898 @phpme

Welcome to the Amazing PHP Channel!Here you can find a lot of interesting articles/news about PHP, frameworks, tools and development.

Amazing PHP

6 лет назад
Открыть в
Everything you need (and don't need) to know about PHP's type system
PHP is a dynamically typed scripting language and until the year of 2015 php had no support for statically declared types at all. One could cast to scalar types explicitly in the code, but declaring scalar types in methods and functions signatures wasn't a thing until PHP 7.0 with the Scalar Type Declarations and Return Type Declarations rfcs.