We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f1499 commit 76ffeaaCopy full SHA for 76ffeaa
README.md
@@ -37,8 +37,6 @@ $buffer
37
38
```
39
40
-More examples can be found in [`examples`](examples) directory.
41
-
42
## Change log
43
44
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
src/Binary.php
@@ -42,7 +42,7 @@ public function __construct(string $buffer = '')
$this->data = $buffer;
$this->size = \strlen($this->data);
45
- if (self::$native64BitPack === null) {
+ if (!isset(self::$native64BitPack)) {
46
self::$native64BitPack = PHP_INT_SIZE === 8;
47
self::$isLittleEndian = \unpack("S", "\x01\x00")[1] === 1;
48
}
0 commit comments