Tag Archives: larry garfield

A new type of PHP, part 2: Scalar types

      No Comments on A new type of PHP, part 2: Scalar types

In our last installment, we talked about the benefits of more robust variable typing in PHP 7, and specifically the new support for typed return values.  That is already a big boon to the maintainability of our code, but PHP 7 goes a step further. So far, we’ve only talked about typing against classes and interfaces.  We’ve been able to… Read more »