diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 1520d6624d9cb7aea03f86ff2413ef51708ab7c7..da5c704590a009b647cb5fd767307e5e6f3fc77e 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -289,10 +289,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
     function php($text) {
         global $conf;
         if($conf['phpok']){
-            ob_start;
+            ob_start();
             eval($text);
             $this->doc .= ob_get_contents();
-            ob_end_clean;
+            ob_end_clean();
         }else{
             $this->file($text);
         }