- Learning PHP 7 High Performance
- Altaf Hussain
- 104字
- 2021-07-16 11:23:23
Chapter 2. New Features in PHP 7
PHP 7 has introduced new features that can help programmers write high-performing and effective code. Also, some old-fashioned features are completely removed, and PHP 7 will throw an error if used. Most of the fatal errors are now exceptions, so PHP won't show an ugly fatal error message any more; instead, it will go through an exception with the available details.
In this chapter, we will cover the following topics:
- Type hints
- Namespaces and group use declarations
- The anonymous classes
- Old-style constructor deprecation
- The Spaceship operator
- The null coalesce operator
- Uniform variable syntax
- Miscellaneous changes
推薦閱讀
- Unreal Engine Physics Essentials
- Cocos2D-X權威指南(第2版)
- PyTorch Artificial Intelligence Fundamentals
- Bootstrap Essentials
- Learning Hunk
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(1)
- Kubernetes進階實戰
- 深入實踐DDD:以DSL驅動復雜軟件開發
- 愛上C語言:C KISS
- C語言程序設計教程
- 你好!Java
- Web前端開發實戰教程(HTML5+CSS3+JavaScript)(微課版)
- TensorFlow+Keras深度學習算法原理與編程實戰
- C#程序開發教程
- Learning Embedded Android N Programming