From 12c3dc1b002ec29d51dd716112ba58c84e4d566e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 13 Sep 2011 07:07:06 +0000 Subject: [PATCH] Fixed Bug #55649 (Undefined function Bug()). (Laruence) --- NEWS | 1 + Zend/zend_strtod.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 57b4f970d1a..5a53885a736 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ PHP NEWS ?? ??? 2011, PHP 5.3.9 - Core: + . Fixed Bug #55649 (Undefined function Bug()). (Laruence) . Fixed bug #52461 (Incomplete doctype and missing xmlns). (virsacer at web dot de, Pierre) . Fixed bug #55366: keys lost when using substr_replace an array. (Arpad) diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index cd7cedd7080..3d133bfecd9 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -445,6 +445,12 @@ static MUTEX_T pow5mult_mutex; #endif /* ZTS */ +#ifdef DEBUG +static void Bug(const char *message) { + fprintf(stderr, "%s\n", message); +} +#endif + ZEND_API int zend_startup_strtod(void) /* {{{ */ { #ifdef ZTS