  
  is_reference:
  		/* empty */	{ $$.op_type = ZEND_RETURN_VAL; }
-@@ -289,6 +302,12 @@
+@@ -289,6 +303,12 @@
  			'}' { zend_do_end_class_declaration(&$1, &$2 TSRMLS_CC); }
  ;
  

 ;
 
 
@@ -172,6 +176,7 @@
 		statement
 	|	function_declaration_statement
 	|	class_declaration_statement

 #include "zend_stream.h"
 typedef struct _zend_utility_functions {
 	void (*error_function)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) ZEND_ATTRIBUTE_PTR_FORMAT(printf, 4, 0);
Index: Zend/zend_API.c
===================================================================
RCS file: /repository/ZendEngine2/zend_API.c,v
retrieving revision 1.256
diff -u -r1.256 zend_API.c
--- Zend/zend_API.c	5 Jun 2004 14:59:21 -0000	1.256
+++ Zend/zend_API.c	4 Jul 2004 16:09:42 -0000
@@ -1259,6 +1259,8 @@
 			internal_function->return_reference = ptr->arg_info[0].return_reference;
 		} else {
 			internal_function->arg_info = NULL;
+			internal_function->throws = NULL;
+			internal_function->num_throws = 0;
 			internal_function->num_args = 0;
 			internal_function->required_num_args = 0;
 			internal_function->pass_rest_by_reference = 0;
Index: Zend/zend_compile.c
===================================================================
RCS file: /repository/ZendEngine2/zend_compile.c,v
retrieving revision 1.567
diff -u -r1.567 zend_compile.c
--- Zend/zend_compile.c	31 May 2004 21:38:01 -0000	1.567
+++ Zend/zend_compile.c	4 Jul 2004 16:09:44 -0000
@@ -126,6 +126,7 @@
 	zend_stack_init(&CG(object_stack));
 	zend_stack_init(&CG(declare_stack));
