summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug73329.phpt18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/lang/bug73329.phpt b/tests/lang/bug73329.phpt
new file mode 100644
index 0000000000..938f8bac24
--- /dev/null
+++ b/tests/lang/bug73329.phpt
@@ -0,0 +1,18 @@
+--TEST--
+Bug #73329 (Float)"Nano" == NAN
+--FILE--
+<?php
+ var_dump(
+ (float)"nanite",
+ (float)"nan",
+ (float)"inf",
+ (float)"infusorian"
+ );
+?>
+==DONE==
+--EXPECT--
+float(0)
+float(0)
+float(0)
+float(0)
+==DONE==