Re: Allow T_POW in constant expressions
| From: | Ferenc Kovacs | Date: | Mon, 10 Mar 2014 12:48:56 +0000 |
| Subject: | Re: Allow T_POW in constant expressions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73049@lists.php.net to get a copy of this message | ||
On Mon, Mar 10, 2014 at 1:47 PM, Ferenc Kovacs <tyra3l@gmail.com> wrote:
>
>
>
> On Fri, Mar 7, 2014 at 2:18 AM, Tjerk Meesters <tjerk.meesters@gmail.com>wrote:
>
>> 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
>>
>
> Hi,
>
> If nobody objects I will merge this tomorrow.
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu
>
nevermind, Bob already merged it.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu