Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose PHP fatal errors from the WASM interpreter #3

Closed
adamziel opened this issue Sep 2, 2022 · 1 comment
Closed

Expose PHP fatal errors from the WASM interpreter #3

adamziel opened this issue Sep 2, 2022 · 1 comment

Comments

@adamziel
Copy link
Collaborator

adamziel commented Sep 2, 2022

Right now, PHP syntax errors cause the WASM PHP to return an exit code 2, but it doesn't return any error message. Let's make it provide a regular error message such as Fatal error: Class 'MyClass' not found in ...

@adamziel adamziel changed the title Display PHP fatal errors Expose PHP fatal errors from the WASM interpreter Sep 2, 2022
@adamziel
Copy link
Collaborator Author

Solved in a59ef18 by adding a php.ini with display_startup_errors = On

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant