<?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>example of constructor in php Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/example-of-constructor-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/example-of-constructor-in-php/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Thu, 07 Oct 2021 11:32:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>PHP OOP : Constructor function</title>
		<link>https://www.scmgalaxy.com/tutorials/php-constructor-function/</link>
					<comments>https://www.scmgalaxy.com/tutorials/php-constructor-function/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 09:50:12 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[constructor function]]></category>
		<category><![CDATA[constructor in php]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[example of constructor in php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[What]]></category>
		<category><![CDATA[what is constructor]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=9405</guid>

					<description><![CDATA[<p>What is Constructor ? Constructor is a special type of function of a class which is automatically executed when object [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-constructor-function/">PHP OOP : Constructor function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">What is Constructor ?</h3>



<p class="wp-block-paragraph">Constructor is a special type of function of a class which is automatically executed when object of that class is created. Constructor is also called as magic function because in php constructor is start usually with two underscore characters. It saves lot of time on big project.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
function __constructor(){
body part;
}
</pre></div>


<h3 class="wp-block-heading">Example of Constructor :-</h3>



<script src="https://gist.github.com/vikash-cotocus/e4d69979edee9c03a21d53657f04c224.js"></script>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="470" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-1024x470.png" alt="" class="wp-image-9408" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-1024x470.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-300x138.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2-768x353.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/10/php2.png 1466w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/php-constructor-function/">PHP OOP : Constructor function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/php-constructor-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
