var is not PHP5, public is. I didn't change everything that is unrelated to "necessary" changes yet. You can also do that afterwards if you want to.