svn: /phpdoc/en/trunk/language/control-structures/ include.xml

From: Date: Mon, 09 May 2011 15:34:46 +0000
Subject: svn: /phpdoc/en/trunk/language/control-structures/ include.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8083@lists.php.net to get a copy of this message
colder Mon, 09 May 2011 15:34:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=310855 Log: Simplify example Changed paths: U phpdoc/en/trunk/language/control-structures/include.xml Modified: phpdoc/en/trunk/language/control-structures/include.xml =================================================================== --- phpdoc/en/trunk/language/control-structures/include.xml 2011-05-09 15:06:10 UTC (rev 310854) +++ phpdoc/en/trunk/language/control-structures/include.xml 2011-05-09 15:34:46 UTC (rev 310855) @@ -285,9 +285,7 @@ if (is_file($filename)) { ob_start(); include $filename; - $contents = ob_get_contents(); - ob_end_clean(); - return $contents; + return ob_get_clean(); } return false; }

« previous php.doc.cvs (#8083) next »