PHP 7.0: Speed and Type Declarations in the Long-Awaited Release
PHP 7.0 was released this week. I share my first impressions on the performance gains, scalar type declarations, and return types.
Category
Features, syntax and practices of the PHP, JavaScript, TypeScript, Go and Python languages, with release notes and worked examples. (Page 8/9)
This category has 49 posts.
PHP 7.0 was released this week. I share my first impressions on the performance gains, scalar type declarations, and return types.
An introduction to the most impactful ES6 features — let, const, arrow functions, and template literals — with practical examples.
An overview of PHP 5.6's variadic argument support and the ** exponentiation operator, plus constant expressions and importing functions with use.
What each layer of MVC is actually responsible for, what a controller should not do, and how to keep controllers thin by moving logic into the model.
The language-level approach to building large loops without blowing up memory: PHP 5.5 generators and the yield keyword.
Code organization that eliminates name collisions and fits the modern library ecosystem: PHP namespace usage and the use statement.