Allow T_POW in constant expressions
| From: | Tjerk Meesters | Date: | Fri, 07 Mar 2014 01:18:52 +0000 |
| Subject: | Allow T_POW in constant expressions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-72986@lists.php.net to get a copy of this message | ||
Hi guys,
Can somebody merge the following PR?
https://github.com/php/php-src/pull/613
It fixes bug #66822 by allowing the new power operator to be used in
constant expressions, e.g.:
const FOO = 2 ** 3 ** 2;
echo FOO; // 512
--
--
Tjerk