<?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>PHP,MySQL &#187; php hata fırlatma</title>
	<atom:link href="http://www.ersindogan.com/tag/php-hata-firlatma/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ersindogan.com</link>
	<description></description>
	<lastBuildDate>Fri, 25 Mar 2011 17:07:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=007</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP de hata fırlatmak ( Exception kullanımı )</title>
		<link>http://www.ersindogan.com/php-web-programlama/php-de-hata-firlatmak</link>
		<comments>http://www.ersindogan.com/php-web-programlama/php-de-hata-firlatmak#comments</comments>
		<pubDate>Sat, 05 Dec 2009 22:16:49 +0000</pubDate>
		<dc:creator>Ersin</dc:creator>
				<category><![CDATA[Php Web Programlama]]></category>
		<category><![CDATA[php exception]]></category>
		<category><![CDATA[php hata fırlatma]]></category>

		<guid isPermaLink="false">http://www.ersindogan.com/?p=112</guid>
		<description><![CDATA[
			
				
			
		
Php nin try-catch kullanımını anlatırken phpnin bu yapı için çok yeterli olmadığından bahsetmiştik. Hatanın yakalanabilmesi için bu hatayı fırlatabilen ( Exception ) bir mekanizma gereklidir. Bu da PHP5 ile gelen yeni özellilerde mevcut.
Tabi sadece PHP ekibine mecbur değilsiniz bu hata mekanizması için. Kendiniz de hata fırlatma mekanizması oluşturabilirsiniz.
Bu anlatım karmaşasını örnek ile sadeleştirelim :
1234$dosya=fopen&#40;'dosya','r'&#41;;
$veri=fread&#40;$dosya,1024&#41;;
echo $veri;
fclose&#40;$dosya&#41;;
Örneğimiz [...]]]></description>
		<wfw:commentRss>http://www.ersindogan.com/php-web-programlama/php-de-hata-firlatmak/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

