Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Bitwise operations

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
qUJy5Xg0ve7k
Smarty Rookie


Joined: 15 Aug 2018
Posts: 15

PostPosted: Mon Mar 29, 2021 8:59 pm    Post subject: Bitwise operations Reply with quote

I noticed between versions of Smarty, the following code changed:

Code:
1: {2&0x2}


Results:
Version 3.1.15:
1:0

Version 3.1.14:
1:2

I don't see anything in the changelog to indicate this was intentional. Can we get the correct behavior back?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Wed Mar 31, 2021 1:28 pm    Post subject: Reply with quote

It would be splendid, if you could create an issue on github for this problem. And double so if you could make a regression test case.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP