What are the considerations for php5.3
This article will explain in detail what you should pay attention to about php5.3. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Php5.3
New features
1. Support for namespaces (namespace)
Before 5.3
The copy code is as follows:
Output A
5.3 (_ _ CLASS__ gets the class name) static::who ()
The copy code is as follows:
Output B
3. Support for goto statements
The unconditional redirection statement goto is supported in most computer programming languages. When the program executes to the goto statement, it continues to execute at the program location indicated by the label in the goto statement.
4. Support closures
The code is as follows: