From ae50a0c0beba08e6abbc6cb5131fc44d5c6dde42 Mon Sep 17 00:00:00 2001 From: Andrea Faulds Date: Fri, 8 Jan 2016 17:20:52 +0000 Subject: [PATCH] Fix bug #71314 --- NEWS | 1 + .../general_functions/var_export_bug71314.phpt | 15 +++++++++++++++ ext/standard/var.c | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 ext/standard/tests/general_functions/var_export_bug71314.phpt diff --git a/NEWS b/NEWS index a79cbad88a..ac12adf197 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ PHP NEWS . Fixed bug #71273 (A wrong ext directory setup in php.ini leads to crash). (Anatol) . Fixed bug #71297 (Memory leak with consecutive yield from). (Bob) + . Fixed bug #71314 (var_export(INF) prints INF.0). (Andrea) - CURL: . Fixed bug #71227 (Can't compile php_curl statically). (Anatol) diff --git a/ext/standard/tests/general_functions/var_export_bug71314.phpt b/ext/standard/tests/general_functions/var_export_bug71314.phpt new file mode 100644 index 0000000000..aaa8f794c0 --- /dev/null +++ b/ext/standard/tests/general_functions/var_export_bug71314.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #71314 (var_export(INF) prints INF.0) +--FILE-- +