is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. PHP 7 introduced another similar syntax, called the Null Coalescing Operator (??). This means the $_GET['mykey'] ?? "" The null coalescing operator (??) There are some new operator introduced into php 7, like null coalescing operator (?? Let me explain myself. evaluates if it is […] 4. Here we cover the enhancements around the null coalescing operator, namely the introduction of the null coalescing assignment operator. This methodology in PHP 7 is known as chaining NULL coalescing operator. In PHP 7 this was originally released, allowing a developer to simplify an isset() check combined with a ternary operator. In this article, we'll compare and analyze the two shorthand conditional operators in PHP, the shorthand ternary operator, i.e. int length = people?.Length ?? Elvis operator : ternary operator shorthand The ternary operator lets your code use the value of one expression or another, based on whether the condition is true or false: