From 2e41430516ba612067f2a617a4b7db23d5084219 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 29 May 2009 08:18:42 +0000 Subject: - MFB: #42143, the constant NAN is reported as 0 on Windows --- Zend/tests/bug42143.phpt | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Zend/tests/bug42143.phpt (limited to 'Zend/tests/bug42143.phpt') diff --git a/Zend/tests/bug42143.phpt b/Zend/tests/bug42143.phpt new file mode 100644 index 0000000000..8a73d41bf8 --- /dev/null +++ b/Zend/tests/bug42143.phpt @@ -0,0 +1,38 @@ +--TEST-- +bug #42143 (The constant NAN is reported as 0 on Windows build) +--CREDITS-- +Venkat Raman Don +--FILE-- + +--EXPECT-- +Testing NAN: +NAN= float(NAN) +bool(false) +bool(false) +bool(false) +bool(false) +bool(false) +float(NAN) +bool(false) +bool(false) +bool(false) +bool(true) +bool(true) +bool(false) + -- cgit v1.2.1