2017 © Pedro Peláez
 

library javascript-bitwise-operators

php to achieve javascript bitwise operation

image

simaguo/javascript-bitwise-operators

php to achieve javascript bitwise operation

  • Thursday, June 29, 2017
  • by simaguo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 33 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 22 % Grown

The README.md

In the 64-bit operating system, php to achieve javascript bitwise operation., (*1)

Installation

composer require simaguo/javascript-bitwise-operators

Usage

<?php
    use Simaguo\JavascriptBitwiseOperators\Tool;

    $a=1024;
    $b=2;
    Tool::andOperator($a, $b);//$a & $b
    Tool::notOperator($a);//~$a
    Tool::orOperator($a, $b);//$a | $b
    Tool::shiftLeftOperator($a, $b);//$a << $b
    Tool::shiftRightOperator($a, $b);//$a >> $b
    Tool::unSignedShiftRightOperator($a,$b);//$a >>> $b
    Tool::xorOperator($a,$b);//$a ^ $b

The Versions

29/06 2017

dev-master

9999999-dev

php to achieve javascript bitwise operation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar simaguo

29/06 2017

v1.0.2

1.0.2.0

php to achieve javascript bitwise operation

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar simaguo

22/06 2017

v1.0.1

1.0.1.0

64位操作系统下,php实现javascript的位操作

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Avatar simaguo

20/06 2017

v1.0.0

1.0.0.0

64位操作系统下,php实现javascript的位操作

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar simaguo