mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
#61340 adjust example for consistency
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331736 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cd110607fd
commit
a9f96e8c83
1 changed files with 1 additions and 1 deletions
|
@ -68,8 +68,8 @@ class MyClass2 extends MyClass
|
|||
|
||||
$obj2 = new MyClass2();
|
||||
echo $obj2->public; // Works
|
||||
echo $obj2->private; // Undefined
|
||||
echo $obj2->protected; // Fatal Error
|
||||
echo $obj2->private; // Undefined
|
||||
$obj2->printHello(); // Shows Public, Protected2, Undefined
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue