2.4.5-p14
migrated pull request #11459 to 2.3 develop
Catch php syntax errors (or other errors) in bin/magento and output the error instead of staying silent.