If a variable is defined outside a function and again it defined inside the function then why the value of variable is not changed after calling the function.
$a = 12;
Function abc()
{
$a=15;
echo $a;
}
abc();
echo $a;
OUTPUT:
1512
Why not:
1515