<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Stopping syntax error, unexpected &#8216;;&#8217;, expecting T_FUNCTION</title>
	<atom:link href="http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/</link>
	<description>The place for interesting things</description>
	<lastBuildDate>Tue, 07 Feb 2012 11:40:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: nick</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-23983</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Mon, 09 May 2011 02:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-23983</guid>
		<description>Parse error: syntax error, unexpected &#039;}&#039; that shut me down. I can not access the phpbb admin.  Anyone see a problem














{META}
{SITENAME} • &lt;!-- IF S_IN_MCP --&gt;{L_MCP} • &lt;!-- ELSEIF S_IN_UCP --&gt;{L_UCP} • &lt;!-- ENDIF --&gt;{PAGE_TITLE}&lt;!-- IF S_ENABLE_FEEDS --&gt;&lt;!-- IF S_ENABLE_FEEDS_OVERALL --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_NEWS --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_FORUMS --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_TOPICS --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --&gt;
&lt;!-- ENDIF --&gt;&lt;!-- ENDIF --&gt;


// &lt;![CDATA[
&lt;!-- IF S_USER_PM_POPUP --&gt;
if ({S_NEW_PM})
{
popup(&#039;{UA_POPUP_PM}&#039;, 400, 225, &#039;_phpbbprivmsg&#039;);
}
&lt;!-- ENDIF --&gt;

function popup(url, width, height, name)
{
if (!name)
{
name = &#039;_popup&#039;;
}

window.open(url.replace(/&amp;/g, &#039;&amp;&#039;), name, &#039;height=&#039; + height + &#039;,resizable=yes,scrollbars=yes,width=&#039; + width);
return false;
}

function jumpto()
{
var page = prompt(&#039;{LA_JUMP_PAGE}:&#039;, &#039;{ON_PAGE}&#039;);
var per_page = &#039;{PER_PAGE}&#039;;
var base_url = &#039;{A_BASE_URL}&#039;;

if (page !== null &amp;&amp; !isNaN(page) &amp;&amp; page == Math.floor(page) &amp;&amp; page &gt; 0)
{
if (base_url.indexOf(&#039;?&#039;) == -1)
{
document.location.href = base_url + &#039;?start=&#039; + ((page - 1) * per_page);
}
else
{
document.location.href = base_url.replace(/&amp;/g, &#039;&amp;&#039;) + &#039;&amp;start=&#039; + ((page - 1) * per_page);
}
}
}

/**
* Find a member
*/
function find_username(url)
{
popup(url, 760, 570, &#039;_usersearch&#039;);
return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
var parent = document.getElementById(id);
if (!parent)
{
eval(&#039;parent = document.&#039; + id);
}

if (!parent)
{
return;
}

var rb = parent.getElementsByTagName(&#039;input&#039;);

for (var r = 0; r &lt; rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
{
rb[r].checked = state;
}
}
}

&lt;!-- IF ._file --&gt;

/**
* Play quicktime file by determining it&#039;s width/height
* from the displayed rectangle area
*
* Only defined if there is a file block present.
*/
function play_qt_file(obj)
{
var rectangle = obj.GetRectangle();

if (rectangle)
{
rectangle = rectangle.split(&#039;,&#039;)
var x1 = parseInt(rectangle[0]);
var x2 = parseInt(rectangle[2]);
var y1 = parseInt(rectangle[1]);
var y2 = parseInt(rectangle[3]);

var width = (x1 &lt; 0) ? (x1 * -1) + x2 : x2 - x1;
var height = (y1 &lt; 0) ? (y1 * -1) + y2 : y2 - y1;
}
else
{
var width = 200;
var height = 0;
}

obj.width = width;
obj.height = height + 16;

obj.SetControllerVisible(true);

obj.Play();
}
&lt;!-- ENDIF --&gt;

// ]]&gt;


&lt;a&gt;&lt;/a&gt;







&lt;a href=&quot;{U_INDEX}&quot; rel=&quot;nofollow&quot;&gt;
&lt;/a&gt;




&lt;!-- IF not S_IS_BOT --&gt;&lt;a href=&quot;{U_LOGIN_LOGOUT}&quot; rel=&quot;nofollow&quot;&gt; {L_LOGIN_LOGOUT}&lt;/a&gt;&#160;&lt;!-- ENDIF --&gt;&lt;!-- IF U_RESTORE_PERMISSIONS --&gt; &#160;&lt;a href=&quot;{U_RESTORE_PERMISSIONS}&quot; rel=&quot;nofollow&quot;&gt; {L_RESTORE_PERMISSIONS}&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --&gt; &#160;{L_BOARD_DISABLED}&lt;!-- ENDIF --&gt;&lt;!-- IF not S_IS_BOT --&gt;&lt;!-- IF S_USER_LOGGED_IN --&gt;&lt;!-- IF S_DISPLAY_PM --&gt; &#160;&lt;a href=&quot;{U_PRIVATEMSGS}&quot; rel=&quot;nofollow&quot;&gt; {PRIVATE_MESSAGE_INFO}&lt;!-- IF PRIVATE_MESSAGE_INFO_UNREAD --&gt;, {PRIVATE_MESSAGE_INFO_UNREAD}&lt;!-- ENDIF --&gt;&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --&gt; &#160;&lt;a href=&quot;{U_REGISTER}&quot; rel=&quot;nofollow&quot;&gt; {L_REGISTER}&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- ENDIF --&gt;
&lt;a href=&quot;{U_FAQ}&quot; rel=&quot;nofollow&quot;&gt; {L_FAQ}&lt;/a&gt;&lt;!-- IF S_DISPLAY_SEARCH --&gt;&#160; &#160;&lt;a href=&quot;{U_SEARCH}&quot; rel=&quot;nofollow&quot;&gt; {L_SEARCH}&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- IF not S_IS_BOT --&gt;&lt;!-- IF S_DISPLAY_MEMBERLIST --&gt;&#160; &#160;&lt;a href=&quot;{U_MEMBERLIST}&quot; rel=&quot;nofollow&quot;&gt; {L_MEMBERLIST}&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- IF S_USER_LOGGED_IN --&gt;&#160; &#160;&lt;a href=&quot;{U_PROFILE}&quot; rel=&quot;nofollow&quot;&gt; {L_PROFILE}&lt;/a&gt;&lt;!-- ENDIF --&gt;&lt;!-- ENDIF --&gt;




&lt;!-- IF S_USER_LOGGED_IN --&gt;{LAST_VISIT_DATE}&lt;!-- ENDIF --&gt;
{CURRENT_TIME}

&lt;!-- IF S_DISPLAY_SEARCH --&gt;
&lt;a href=&quot;http://www.eclipstore.com&quot; title=&quot;&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;
&lt;!-- ENDIF --&gt;&lt;!-- ENDIF --&gt;&lt;!-- ENDIF --&gt;&lt;a href=&quot;{U_SEARCH_UNANSWERED}&quot; rel=&quot;nofollow&quot;&gt;{L_SEARCH_UNANSWERED}&lt;/a&gt; &#124; &lt;a href=&quot;{U_SEARCH_ACTIVE_TOPICS}&quot; rel=&quot;nofollow&quot;&gt;{L_SEARCH_ACTIVE_TOPICS}&lt;/a&gt;&lt;a href=&quot;{U_SEARCH_UNREAD}&quot; rel=&quot;nofollow&quot;&gt;{L_SEARCH_UNREAD}&lt;/a&gt; &#124; &lt;a href=&quot;{U_SEARCH_NEW}&quot; rel=&quot;nofollow&quot;&gt;{L_SEARCH_NEW}&lt;/a&gt; &#124; &lt;a href=&quot;{U_SEARCH_SELF}&quot; rel=&quot;nofollow&quot;&gt;{L_SEARCH_SELF}&lt;/a&gt;


</description>
		<content:encoded><![CDATA[<p>Parse error: syntax error, unexpected &#8216;}&#8217; that shut me down. I can not access the phpbb admin.  Anyone see a problem</p>
<p>{META}<br />
{SITENAME} • &lt;!-- IF S_IN_MCP --&gt;{L_MCP} • &lt;!-- ELSEIF S_IN_UCP --&gt;{L_UCP} • &lt;!-- ENDIF --&gt;{PAGE_TITLE}<!-- IF S_ENABLE_FEEDS --><!-- IF S_ENABLE_FEEDS_OVERALL --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_NEWS --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_FORUMS --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_TOPICS --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><br />
<!-- ENDIF --><!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><br />
<!-- ENDIF --><!-- ENDIF --></p>
<p>// &lt;![CDATA[<br />
<!-- IF S_USER_PM_POPUP --><br />
if ({S_NEW_PM})<br />
{<br />
popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');<br />
}<br />
<!-- ENDIF --></p>
<p>function popup(url, width, height, name)<br />
{<br />
if (!name)<br />
{<br />
name = '_popup';<br />
}</p>
<p>window.open(url.replace(/&amp;/g, '&amp;'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);<br />
return false;<br />
}</p>
<p>function jumpto()<br />
{<br />
var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');<br />
var per_page = '{PER_PAGE}';<br />
var base_url = '{A_BASE_URL}';</p>
<p>if (page !== null &amp;&amp; !isNaN(page) &amp;&amp; page == Math.floor(page) &amp;&amp; page &gt; 0)<br />
{<br />
if (base_url.indexOf('?') == -1)<br />
{<br />
document.location.href = base_url + '?start=' + ((page - 1) * per_page);<br />
}<br />
else<br />
{<br />
document.location.href = base_url.replace(/&amp;/g, '&amp;') + '&amp;start=' + ((page - 1) * per_page);<br />
}<br />
}<br />
}</p>
<p>/**<br />
* Find a member<br />
*/<br />
function find_username(url)<br />
{<br />
popup(url, 760, 570, '_usersearch');<br />
return false;<br />
}</p>
<p>/**<br />
* Mark/unmark checklist<br />
* id = ID of parent container, name = name prefix, state = state [true/false]<br />
*/<br />
function marklist(id, name, state)<br />
{<br />
var parent = document.getElementById(id);<br />
if (!parent)<br />
{<br />
eval(&#8216;parent = document.&#8217; + id);<br />
}</p>
<p>if (!parent)<br />
{<br />
return;<br />
}</p>
<p>var rb = parent.getElementsByTagName(&#8216;input&#8217;);</p>
<p>for (var r = 0; r &lt; rb.length; r++)<br />
{<br />
if (rb[r].name.substr(0, name.length) == name)<br />
{<br />
rb[r].checked = state;<br />
}<br />
}<br />
}</p>
<p><!-- IF ._file --></p>
<p>/**<br />
* Play quicktime file by determining it&#8217;s width/height<br />
* from the displayed rectangle area<br />
*<br />
* Only defined if there is a file block present.<br />
*/<br />
function play_qt_file(obj)<br />
{<br />
var rectangle = obj.GetRectangle();</p>
<p>if (rectangle)<br />
{<br />
rectangle = rectangle.split(&#8216;,&#8217;)<br />
var x1 = parseInt(rectangle[0]);<br />
var x2 = parseInt(rectangle[2]);<br />
var y1 = parseInt(rectangle[1]);<br />
var y2 = parseInt(rectangle[3]);</p>
<p>var width = (x1 &lt; 0) ? (x1 * -1) + x2 : x2 - x1;<br />
var height = (y1 &lt; 0) ? (y1 * -1) + y2 : y2 - y1;<br />
}<br />
else<br />
{<br />
var width = 200;<br />
var height = 0;<br />
}</p>
<p>obj.width = width;<br />
obj.height = height + 16;</p>
<p>obj.SetControllerVisible(true);</p>
<p>obj.Play();<br />
}<br />
<!-- ENDIF --></p>
<p>// ]]&gt;</p>
<p><a></a></p>
<p><a href="{U_INDEX}" rel="nofollow"><br />
</a></p>
<p><!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}" rel="nofollow"> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF --><!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}" rel="nofollow"> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF --><!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;{L_BOARD_DISABLED}<!-- ENDIF --><!-- IF not S_IS_BOT --><!-- IF S_USER_LOGGED_IN --><!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}" rel="nofollow"> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF --><!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> &nbsp;<a href="{U_REGISTER}" rel="nofollow"> {L_REGISTER}</a><!-- ENDIF --><!-- ENDIF --><br />
<a href="{U_FAQ}" rel="nofollow"> {L_FAQ}</a><!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}" rel="nofollow"> {L_SEARCH}</a><!-- ENDIF --><!-- IF not S_IS_BOT --><!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}" rel="nofollow"> {L_MEMBERLIST}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}" rel="nofollow"> {L_PROFILE}</a><!-- ENDIF --><!-- ENDIF --></p>
<p><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --><br />
{CURRENT_TIME}</p>
<p><!-- IF S_DISPLAY_SEARCH --><br />
<a href="http://www.eclipstore.com" title="" rel="nofollow"></a><br />
<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --><a href="{U_SEARCH_UNANSWERED}" rel="nofollow">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}" rel="nofollow">{L_SEARCH_ACTIVE_TOPICS}</a><a href="{U_SEARCH_UNREAD}" rel="nofollow">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}" rel="nofollow">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}" rel="nofollow">{L_SEARCH_SELF}</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne Hedonia</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-22660</link>
		<dc:creator>Anne Hedonia</dc:creator>
		<pubDate>Sun, 20 Mar 2011 06:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-22660</guid>
		<description>(Actually, I meant an extra }.  Sorry, I&#039;ve been at this too long.</description>
		<content:encoded><![CDATA[<p>(Actually, I meant an extra }.  Sorry, I&#8217;ve been at this too long.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne Hedonia</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-22659</link>
		<dc:creator>Anne Hedonia</dc:creator>
		<pubDate>Sun, 20 Mar 2011 06:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-22659</guid>
		<description>I LOVE YOU PEOPLE!  Added an extra { to the end of my code and it was all fixed. ::MWAH!::</description>
		<content:encoded><![CDATA[<p>I LOVE YOU PEOPLE!  Added an extra { to the end of my code and it was all fixed. ::MWAH!::</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the_smiley</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-20049</link>
		<dc:creator>the_smiley</dc:creator>
		<pubDate>Fri, 21 Jan 2011 12:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-20049</guid>
		<description>i had exactly the same problem as the guy with error coming from the line with the ?&gt; tag, though it was an if statement who&#039;s closing bracket i had erroniously commented out</description>
		<content:encoded><![CDATA[<p>i had exactly the same problem as the guy with error coming from the line with the ?&gt; tag, though it was an if statement who&#8217;s closing bracket i had erroniously commented out</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Cobb</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-7198</link>
		<dc:creator>David Cobb</dc:creator>
		<pubDate>Tue, 26 Oct 2010 21:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-7198</guid>
		<description>I agree with the post above and I will find more information from &lt;a href=&quot;http://www.google.com.mx&quot; rel=&quot;nofollow&quot;&gt;google&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>I agree with the post above and I will find more information from <a href="http://www.google.com.mx" rel="nofollow">google</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KGF2009</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-6257</link>
		<dc:creator>KGF2009</dc:creator>
		<pubDate>Mon, 12 Jul 2010 06:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-6257</guid>
		<description>Though I&#039;m sure this is rare, but it could happen if you declare a lot of functions in your class, this error will also be thrown if the class itself is not closed.</description>
		<content:encoded><![CDATA[<p>Though I&#8217;m sure this is rare, but it could happen if you declare a lot of functions in your class, this error will also be thrown if the class itself is not closed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-6188</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 02 Jul 2010 15:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-6188</guid>
		<description>Thanks Asdf.
Just put a { to the end.</description>
		<content:encoded><![CDATA[<p>Thanks Asdf.<br />
Just put a { to the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Boggess</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-5799</link>
		<dc:creator>Michael Boggess</dc:creator>
		<pubDate>Wed, 21 Apr 2010 03:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-5799</guid>
		<description>I had this error buy it ended up I did not close an if block mid way through the class. Watch out for that stuff.</description>
		<content:encoded><![CDATA[<p>I had this error buy it ended up I did not close an if block mid way through the class. Watch out for that stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grobemo</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-5728</link>
		<dc:creator>grobemo</dc:creator>
		<pubDate>Wed, 07 Apr 2010 03:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-5728</guid>
		<description>Thanks! This helped me fix this otherwise puzzling bug.

If you&#039;re getting the &quot;unexpected $end, expecting T_FUNCTION&quot; variation (as egodi does above), it may be because you&#039;ve forgotten to close the class declaration. Try adding a final } after your last method declaration (i.e., after your last function).</description>
		<content:encoded><![CDATA[<p>Thanks! This helped me fix this otherwise puzzling bug.</p>
<p>If you&#8217;re getting the &#8220;unexpected $end, expecting T_FUNCTION&#8221; variation (as egodi does above), it may be because you&#8217;ve forgotten to close the class declaration. Try adding a final } after your last method declaration (i.e., after your last function).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aeou</title>
		<link>http://www.compdigitec.com/labs/2008/07/19/stopping-syntax-error-expecting-t_function/comment-page-1/#comment-5098</link>
		<dc:creator>aeou</dc:creator>
		<pubDate>Wed, 23 Dec 2009 22:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.compdigitec.com/labs/?p=6#comment-5098</guid>
		<description>the following snippet will output the same message (only when inside a class method, not in or out of a procedural function)

class Foo {
  public function foo() {
    if ($a) {
      echo &#039;foo&#039;;
    if ($b) {
      echo &#039;bar&#039;;
    }
  }
}</description>
		<content:encoded><![CDATA[<p>the following snippet will output the same message (only when inside a class method, not in or out of a procedural function)</p>
<p>class Foo {<br />
  public function foo() {<br />
    if ($a) {<br />
      echo &#8216;foo&#8217;;<br />
    if ($b) {<br />
      echo &#8216;bar&#8217;;<br />
    }<br />
  }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

