title: Setting a default integer variable in PHP
body: <p>In Java when I declare a variable  int A; by default it assigns 0 to the variable A. But in PHP if I declare a variable as $A the default value of it sets as null. Instead of assigning it as $A=0; are there any ways available to set a default value as 0 for variable $A, as I did in Java?</p>