chore(php): fix chr() deprecation in CodedOutputStream.php
diff --git a/php/src/Google/Protobuf/Internal/CodedOutputStream.php b/php/src/Google/Protobuf/Internal/CodedOutputStream.php
index 46064fb..3dbc2e4 100644
--- a/php/src/Google/Protobuf/Internal/CodedOutputStream.php
+++ b/php/src/Google/Protobuf/Internal/CodedOutputStream.php
@@ -98,7 +98,7 @@
}
while (($low >= 0x80 || $low < 0) || $high != 0) {
- $buffer[$current] = chr($low | 0x80);
+ $buffer[$current] = chr(($low | 0x80) & 0xFF);
$value = ($value >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7));
$carry = ($high & 0x7F) << ((PHP_INT_SIZE << 3) - 7);
$high = ($high >> 7) & ~(0x7F << ((PHP_INT_SIZE << 3) - 7));