Website And Mobile Application Development Company In India


$a = '1';
$b = &$a;
$b = "2$b";
echo $a.", ".$b;

Below are the diffrent pattern like star, 123 etc...

A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc.

Factorial of a non-negative integer, is multiplication of all integers smaller than or equal to n. For example factorial of 5 is 5*4*3*2*1 which is 120.

A prime number is a whole number greater than 1 whose only factors are 1 and itself.

Enter value of $n

$n = 2;
$array = array(44,16,81,12);
$unique = array();
$unique = array_unique($array);
echo $height = $unique[count($unique)-$n];

There are three way to find min value in array

There are three way to find max value in array

Swap number without third variable.

	echo $a."<br />".$b;

Print only odd number

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