codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php class A { private $foo; } class B extends A { public function __construct () { $this->foo = true; var_dump( isset( $this->foo ) ); var_dump( $this->foo ); } } $class = new B();
Private
[
?
]
Run code
Submit