1<?php
2
3class autoTest {
4  public static $bob = "bob";
5
6    public function __get($name) {
7    echo "attempt to access $name\n";
8    return "foo";
9  }
10
11}
12
13?>