 retrieving revision 1.139
 diff -u -r1.139 zend_globals.h
 --- Zend/zend_globals.h	23 Sep 2004 06:23:36 -0000	1.139
-+++ Zend/zend_globals.h	3 Nov 2004 13:51:01 -0000
++++ Zend/zend_globals.h	3 Nov 2004 13:57:54 -0000
 @@ -73,8 +73,11 @@
  	zend_stack foreach_copy_stack;
  	zend_stack object_stack;

retrieving revision 1.297
diff -u -r1.297 zend_compile.h
--- Zend/zend_compile.h	27 Oct 2004 17:58:45 -0000	1.297
+++ Zend/zend_compile.h	3 Nov 2004 13:51:00 -0000
@@ -45,6 +45,23 @@
         CG(doc_comment) = NULL;  \
         CG(doc_comment_len) = 0; \

+			zend_error(E_COMPILE_ERROR, "Cannot import %s which is not contained in a package", ce->name);
+			/* Bails out */
+		}
+
+		alias_len = strlen(tmp)- 1;		
+		alias_name = zend_str_tolower_dup(tmp+ 1, alias_len);
+	} else {
