From 397dbbaef79ba4a4b8b36617e0edcb4464543719 Mon Sep 17 00:00:00 2001 From: Pasindu De Silva Date: Wed, 29 Apr 2015 17:21:39 +0000 Subject: [PATCH] Added Null Coalesce Operator https://wiki.php.net/rfc/isset_ternary git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336682 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/language/operators.xml b/language/operators.xml index 155ef06a93..ee1b9ed1ee 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1291,6 +1291,14 @@ Expression: 0 = -4 << 62 Available as of PHP 7. + + $a ?? $b ?? $c + Null Coalesce Operator + + Returns the first operand from left to right that exists and not NULL. + If nothing exsits will return NULL. + +