Updated "var" to relevant PHP5 scoping keywords; see #76

See issue #76.

This is completely untested, though given how @farinspace scoped things with the PHP4 version, I don't anticipate any difficulties. My IDE reports no errors.