<?php class Foo { private $bar = 'bar';} $f = new Foo();var_dump($f->bar);
Standard input is empty
Standard output is empty
PHP Fatal error: Cannot access private property Foo::$bar in /home/zTq6k1/prog.php on line 8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!