quick links

RECENT TOPICS

Swap number without third variable.

<?php
$a=12;
$b=15;
$a=$a+$b;
$b=$a-$b;
$a=$a-$b;
echo $a."<br />".$b;
?>

Print only odd number

<?php
for($i=1; $i<=25; $i++) {
if($i%2 == 0) {
$even[] = $i;
} else {
$odd[] = $i;
}
}
echo implode(",",$odd);
?>

Check the server response using status code.

  • Synchronization means "go as per the order" PHP is syncronise language so your code will get executed as per the order A,B,C and then D for example.
  • Asynchronization means "go parallell" AJAX is Asynchronious so the operations A,B,C and D are will get executed same time.
  • Built-in caching
  • Built-in basic SEO functionality
  • Multilingual support
  • Access control lists (ACLs)
  • Frontend editing
  • Secure by default

Destructors are automatically called when object are destory.

Constructor are automatically called when object are created.

PHP introduces the final keyword, which prevents child classes from overriding a method by prefixing the definition with final keyword.

Method in child class with same name, same parameter and same access as parent class is call method overloading.

Method with same name but diffrent parameter is called method overloading.

 

About Us

Joomla Web Solution

We love working with PHP, HTML5, CSS3, jQuery and the most-loved content management framework in the world, Joomla!

LIKE US ON FACEBOOK