<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fordnox &#187; php5</title>
	<atom:link href="http://www.fordnox.com/blog/tag/php5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fordnox.com/blog</link>
	<description>Life is about trust</description>
	<lastBuildDate>Fri, 19 Mar 2010 22:57:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend PHP5 Certification &#8211; Pass</title>
		<link>http://www.fordnox.com/blog/2009/07/zend-php5-certification-pass/</link>
		<comments>http://www.fordnox.com/blog/2009/07/zend-php5-certification-pass/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 16:19:05 +0000</pubDate>
		<dc:creator>Andrius</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.fordnox.com/blog/?p=137</guid>
		<description><![CDATA[For a long time I have been considering whether it worth passing Zend PHP5 exam or not. Does it make any difference ? Well hell yes, it does. I am not saying this is very hard exam if you are working with PHP on daily basis, but having this little note about yourself makes big [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time I have been considering whether it worth passing Zend PHP5 exam or not. Does it make any difference ? Well hell yes, it does. I am not saying this is very hard exam if you are working with PHP on daily basis, but having this little note about yourself makes big influence to your mind. It shows your true commitment to what you do.</p>
<p>A few words about exam. For me it looked very similar to Mock exams, which I have bought with exam voucher. It was not necessary but I think that helped me. After reading Zend PHP 5 Certification Study Guide, I have taken 4  mock exams with a grade &#8220;Excellent&#8221; and considered that was enough for me. Next I went to Pearson VUE and passed real exam in about 45min. To my mind 90 minutes it is more than enough. There was some tricky questions, but I am sure you will handle it with no problem.</p>
<p>Now I am looking forward of passing Zend Framework Certification. It is a shame that ZF is 1.8.4 version as I am writing this post, and exam is based on v1.5. But non the less I will take it and write about that experiance.</p>
<p><a title="Zend Certified Engineer" href="http://zend.com/zce.php?c=ZEND010825"><img src="http://static.zend.com/img/yellowpages/php5_zce_logo_new.gif" alt="Zend PHP5 Certificate Logo" /></a><br />
<span id="more-137"></span></p>
<p>Try these links if yu wish to learn more:</p>
<p><a href="http://readtheweb.info/2008/01/02/passing-the-zend-php-5-certification-exam/">http://readtheweb.info/2008/01/02/passing-the-zend-php-5-certification-exam/</a></p>
<p><a href="http://readtheweb.info/2008/01/04/php5-strings-regular-expressions/">http://readtheweb.info/2008/01/04/php5-strings-regular-expressions/</a></p>
<p><a href="http://readtheweb.info/2008/01/06/zend-php5-certification-exam-study-review-2-streams-and-network/">http://readtheweb.info/2008/01/06/zend-php5-certification-exam-study-review-2-streams-and-network/</a></p>
<p><a href="http://readtheweb.info/2008/01/08/zend-php5-certification-exam-study-review-3-xml-web-service/">http://readtheweb.info/2008/01/08/zend-php5-certification-exam-study-review-3-xml-web-service/</a></p>
<p><a href="http://readtheweb.info/2008/01/10/zend-php5-certification-exam-study-review-4-web-programming-web-features/">http://readtheweb.info/2008/01/10/zend-php5-certification-exam-study-review-4-web-programming-web-features/</a></p>
<p><a href="http://readtheweb.info/2008/01/12/zend-php5-certification-exam-study-review-5-database-and-sql/">http://readtheweb.info/2008/01/12/zend-php5-certification-exam-study-review-5-database-and-sql/</a></p>
<p><a href="http://readtheweb.info/2008/01/14/zend-php5-certification-exam-study-review-6-security/">http://readtheweb.info/2008/01/14/zend-php5-certification-exam-study-review-6-security/</a></p>
<p><a href="http://readtheweb.info/2008/01/16/zend-php5-certification-exam-study-review-7-php4-and-php5/">http://readtheweb.info/2008/01/16/zend-php5-certification-exam-study-review-7-php4-and-php5/</a></p>
<p><a href="http://readtheweb.info/2008/01/18/zend-php5-certification-exam-study-review-8-oop-in-php-5/">http://readtheweb.info/2008/01/18/zend-php5-certification-exam-study-review-8-oop-in-php-5/</a></p>
<p><a href="http://readtheweb.info/2008/01/20/zend-php5-certification-exam-study-review-9-oop-designtheory/">http://readtheweb.info/2008/01/20/zend-php5-certification-exam-study-review-9-oop-designtheory/</a></p>
<p><a href="http://readtheweb.info/2008/01/22/zend-php5-certification-exam-study-review-10-supplementary-i/">http://readtheweb.info/2008/01/22/zend-php5-certification-exam-study-review-10-supplementary-i/</a></p>
<p><a href="http://readtheweb.info/2008/01/24/zend-php5-certification-exam-study-review-11-supplementary-ii/">http://readtheweb.info/2008/01/24/zend-php5-certification-exam-study-review-11-supplementary-ii/</a></p>
<p><a href="http://readtheweb.info/2008/01/26/zend-php5-certification-exam-study-review-11-supplementary-iii/">http://readtheweb.info/2008/01/26/zend-php5-certification-exam-study-review-11-supplementary-iii/</a></p>
<p><a href="http://mathayi.wordpress.com/2009/01/18/zce-sample-questions/">http://mathayi.wordpress.com/2009/01/18/zce-sample-questions/</a></p>
<p><a href="http://segfaultlabs.com/blog/post/zend-php-certification-watchouts/">http://segfaultlabs.com/blog/post/zend-php-certification-watchouts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.fordnox.com/blog/2009/07/zend-php5-certification-pass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Numbers to Words</title>
		<link>http://www.fordnox.com/blog/2008/08/numbers-to-words/</link>
		<comments>http://www.fordnox.com/blog/2008/08/numbers-to-words/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 11:46:41 +0000</pubDate>
		<dc:creator>Andrius</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.fordnox.com/blog/?p=195</guid>
		<description><![CDATA[The best solution for this problem is Pear package, but if you don&#8217;t like it, you can use this PHP class for converting to Lithuanian language:
Gal = "";
		$c = $this-&#62;Tukst($a, "", "", "");
		$skaicius = intval($skaicius / 1000);
		$a = $skaicius;
		If ($a % 1000 &#62; 0) {
			$c = $this-&#62;Tukst($a, "čių", "tis", "čiai") . " tūkstan" . $this-&#62;Gal [...]]]></description>
			<content:encoded><![CDATA[<p>The best solution for this problem is <a href="http://pear.php.net/package/Numbers_Words">Pear package</a>, but if you don&#8217;t like it, you can use this PHP class for converting to Lithuanian language:</p>
<pre class="brush:js">Gal = "";
		$c = $this-&gt;Tukst($a, "", "", "");
		$skaicius = intval($skaicius / 1000);
		$a = $skaicius;
		If ($a % 1000 &gt; 0) {
			$c = $this-&gt;Tukst($a, "čių", "tis", "čiai") . " tūkstan" . $this-&gt;Gal . " " . $c;
		}
		$skaicius = intval($skaicius / 1000);
		$a = $skaicius;
		If ($a % 1000 &gt; 0) {
			$c = $this-&gt;Tukst($a, "ų", "as", "ai") . " milijon" . $this-&gt;Gal . " " . $c;
		}
		If ($formatas == 0) {
			If ($sk &gt; 0) {
				$c = trim($c) . " Lt ";
			}
			Else {
				$c = "nulis Lt ";
			}
			$tmp = $this-&gt;Str((1 + $sk));
			//echo "$tmp
\n";
			$tmp = $tmp*100;
			//echo "$tmp
\n";
			////$tmp = $tmp%10000;
			//echo "$tmp
\n";
			$tmp = trim($tmp);
			//echo "$tmp
\n";
			//$tmp = mid($tmp, 1, 2);
			$tmp = substr($tmp, -2);
			//echo "$tmp
\n";

			//$c = $c . mid(trim(Str((1 + $sk) * 100 % 1000)), 1, 2) . " ct";
			$c = $c . $tmp . " ct";
		}
		If ($formatas == 1) {
			If (Intval($sk) == 0) {
				$c = "nulis";
			}
			$c = $c . " vienet" . $this-&gt;GG(Intval($sk));
		}
		$c = $this-&gt;UPPER_LT($this-&gt;Mid($c, 0, 1)) . $this-&gt;Mid($c, 1, 254);
		return $c;
	}

	private Function Tukst($A , $G1, $G2, $G3)
	{
		$C = "";
		$this-&gt;Gal = "";
		If ($A == 0) {
			//return $C;
		}
		$B = $A % 10;
		If ($B == 0) {
			$this-&gt;Gal = $G1;
		}
		If ($B == 1) {
			$this-&gt;Gal = $G2;
		}
		If ($B &gt; 1) {
			$this-&gt;Gal = $G3;
		}
		switch ($B) {
			Case 1:
				$C = "vienas";
				break;
				Case 2:
					$C = "du";
					break;
					Case 3:
						$C = "trys";
						break;
						Case 4:
							$C = "keturi";
							break;
							Case 5:
								$C = "penki";
								break;
								Case 6:
									$C = "šeši";
									break;
									Case 7:
										$C = "septyni";
										break;
										Case 8:
											$C = "aštuoni";
											break;
											Case 9:
												$C = "devyni";
												break;
		}
		$B1 = $B;
		$A = Intval($A / 10);
		$B = $A % 10;
		If ($B == 1) {
			$this-&gt;Gal = $G1;
			switch ($B1) {
				Case 0:
					$C = "dešimt";
					break;
					Case 1:
						$C = "vienuolika";
						break;
						Case 2:
							$C = "dvylika";
							break;
							Case 3:
								$C = "trylika";
								break;
								Case 4:
									$C = "keturiolika";
									break;
									Case 5:
										$C = "penkiolika";
										break;
										Case 6:
											$C = "šešiolika";
											break;
											Case 7:
												$C = "septyniolika";
												break;
												Case 8:
													$C = "aštuoniolika";
													break;
													Case 9:
														$C = "devyniolika";
														break;
			}
		}
		switch ($B) {
			Case 2:
				$C = "dvidešimt " . $C;
				break;
				Case 3:
					$C = "trisdešimt " . $C;
					break;
					Case 4:
						$C = "keturiasdešimt " . $C;
						break;
						Case 5:
							$C = "penkiasdešimt " . $C;
							break;
							Case 6:
								$C = "šešiasdešimt " . $C;
								break;
								Case 7:
									$C = "septyniasdešimt " . $C;
									break;
									Case 8:
										$C = "aštuoniasdešimt " . $C;
										break;
										Case 9:
											$C = "devyniasdešimt " . $C;
											break;
		}

		$A = Intval($A / 10);
		$B = $A % 10;
		switch ($B) {
			Case 1:
				$C = "vienas šimtas " . $C;
				break;
				Case 2:
					$C = "du šimtai " . $C;
					break;
					Case 3:
						$C = "trys šimtai " . $C;
						break;
						Case 4:
							$C = "keturi šimtai " . $C;
							break;
							Case 5:
								$C = "penki šimtai " . $C;
								break;
								Case 6:
									$C = "šeši šimtai " . $C;
									break;
									Case 7:
										$C = "septyni šimtai " . $C;
										break;
										Case 8:
											$C = "aštuoni šimtai " . $C;
											break;
											Case 9:
												$C = "devyni šimtai " . $C;
												break;
		}
		return $C;
	}

	private function GG($X)
	{
		If (Intval($X / 10) % 10 != 1) {
			switch ($X % 10)
			{
				Case 0:
					return "ų";
					break;
					Case 1:
						return "as";
						break;
					default:
						return "ai";
			}
		}
		Else {
			return "ų";
		}
		return "";
	}

	private function UPPER_LT($s)
	{
		return strtoupper($s);
	}

	private function Mid($s, $from, $len) {
		return substr($s, $from, $len);
	}

	private function Str($i)
	{
		return $i;
	}
}
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.fordnox.com/blog/2008/08/numbers-to-words/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
