Categories


Recent Posts


Archives


Below you'll find all the Modern PHP articles on the site.

Modern PHP

  1. Bypassing a Slow Composer Repository
  2. Slow Composer Followup
  3. Getting Started with PHP Composer and Magento
  4. PHP: The Right Way; A Review
  5. PSR and Code Style Guidelines
  6. Sellvana: Developer's Alpha Review
  7. PHP Primer: Type Hints
  8. PHP Primer: Namespaces
  9. PHP Primer: Interfaces
  10. Design Patterns, PHP, and Magento
  11. PHP-FPM and File Permissions
  12. Why did the Elephant join the Guild?

PHP Primer: Type Hints

Today we're going to give you a quick overview of PHP type hints. While the debate over how strongly PHP should be typed rages on, many PHP frameworks have started using type hints as metadata for implementing features like dependency injection. Whatever you think

astorm