using __set() and __get() instead of set() and get()
fixed documentation
skipping tests for PHP 5.2
Merge pull request #5687 from cash/fix_set_get

using real __set() and __get()