PHP & Global Variables

Just found out that PHP has totally different variable scope than Java. In PHP you have specify global keyword inside the function not outside. I am so used to Java type variable scope.

For more info read here




Related posts:

  1. Padding a String with Zeros in Java
  2. Beware of Differences PHP4 & PHP5
  3. Facebook project progress

One Response to “PHP & Global Variables”