Commit d8588c3
Pure PHP: cleanly ignore bits in the 10-byte varints with bit above LSB set.
Still error out if the MSB in that is set (implying it would be an 11+ byte varint).
This is not really functional change; today this flow is just silently 'weird' where readVarint64() can return a float64 since php silently promotes the type when it doesn't fit.
PiperOrigin-RevId: 8990650191 parent b7e554a commit d8588c3
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
386 | 392 | | |
387 | 393 | | |
388 | 394 | | |
| |||
0 commit comments