<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/33/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dicky</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/33/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dicky"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/33/en/Special:Contributions/Dicky"/>
	<updated>2026-04-08T07:40:13Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/33/en/index.php?title=PHP&amp;diff=9937</id>
		<title>PHP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/33/en/index.php?title=PHP&amp;diff=9937"/>
		<updated>2006-05-21T02:35:44Z</updated>

		<summary type="html">&lt;p&gt;Dicky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Dicky</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/33/en/index.php?title=PHP&amp;diff=9936</id>
		<title>PHP</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/33/en/index.php?title=PHP&amp;diff=9936"/>
		<updated>2006-05-21T02:35:04Z</updated>

		<summary type="html">&lt;p&gt;Dicky: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;?php&lt;br /&gt;
if (!function_exists(&#039;geshi_highlight&#039;)) {&lt;br /&gt;
	/**&lt;br /&gt;
     * Easy way to highlight stuff. Behaves just like highlight_string&lt;br /&gt;
     * &lt;br /&gt;
     * @param string The code to highlight&lt;br /&gt;
     * @param string The language to highlight the code in&lt;br /&gt;
     * @param string The path to the language files. You can leave this blank if you need&lt;br /&gt;
     *               as from version 1.0.7 the path should be automatically detected&lt;br /&gt;
     * @param boolean Whether to return the result or to echo&lt;br /&gt;
     * @return string The code highlighted (if $return is true)&lt;br /&gt;
     * @since 1.0.2&lt;br /&gt;
     */&lt;br /&gt;
	function geshi_highlight ($string, $language, $path, $return = false)&lt;br /&gt;
	{&lt;br /&gt;
		$geshi = new GeSHi($string, $language, $path);&lt;br /&gt;
		$geshi-&amp;gt;set_header_type(GESHI_HEADER_NONE);&lt;br /&gt;
		if ($return) {&lt;br /&gt;
			return &#039;&amp;lt;code&amp;gt;&#039; . $geshi-&amp;gt;parse_code() . &#039;&amp;lt;/code&amp;gt;&#039;;&lt;br /&gt;
		}&lt;br /&gt;
		echo &#039;&amp;lt;code&amp;gt;&#039; . $geshi-&amp;gt;parse_code() . &#039;&amp;lt;/code&amp;gt;&#039;;&lt;br /&gt;
		if ($geshi-&amp;gt;error()) {&lt;br /&gt;
			return false;&lt;br /&gt;
		}&lt;br /&gt;
		return true;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dicky</name></author>
	</entry>
</feed>