<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=PHP_comment</id>
		<title>PHP comment - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=PHP_comment"/>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=PHP_comment&amp;action=history"/>
		<updated>2026-10-23T16:52:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.karljones.com/index.php?title=PHP_comment&amp;diff=18632&amp;oldid=prev</id>
		<title>Karl Jones: Created page with &quot;A '''PHP comment''' is a region of text within a PHP code island which is ignored by the PHP processor.   Comments are added with to make the PHP code easier to unders...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=PHP_comment&amp;diff=18632&amp;oldid=prev"/>
				<updated>2016-09-21T03:27:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;PHP comment&amp;#039;&amp;#039;&amp;#039; is a region of text within a &lt;a href=&quot;/index.php/PHP_code_island&quot; title=&quot;PHP code island&quot;&gt;PHP code island&lt;/a&gt; which is ignored by the PHP processor.   Comments are added with to make the &lt;a href=&quot;/index.php/PHP_code&quot; title=&quot;PHP code&quot;&gt;PHP code&lt;/a&gt; easier to unders...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A '''PHP comment''' is a region of text within a [[PHP code island]] which is ignored by the PHP processor. &lt;br /&gt;
&lt;br /&gt;
Comments are added with to make the [[PHP code]] easier to understand.&lt;br /&gt;
&lt;br /&gt;
== Single-line comment ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
// This is a single-line comment&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Single-line comment ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 This is a multi-line comment&lt;br /&gt;
 Lorem ipsum, comment comment comment ...&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Uses ==&lt;br /&gt;
&lt;br /&gt;
How best to make use of comments is subject to dispute; different commentators have offered varied and sometimes opposing viewpoints. There are many different ways of writing comments and many commentators who offer sometimes conflicting advice.&lt;br /&gt;
&lt;br /&gt;
Comments can be used as a form of pseudocode to outline intention prior to writing the actual code. In this case it should explain the logic behind the code rather than the code itself.&lt;br /&gt;
&lt;br /&gt;
Comments can be used to summarize code or to explain the programmer's intent. According to this school of thought, restating the code in plain English is considered superfluous; the need to re-explain code may be a sign that it is too complex and should be rewritten, or that the naming is bad.&lt;br /&gt;
&lt;br /&gt;
Sometimes source code contains a novel or noteworthy solution to a specific problem. In such cases, comments may contain an explanation of the methodology. &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Comment (computer programming)]]&lt;br /&gt;
* [[PHP]]&lt;br /&gt;
* [[PHP code island]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [http://php.net/manual/en/language.basic-syntax.comments.php Comments] @ php.net&lt;br /&gt;
&lt;br /&gt;
[[Category:PHP]]&lt;/div&gt;</summary>
		<author><name>Karl Jones</name></author>	</entry>

	</feed>