Can you explain the next interesting behaviour?
class test { //Class *test* has two properties, public and private. public $xpublic = \'x1\'; private $
Probably the PHP engine conserves the class structure internaly and simply gives some kind of an array wrapper, and thus when you cast it again it remains private, though I can't assure this at 100%.