Skip to content

Convert Division by 0 warnings to Error per the Engine Warning RFC - #6125

Closed
Girgias wants to merge 3 commits into
php:masterfrom
Girgias:zend-warning-to-error
Closed

Convert Division by 0 warnings to Error per the Engine Warning RFC#6125
Girgias wants to merge 3 commits into
php:masterfrom
Girgias:zend-warning-to-error

Conversation

@Girgias

Copy link
Copy Markdown
Member

Test Zend/tests/bug76667.phpt is segfaulting in some instances, @nikic am I taking a wrong approach with how to implement this?

Comment threadZend/zend_operators.c Outdated
@Girgias
Girgiasforce-pushed the zend-warning-to-error branch from e030f6a to 0d4c6a1CompareSeptember 13, 2020 14:06
@nikic

Copy link
Copy Markdown
Member

Also, weird that I completely missed this... Guess I wanted to add fdiv() first, but then forgot about the rest :)

@Girgias
Girgias deleted the zend-warning-to-error branch September 14, 2020 11:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Girgias@nikic