Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 <?php
- 2 class foobar {
- 3 public function __get($name){
- 4 echo "Requesting NAME: $name";
- 5 return 0;
- 6 }
- 7 }
- 8
- 9 $f = new foobar;
- 10 $f['th'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement