Re: Question on Null Coalesce Operator ( ?? )

From: Date: Thu, 11 Dec 2014 22:43:17 +0000
Subject: Re: Question on Null Coalesce Operator ( ?? )
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-79584@lists.php.net to get a copy of this message
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

« previous php.internals (#79584) next »