From: Rui Hirokawa Date: Sat, 19 Feb 2005 14:36:07 +0000 (+0000) Subject: MFH: fixed #31987 zend-multibyte in ZTS. X-Git-Tag: php-5.0.4RC1~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40aa1c6e7306cf1cebfa207269749a01b97b7c0e;p=php MFH: fixed #31987 zend-multibyte in ZTS. --- diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l index d2a2c1db5b..d6f17a2111 100644 --- a/Zend/zend_language_scanner.l +++ b/Zend/zend_language_scanner.l @@ -134,6 +134,10 @@ void startup_scanner(TSRMLS_D) SCNG(script_org_size) = 0; SCNG(script_filtered) = NULL; SCNG(script_filtered_size) = 0; + SCNG(input_filter) = NULL; + SCNG(output_filter) = NULL; + SCNG(script_encoding) = NULL; + SCNG(internal_encoding) = NULL; #endif /* ZEND_MULTIBYTE */ } @@ -159,6 +163,12 @@ void shutdown_scanner(TSRMLS_D) efree(SCNG(script_filtered)); SCNG(script_filtered) = NULL; } + SCNG(script_org_size) = 0; + SCNG(script_filtered_size) = 0; + SCNG(input_filter) = NULL; + SCNG(output_filter) = NULL; + SCNG(script_encoding) = NULL; + SCNG(internal_encoding) = NULL; #endif /* ZEND_MULTIBYTE */ } END_EXTERN_C()