&安培;表现不同 [英] & behaves differently

查看:58
本文介绍了&安培;表现不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




为什么php表达


$ result = 5543039447& 2147483648;


执行时评估为0,而perl表达式


$ same = 5543039447& 2147483648;


评价为2147483648 ???


弗里茨

解决方案

result = 5543039447& 2147483648;


执行时评估为0,而perl表达式


same = 5543039447& 2147483648;


评价为2147483648 ???


弗里茨


< BLOCKQUOTE>< FR ********* @ web.de>在消息中写道

news:11 ********************* @ i40g2000cwc.googlegro ups.com ...



为什么php表达


Hi,

why does the php expression

$result = 5543039447 & 2147483648;

when executed evaluate to 0, whereas the perl expression

$same = 5543039447 & 2147483648 ;

evaluate to 2147483648 ???

Fritz

解决方案

result = 5543039447 & 2147483648;

when executed evaluate to 0, whereas the perl expression


same = 5543039447 & 2147483648 ;

evaluate to 2147483648 ???

Fritz


<fr*********@web.de> wrote in message
news:11*********************@i40g2000cwc.googlegro ups.com...

Hi,

why does the php expression


这篇关于&安培;表现不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆