| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
If ext-mbstring is not installed, then https://github.com/symfony/polyfill-mbstring will take over. The polyfill uses `iconv` There is an off-by-one issue that happens when the ext-mbstring is not enabled. `mbstring` outputs UTF-16BE (first in screenshot) and `iconv` outputs UTF-16LE and also adds BOM (fffe). By explicitly specifying the byte order we remove the ambiguity.
There was a problem hiding this comment.
Possible performance regression was detected for benchmark 'Phpactor Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.
| Benchmark suite | Current: 1e7aa03 | Previous: d4c868b | Ratio |
|---|---|---|---|
| ClassMemberCompletorBench::benchComplete | 162825.9 μs (± 1.12%) | 10590.8 μs (± 3.36%) | 15.37 |
| WorseLocalVariableCompletorBench::benchComplete | 22067.6 μs (± 0.93%) | 2363.7 μs (± 2.17%) | 9.34 |
| LexerBench::benchLex | 1350 μs (± 0%) | 615 μs (± 0%) | 2.20 |
| DiagnosticsBench::benchDiagnostics | 809022.6 μs (± 0.47%) | 71287.2 μs (± 0.79%) | 11.35 |
This comment was automatically generated by workflow using github-action-benchmark.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
If ext-mbstring is not installed, then
polyfll-mbstring will take over. The polyfill uses iconv.
There is an off-by-one issue that happens when the ext-mbstring is not enabled.
mbstring outputs UTF-16BE (first in screenshot) and iconv outputs UTF-16LE and also adds BOM (fffe).
By explicitly specifying the byte order we remove the ambiguity.
thanks @zobo for finding this. fixes #3022