<?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: How to calculate strings with PHP</title>
	<atom:link href="http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html</link>
	<description>easy guide to build, optimize and secure your web site</description>
	<lastBuildDate>Fri, 11 Nov 2011 16:47:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Meinereiner</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-1016</link>
		<dc:creator>Meinereiner</dc:creator>
		<pubDate>Fri, 11 Nov 2011 16:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-1016</guid>
		<description>The whole thing breaks as soon as the string doesn&#039;t have the right syntax (eg. 3*(2+2)- ). And as it is the same as eval it&#039;s quiet dangerous.
And ereg is indeed deprecated. But this shouldn&#039;t be a big issue.</description>
		<content:encoded><![CDATA[<p>The whole thing breaks as soon as the string doesn&#8217;t have the right syntax (eg. 3*(2+2)- ). And as it is the same as eval it&#8217;s quiet dangerous.<br />
And ereg is indeed deprecated. But this shouldn&#8217;t be a big issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-992</link>
		<dc:creator>Alberto</dc:creator>
		<pubDate>Thu, 13 Oct 2011 17:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-992</guid>
		<description>It shows me this error 

Parse error: syntax error, unexpected &#039;&lt;&#039; in /var/local/... : runtime-created function on line 1

on the line that calls create_function.

Could you tell me what can cause that? 
$mathString=&#039;4+2&#039;</description>
		<content:encoded><![CDATA[<p>It shows me this error </p>
<p>Parse error: syntax error, unexpected &#8216;&lt;&#039; in /var/local/&#8230; : runtime-created function on line 1</p>
<p>on the line that calls create_function.</p>
<p>Could you tell me what can cause that?<br />
$mathString=&#039;4+2&#039;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hannes</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-944</link>
		<dc:creator>Hannes</dc:creator>
		<pubDate>Thu, 08 Sep 2011 14:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-944</guid>
		<description>I agree, there is no difference to using eval. You should no longer use &quot;ereg_replace&quot;, this is discontinued.</description>
		<content:encoded><![CDATA[<p>I agree, there is no difference to using eval. You should no longer use &#8220;ereg_replace&#8221;, this is discontinued.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: php simple string calculations &#171; KO Blog</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-938</link>
		<dc:creator>php simple string calculations &#171; KO Blog</dc:creator>
		<pubDate>Sun, 04 Sep 2011 13:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-938</guid>
		<description>[...] This function is for calculating a given calculation in a string. e.g. (1+1)*(2+2) &#8216;Borrowed&#8217; from http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html [...]</description>
		<content:encoded><![CDATA[<p>[...] This function is for calculating a given calculation in a string. e.g. (1+1)*(2+2) &#8216;Borrowed&#8217; from <a href="http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html" rel="nofollow">http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sajjan jha</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-439</link>
		<dc:creator>sajjan jha</dc:creator>
		<pubDate>Mon, 11 Apr 2011 09:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-439</guid>
		<description>Great..

Thanks</description>
		<content:encoded><![CDATA[<p>Great..</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karel Hladky</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-168</link>
		<dc:creator>Karel Hladky</dc:creator>
		<pubDate>Mon, 20 Dec 2010 08:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-168</guid>
		<description>I dont know but I think that solution is same like eval ...</description>
		<content:encoded><![CDATA[<p>I dont know but I think that solution is same like eval &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luckgo</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-139</link>
		<dc:creator>luckgo</dc:creator>
		<pubDate>Sun, 17 Oct 2010 12:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-139</guid>
		<description>very good!
thank u!</description>
		<content:encoded><![CDATA[<p>very good!<br />
thank u!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hidden things</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-84</link>
		<dc:creator>Hidden things</dc:creator>
		<pubDate>Tue, 17 Aug 2010 04:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-84</guid>
		<description>Thank you so much, i was very blank before i got this great solution from you.</description>
		<content:encoded><![CDATA[<p>Thank you so much, i was very blank before i got this great solution from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: holodoc</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-83</link>
		<dc:creator>holodoc</dc:creator>
		<pubDate>Sun, 15 Aug 2010 23:46:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-83</guid>
		<description>A very nice trick. Took me a couple of seconds to realize what exactly you are doing but in fact its a very simple yet effective and most importantly eval-less aproach :)

Thanks for the idea. I will steal it :P</description>
		<content:encoded><![CDATA[<p>A very nice trick. Took me a couple of seconds to realize what exactly you are doing but in fact its a very simple yet effective and most importantly eval-less aproach <img src='http://www.website55.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for the idea. I will steal it <img src='http://www.website55.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uyab</title>
		<link>http://www.website55.com/php-mysql/2010/04/how-to-calculate-strings-with-php.html/comment-page-1#comment-54</link>
		<dc:creator>uyab</dc:creator>
		<pubDate>Thu, 17 Jun 2010 17:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.website55.com/?p=232#comment-54</guid>
		<description>thank you so much, after an hour searching, finally I found this website, calculate formula without eval(), look great. I&#039;ll use your code in my final project.</description>
		<content:encoded><![CDATA[<p>thank you so much, after an hour searching, finally I found this website, calculate formula without eval(), look great. I&#8217;ll use your code in my final project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

