Test print_r(), var_dump(), var_export() on class object

class MyClass {

	private $MyPrivateProperty = 123;
	
	public function __construct() {
		//echo 'Constructed!';
	}
	
	public function myPublicMethod() {
		echo 'Hello Public';
	}

	private function myPrivateMethod() {
		echo 'Hello Private';
	}
}

print_r()

MyClass Object
(
    [MyPrivateProperty:MyClass:private] => 123
)

var_dump()

object(MyClass)#1 (1) {
  ["MyPrivateProperty":"MyClass":private]=>
  int(123)
}

var_export()

MyClass::__set_state(array(
   'MyPrivateProperty' => 123,
))