summaryrefslogtreecommitdiff
path: root/ext/filter/tests/bug7715.phpt
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-09-14 17:48:11 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-09-14 17:48:11 +0000
commit0fff2d8d45570d86120bbe85a84d1035de488639 (patch)
tree0ed1e44cdbf86017b78829f1819c739c8e0c93b7 /ext/filter/tests/bug7715.phpt
parent3ed3a71741f1bf6e1b1d9931ed5f027d322e1b2f (diff)
downloadphp-git-0fff2d8d45570d86120bbe85a84d1035de488639.tar.gz
MFB: Make float filter handle things like 02.324 properly
Diffstat (limited to 'ext/filter/tests/bug7715.phpt')
-rw-r--r--ext/filter/tests/bug7715.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/filter/tests/bug7715.phpt b/ext/filter/tests/bug7715.phpt
index 9e1206f6a5..864a41b1fb 100644
--- a/ext/filter/tests/bug7715.phpt
+++ b/ext/filter/tests/bug7715.phpt
@@ -9,7 +9,8 @@ $data = array(
'.4',
'-.4',
'1000000000000',
- '-1000000000000'
+ '-1000000000000',
+ '02.324'
);
foreach ($data as $val) {
$res = filter_data($val, FILTER_VALIDATE_FLOAT);
@@ -25,3 +26,4 @@ float(0.4)
float(-0.4)
float(1.0E+12)
float(-1.0E+12)
+float(2.324)