Skip to content

Bcmath warning to error promotions #6105

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

Closed
wants to merge 11 commits into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Sep 9, 2020

I didn't go with promoting php_error_docref(NULL, E_WARNING, "bcmath function argument is not well-formed"); just yet as it would require wrapping all the calls to php_str2num() in an if/else and changing it's return type from void to zend_result, which seems a bit like a hassle but I could do it if required.

@nikic @kocsismate

@Girgias Girgias force-pushed the bcmath-warning-to-error branch from 5426c0b to ba4109e Compare September 11, 2020 13:56
@php-pulls php-pulls closed this in cd05b56 Sep 11, 2020
@Girgias Girgias deleted the bcmath-warning-to-error branch September 11, 2020 15:43
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

Successfully merging this pull request may close these issues.

2 participants