Re: & behaves differently
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: & behaves differently

From: d <d@example.com>
Date: Fri Mar 03 2006 - 21:37:12 CET

<fritz-bayer@web.de> wrote in message
news:1141418050.683875.211800@t39g2000cwt.googlegroups.com...
> I'm porting some code from php to pearl. Do you a workaournd? I mean
> how could I get this working under perl?

perl performs a bitwise and with the & operator, the same as php. The two
numbers you gave will always return 0, so I don't know what the original
code was doing, but it doesn't look like it was performing a bitwise and...
Received on Mon May 1 02:26:59 2006