The Best of Strong Typing for PHP
Explore strong typing in PHP in this conference talk from the International PHP Conference. Delve into the spread of strong typing across PHP, including its addition to class properties in PHP 7.4. Examine the impact of typing on code consistency, auto-validation features, and potential challenges with dependencies. Learn how typing enhances quality tools, improves code validation, and promotes coding patterns like the null object. Discover the benefits of strong typing for large projects and its tactical use in coding. Follow along as the speaker, Damien Seguy from Exakat, covers topics such as nullable cases, null pattern classes, current adoption rates, debugging tools, and automated detection. Investigate the challenges of multiple types, interfaces, and insufficient interfaces. Analyze the systemic usage of type hints, function and method interactions, and the impact on class hierarchies. Gain insights into the complexities of updating strongly typed code and the organization of methods as groups. Read more