mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- Fix example (missing method in previous commit)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262362 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a72591107c
commit
67bc61e801
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<refentry xml:id="function.get-object-vars" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>get_object_vars</refname>
|
||||
|
@ -79,6 +79,10 @@ class foo {
|
|||
public $c;
|
||||
private $d;
|
||||
static $e;
|
||||
|
||||
public function test() {
|
||||
var_dump(get_object_vars($this));
|
||||
}
|
||||
}
|
||||
|
||||
$test = new foo;
|
||||
|
|
Loading…
Reference in a new issue