Home > Backend Development > PHP Tutorial > php里面的>>是什么符号?

php里面的>>是什么符号?

WBOY
Release: 2016-06-06 20:19:43
Original
1579 people have browsed it

php里面的>>是什么符号,没怎么见过,不知道有什么作用,请各路大神解惑。

回复内容:

php里面的>>是什么符号,没怎么见过,不知道有什么作用,请各路大神解惑。

位运算符,手册有说明:http://php.net/manual/zh/language.operators.bitwise.php

$a >> $b Shift right(右移) 将 $a 中的位向右移动 $b 次(每一次移动都表示“除以 2”)。

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template