Update 12/06/15: I’ve opened a PR making the PropertyAccess Component 84% faster than before. It implements strategies explained at the end of this post. This PropertyAccess component allows to access to a property of an object (or a to a key of an array) regardless of the access strategy that must be used. It is smart enough to access…
Category: PHP
Introducing API Platform (Forum PHP)
My slides from this morning at Forum PHP Paris about API Platform: Open the slides in full screen
Introducing the phpdoc-to-typehint Converter: add scalar type hints and return type declarations to your projects
tl;dr Download phpdoc-to-typehint, it will automatically add scalar type hints and return type declarations to your PHP project using existing PHPDoc annotations. PHP 7 will be released soon. Scalar type hints and return type declarations introduced in this new release are very interesting because they enforce the use of stricter types in PHP code. They are less error-prone and ease the…