Open staabm opened 6 days ago
There are multiple such issues in https://github.com/php/php-src/blob/master/main/main.c, and maybe more in other files. I wouldn't call that a bug, though, but improving the error messages might be a good idea for PHP 8.4.
Description
running automated tests in private repo, I recently noticed that some error messages contain more spaces then other (macos vs. ubuntu github action)
The following code:
Resulted in this output: (note 2 spaces after
Parse error:
)But I expected this output instead: (note 1 space after
Parse error:
)I saw similar differences in the php-src testsuite, see e.g.
PHP Version
8.3.11
Operating System
ubuntu / macos