<?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: PHP Parse Error: syntax error, unexpected $end</title>
	<atom:link href="http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/</link>
	<description>Living Digitally and Electronically</description>
	<lastBuildDate>Wed, 11 Nov 2009 02:18:47 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alexandre de Oliveira</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-608410</link>
		<dc:creator>Alexandre de Oliveira</dc:creator>
		<pubDate>Thu, 29 Oct 2009 14:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-608410</guid>
		<description>3 years later, I found the real problem. Somewhere in the code is written %&gt;, like in a table .

If your asp_tags = On, in ASP it means closing. It&#039;s amongst your HTML code. I got many hours to solve this problem.</description>
		<content:encoded><![CDATA[<p>3 years later, I found the real problem. Somewhere in the code is written %&gt;, like in a table .</p>
<p>If your asp_tags = On, in ASP it means closing. It&#8217;s amongst your HTML code. I got many hours to solve this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neha</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-602967</link>
		<dc:creator>Neha</dc:creator>
		<pubDate>Sat, 03 Oct 2009 09:59:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-602967</guid>
		<description>Thanks Buddy your information helped me from hell of headache(spcly whn the code is not written by youself and u have to make your changes into it..phewww)....but thanks your suggestions helped me to locate and remove errors.....making &lt;? to &lt;?php solved my prob..:)</description>
		<content:encoded><![CDATA[<p>Thanks Buddy your information helped me from hell of headache(spcly whn the code is not written by youself and u have to make your changes into it..phewww)&#8230;.but thanks your suggestions helped me to locate and remove errors&#8230;..making &lt;? to &lt;?php solved my prob..:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Mlay</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-585061</link>
		<dc:creator>Gregory Mlay</dc:creator>
		<pubDate>Thu, 09 Jul 2009 06:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-585061</guid>
		<description>Also, some Webserver does not support the tag &lt;? for php files, change them to &lt;?php and it can work. (Dar Es Salaam, Tanzania)</description>
		<content:encoded><![CDATA[<p>Also, some Webserver does not support the tag &lt;? for php files, change them to &lt;?php and it can work. (Dar Es Salaam, Tanzania)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zahoor Ahmad</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-557412</link>
		<dc:creator>Zahoor Ahmad</dc:creator>
		<pubDate>Sun, 25 Jan 2009 04:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-557412</guid>
		<description>It was very much helpful in solving my problem of the same kind of error.</description>
		<content:encoded><![CDATA[<p>It was very much helpful in solving my problem of the same kind of error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hardy101</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-547177</link>
		<dc:creator>hardy101</dc:creator>
		<pubDate>Thu, 11 Dec 2008 03:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-547177</guid>
		<description>Thank you for this awesome tip about short_open_tags!  Would have never found that by myself.</description>
		<content:encoded><![CDATA[<p>Thank you for this awesome tip about short_open_tags!  Would have never found that by myself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: COMALite J</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-531089</link>
		<dc:creator>COMALite J</dc:creator>
		<pubDate>Fri, 12 Sep 2008 15:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-531089</guid>
		<description>Rana, any source code editor that supports Find / Replace with Regular Expressions can help you balance braces.

Example: in Macrodobe Dreamweaver (any non-absolutely-ancient version), do [Ctrl]+[F] to activate Find/Replace, tell it:

Find in: Current Document
Search: Source Code
Find: [{}]
Replace: (leave blank)
Options: “Use Regular Expression” checked, all others unchecked.

Then simply do Find Next. This will find both opening and closing braces. For each opening brace you find, count them starting at 1. For each closing brace, subtract 1 from the current count. You should wind up at 0 just before it wraps around back to the beginning (also in any specific function, block, &lt;em&gt;etc.&lt;/em&gt;).

&lt;em&gt;E.g.&lt;/em&gt;
&lt;code&gt;foreach ($array as $value) { // 1
  if ($value &gt; 100) { // 2
    echo &quot;$value too big!\n&quot;;
  } // 1
} // 0&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Rana, any source code editor that supports Find / Replace with Regular Expressions can help you balance braces.</p>
<p>Example: in Macrodobe Dreamweaver (any non-absolutely-ancient version), do [Ctrl]+[F] to activate Find/Replace, tell it:</p>
<p>Find in: Current Document<br />
Search: Source Code<br />
Find: [{}]<br />
Replace: (leave blank)<br />
Options: “Use Regular Expression” checked, all others unchecked.</p>
<p>Then simply do Find Next. This will find both opening and closing braces. For each opening brace you find, count them starting at 1. For each closing brace, subtract 1 from the current count. You should wind up at 0 just before it wraps around back to the beginning (also in any specific function, block, <em>etc.</em>).</p>
<p><em>E.g.</em><br />
<code>foreach ($array as $value) { // 1<br />
  if ($value &gt; 100) { // 2<br />
    echo "$value too big!\n";<br />
  } // 1<br />
} // 0</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raghavendra</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-507355</link>
		<dc:creator>Raghavendra</dc:creator>
		<pubDate>Sat, 10 May 2008 06:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-507355</guid>
		<description>Thank you very much .....</description>
		<content:encoded><![CDATA[<p>Thank you very much &#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-474155</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sun, 16 Mar 2008 16:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-474155</guid>
		<description>Thank you,

Been searching for ages for solution to this.

short_open_tag = On solved that problem for me.

Finally I can open templates</description>
		<content:encoded><![CDATA[<p>Thank you,</p>
<p>Been searching for ages for solution to this.</p>
<p>short_open_tag = On solved that problem for me.</p>
<p>Finally I can open templates</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sugi</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-471195</link>
		<dc:creator>sugi</dc:creator>
		<pubDate>Sat, 08 Mar 2008 06:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-471195</guid>
		<description>syntax error, unexpected $end in C:\wamp\www\login.php on line 49</description>
		<content:encoded><![CDATA[<p>syntax error, unexpected $end in C:\wamp\www\login.php on line 49</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rana</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-468381</link>
		<dc:creator>Rana</dc:creator>
		<pubDate>Wed, 27 Feb 2008 12:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-468381</guid>
		<description>Thanks for your time, But for me Its really didfficult to find a missing curly bracket.

Is there any easiest way to findout with MISSING CURLY BRACKET. Any editor can do it for us.

Please Help.
Rana</description>
		<content:encoded><![CDATA[<p>Thanks for your time, But for me Its really didfficult to find a missing curly bracket.</p>
<p>Is there any easiest way to findout with MISSING CURLY BRACKET. Any editor can do it for us.</p>
<p>Please Help.<br />
Rana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-398905</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Tue, 23 Oct 2007 10:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-398905</guid>
		<description>Very useful, thanks.  I just upgraded to openSuse 10.3 from 10.2 which had reset my php.ini.</description>
		<content:encoded><![CDATA[<p>Very useful, thanks.  I just upgraded to openSuse 10.3 from 10.2 which had reset my php.ini.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hamed</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-395277</link>
		<dc:creator>Hamed</dc:creator>
		<pubDate>Sun, 30 Sep 2007 04:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-395277</guid>
		<description>wow! thanks for your useful guidance...</description>
		<content:encoded><![CDATA[<p>wow! thanks for your useful guidance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilbert</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-393315</link>
		<dc:creator>gilbert</dc:creator>
		<pubDate>Sat, 15 Sep 2007 12:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-393315</guid>
		<description>thhanx a lot short_open_tag = On solved my problem. ypu are helpful</description>
		<content:encoded><![CDATA[<p>thhanx a lot short_open_tag = On solved my problem. ypu are helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-391007</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Thu, 30 Aug 2007 11:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-391007</guid>
		<description>Thanks a ton, I&#039;ve been trying to figure this out for the last few hours.</description>
		<content:encoded><![CDATA[<p>Thanks a ton, I&#8217;ve been trying to figure this out for the last few hours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpcoder</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-175516</link>
		<dc:creator>phpcoder</dc:creator>
		<pubDate>Thu, 29 Mar 2007 14:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-175516</guid>
		<description>This might be due to a missing quote also</description>
		<content:encoded><![CDATA[<p>This might be due to a missing quote also</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/comment-page-1/#comment-101311</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sun, 04 Feb 2007 23:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2006/04/23/php-parse-error-syntax-error-unexpected-end/#comment-101311</guid>
		<description>Hello. I have a problem with a PHP file that shows the &quot;PHP Parse Error: syntax error, unexpected $end&quot; error and I followed the instructions in this page and corrected the php.ini from OFF to ON.
Now, the file don&#039;t give any feedback when I open it. It only gives me a blank page and no info! O_o
It&#039;s strange... Can you help me please? Thanks.</description>
		<content:encoded><![CDATA[<p>Hello. I have a problem with a PHP file that shows the &#8220;PHP Parse Error: syntax error, unexpected $end&#8221; error and I followed the instructions in this page and corrected the php.ini from OFF to ON.<br />
Now, the file don&#8217;t give any feedback when I open it. It only gives me a blank page and no info! O_o<br />
It&#8217;s strange&#8230; Can you help me please? Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
