diff --git a/pharen.php b/pharen.php
index <HASH>..<HASH> 100644
--- a/pharen.php
+++ b/pharen.php
@@ -1103,6 +1103,11 @@ class NamespaceNode extends KeywordCallNode{
         RootNode::$ns_string = parent::compile_statement();
         return "";
     }
+
+    public function compile(){
+        $this->compile_statement();
+        return "NULL";
+    }
 }
 
 class UseNode extends KeywordCallNode{
Compile to NULL when an (ns ...) form is compiled as an expression.