Alain Williams wrote:

> I am updating a PHP course that I occasionally teach ...
> 
> Null Coalesce Operator ( ?? )
> What are the precedence and associativity ?
> 
>     https://wiki.php.net/rfc/isset_ternary

According to master[1] it's right associative and the precendence is
between ?: and ||.

[1]
<https://github.com/php/php-src/commit/2d069f640e6cccfa3ba8b1e4f375ade20fb33f64>

-- 
Christoph M. Becker

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to