<?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>advance php Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/advance-php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/advance-php/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 18 Aug 2021 06:16:34 +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>Advance PHP</title>
		<link>https://www.scmgalaxy.com/tutorials/advance-php-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/advance-php-2/#respond</comments>
		
		<dc:creator><![CDATA[vikashdev k]]></dc:creator>
		<pubDate>Wed, 18 Aug 2021 06:16:33 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[advance php]]></category>
		<category><![CDATA[class & object in php]]></category>
		<category><![CDATA[classes in php]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[object in php]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[rules for creating class]]></category>
		<category><![CDATA[syntax for class]]></category>
		<category><![CDATA[syntax for object]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[why we should lean advance php]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=8065</guid>

					<description><![CDATA[<p>In core PHP we learn only the basic elements but in advanced PHP we are learning many other elements or [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/advance-php-2/">Advance PHP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">In core PHP we learn only the basic elements but in advanced PHP we are learning many other elements or their uses in real-life projects that is why it is called <strong>advanced PHP</strong>. Remember that there is <strong>no difference between core PHP and advanced PHP.</strong></p>



<h2 class="wp-block-heading">why we should learn advanced php?</h2>



<p class="wp-block-paragraph">The good feature of PHP is that it is very robust and scalable. PHP is much the same as if it was an object-oriented language, making it a very easy language to deal with. PHP also has a very strong meta-language for programmers. PHP has increased demand for language development year over year.</p>



<h2 class="wp-block-heading">Class &amp; Object</h2>



<h3 class="wp-block-heading">Class:-</h3>



<ul class="wp-block-list"><li>PHP class is a <strong>group of values and a set of operations to manipulate the value or to change the value</strong>.</li><li>Classes are the <strong>blueprints </strong>of objects.</li><li>Classes are nothing without<strong> objects</strong>.</li><li>Class is a programmer-defined<strong> data type</strong>.</li><li>The syntax for defining a class in PHP is<strong> very simple</strong>.</li><li>We use the keyword <strong>class </strong>followed by the name of the <strong>class</strong>.</li></ul>



<h3 class="wp-block-heading">Rules for creating class:-</h3>



<ul class="wp-block-list"><li>Class name can be any valid label like(Vikash,Ram,Boss,Cat,Plant e.t.c).</li><li>Cannot be used Php reserved words.</li><li>The class name, should start with letter or underscore.</li><li>for remembering class, the class name starts with the first capital letter.</li></ul>



<h3 class="wp-block-heading">syntax:-</h3>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">class</span><span class="has-inline-color has-vivid-cyan-blue-color"> Classname</span>
{
var&amp;variable_name;
var&amp;variable_name;
var&amp;variable_name;

function Method_name()
{
body of method;
}

function Method_name()
{
body of method;
}

function Method_name(parameter_list)
{
body of method;
}

}
</code></pre>



<h3 class="wp-block-heading">Object:-</h3>



<ul class="wp-block-list"><li>Objects are defined from <strong>classes</strong>.</li><li>An object of a class <strong>a copy of each variable defined in the class</strong> is created.</li><li>Classes are nothing without<strong> objects</strong>.</li><li>We can create<strong> multiple</strong> objects from a class.</li></ul>



<h3 class="wp-block-heading">Syntax:-</h3>



<pre class="wp-block-code"><code>$Object_name=<span class="has-inline-color has-vivid-red-color">new</span> <span class="has-inline-color has-vivid-cyan-blue-color">class_name</span>;</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/advance-php-2/">Advance PHP</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/advance-php-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
