diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-01 14:47:21 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-01 14:47:21 +0200 |
commit | f1dd8b2af08829a41df072cd9a2bf4a2d82b3ec9 (patch) | |
tree | e389838978e69de37ef45092f4a477ece8afe06c /ext/reflection/php_reflection.c | |
parent | 1ed132e2e55112ab43125b45cbf3066072876c73 (diff) | |
download | php-git-f1dd8b2af08829a41df072cd9a2bf4a2d82b3ec9.tar.gz |
Make division by zero error check more accurate
For division (rather than modulus) we should check the double
value, otherwise the result might be zero after integer truncation,
but not zero as a floating point value.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions