<?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 Interview Questions and answers&#187; predefined classes archives  &#8211; interview questions and answers</title>
	<atom:link href="http://www.phpinterviewquestions.com/tag/predefined-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpinterviewquestions.com</link>
	<description>Prepare for your next php based interview with high confidence</description>
	<lastBuildDate>Mon, 26 Sep 2011 08:37:10 +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>Predefined classes in PHP</title>
		<link>http://www.phpinterviewquestions.com/php-interview-questions/expert-level-php-interview-questions/predefined-classes-in-php/</link>
		<comments>http://www.phpinterviewquestions.com/php-interview-questions/expert-level-php-interview-questions/predefined-classes-in-php/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 05:19:03 +0000</pubDate>
		<dc:creator>Bart</dc:creator>
				<category><![CDATA[Expert level]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[predefined classes]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestions.com/wordpress/?p=32</guid>
		<description><![CDATA[List out the predefined classes in PHP?
Directory
stdClass
__PHP_Incomplete_Class
exception
php_user_filter




Best way to check your reserved classes is,
var_dump (get_declared_classes ());
Standard Defined Classes
These classes are defined in the standard set of functions included in the PHP build.
Directory
    The class from which dir is instantiated.
stdClass
    Created by typecasting to object.
__PHP_Incomplete_Class
    Possibly created [...]]]></description>
			<content:encoded><![CDATA[<p>List out the predefined classes in PHP?</p>
<p><strong>Directory</strong></p>
<p><strong>stdClass</strong></p>
<p><strong>__PHP_Incomplete_Class</strong></p>
<p><strong>exception</strong></p>
<p><strong>php_user_filter</strong></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-8695027799979044";
/* 468x15, created 4/16/10 */
google_ad_slot = "1994287074";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Best way to check your reserved classes is,<br />
var_dump (get_declared_classes ());</p>
<p>Standard Defined Classes</p>
<p>These classes are defined in the standard set of functions included in the PHP build.</p>
<p><strong>Directory</strong><br />
    The class from which <a target="_blank" href="http://www.php.net/manual/en/class.dir.php">dir</a> is instantiated.<br />
<strong>stdClass</strong><br />
    Created by <a target="_blank" href="http://www.php.net/manual/en/language.types.object.php#language.types.object.casting">typecasting to object</a>.<br />
__<strong>PHP_Incomplete_Class</strong><br />
    Possibly created by unserialize(). </p>
<p>Predefined classes as of PHP 5</p>
<p>These additional predefined classes were introduced in PHP 5.0.0.</p>
<p><a target="_blank" href="http://www.php.net/manual/en/class.exception.php"><strong>exception</strong></a><br />
<strong>php_user_filter</strong> </p>
<p><strong>Closure</strong></p>
<p>The predefined final class <strong>Closure</strong> was introduced in PHP 5.3.0. It is used for internal implementation of <a target="_blank" href="http://www.php.net/manual/en/functions.anonymous.php">anonymous functions</a>.</p>
<p>The class has a constructor forbidding the manual creation of the object (issues E_RECOVERABLE_ERROR) and the __invoke method with the <a target="_blank" href="http://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.invoke">calling magic.</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-8695027799979044";
/* 336x280, created 3/4/10 */
google_ad_slot = "4291231574";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpinterviewquestions.com/php-interview-questions/expert-level-php-interview-questions/predefined-classes-in-php/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

