diff options
author | Anatol Belski <ab@php.net> | 2016-10-18 19:14:14 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-18 19:14:14 +0200 |
commit | 671f647739cb319447eba1f4d8451eea6bfd4cba (patch) | |
tree | d12f9024e449caecdc0127b3a5a1308c88194100 /tests | |
parent | 1c7a53a3c0515dcae01472272e54f74177abcc38 (diff) | |
parent | 9f2ab75b1096b881ee97eb2b436763aa14c19635 (diff) | |
download | php-git-671f647739cb319447eba1f4d8451eea6bfd4cba.tar.gz |
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #73329 (Float)"Nano" == NAN
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/bug73329.phpt | 18 |
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== |