summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-09-19 11:31:42 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-09-19 12:27:31 +0200
commitc614dd677c99e14ac6afb25d7bfe02cfa8cf1981 (patch)
treeaa8687558c2e1876f5a52b0f5af7b15648e86a9c /ext/soap/php_xml.c
parent294fb83ee84b76479a62e4ed37d5523c1208ad7c (diff)
downloadphp-git-c614dd677c99e14ac6afb25d7bfe02cfa8cf1981.tar.gz
Fix intermittent failures in mysqli_stmt_bind_result_format.phpt
There were two distinct issues here: * $trend was compared against 'NULL' using !=, which does not work as intended in the case where $trend==0.0. * current_targets was declared as double(17,0), which means that the fractional part was rounded, so that the same comparison in SQL (rounded) and in PHP (not rounded) did not necessarily match. Please don't write mt_rand based tests, it takes ages to debug this crap...
Diffstat (limited to 'ext/soap/php_xml.c')
0 files changed, 0 insertions, 0 deletions