From 91b81c7b6c2c0b83fe96ca8552a5b9c3222050fe Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Mon, 9 May 2011 15:34:46 +0000 Subject: [PATCH] Simplify example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310855 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures/include.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/language/control-structures/include.xml b/language/control-structures/include.xml index a6dc769253..7080fa8a03 100644 --- a/language/control-structures/include.xml +++ b/language/control-structures/include.xml @@ -285,9 +285,7 @@ function get_include_contents($filename) { if (is_file($filename)) { ob_start(); include $filename; - $contents = ob_get_contents(); - ob_end_clean(); - return $contents; + return ob_get_clean(); } return false; }