Index: soap.c =================================================================== RCS file: /repository/php-src/ext/soap/soap.c,v retrieving revision 1.146 diff -u -r1.146 soap.c --- soap.c 10 May 2005 13:58:11 -0000 1.146 +++ soap.c 11 May 2005 17:54:04 -0000 @@ -1842,10 +1842,15 @@ static void soap_error_handler(int error_num, const char *error_filename, const uint error_lineno, const char *format, va_list args) { - TSRMLS_FETCH(); - zend_bool _old_in_compilation = CG(in_compilation); - zend_bool _old_in_execution = EG(in_execution); - zend_execute_data *_old_current_execute_data = EG(current_execute_data); + zend_bool _old_in_compilation; + zend_bool _old_in_execution; + zend_execute_data *_old_current_execute_data; + + TSRMLS_FETCH(); + + _old_in_compilation = CG(in_compilation); + _old_in_execution = EG(in_execution); + _old_current_execute_data = EG(current_execute_data); if (!SOAP_GLOBAL(use_soap_error_handler)) { old_error_handler(error_num, error_filename, error_lineno, format, args);