What are the new features of PHP7.0
This article mainly explains "what are the new features of PHP7.0". Friends who are interested may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what are the new features of PHP7.0.
1. Operator (NULL merge operator)
Put this in the first place because I think it's very useful. Usage:
$a = $_ GET ['a']? 1
It is equivalent to: