summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-01 14:47:21 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-01 14:47:21 +0200
commitf1dd8b2af08829a41df072cd9a2bf4a2d82b3ec9 (patch)
treee389838978e69de37ef45092f4a477ece8afe06c /ext/reflection/php_reflection.c
parent1ed132e2e55112ab43125b45cbf3066072876c73 (diff)
downloadphp-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