gpt4 book ai didi

php - 什么是 & in return($var & 1) 在 PHP 中

转载 作者:IT王子 更新时间:2023-10-29 00:04:03 27 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Reference - What does this symbol mean in PHP?

当我在阅读this php page , 我不确定 & 在 $var & 1 中做什么。

function odd($var)
{
// returns whether the input integer is odd
return($var & 1);
}

returning a reference吗?我不确定。

如果你能解释一下或给我一个 php 页面,我将不胜感激。

提前致谢。

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com