mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
slightly better wording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179171 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9989fb6e38
commit
f8d470ac17
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.58 $ -->
|
||||
<!-- $Revision: 1.59 $ -->
|
||||
<chapter id="language.oop">
|
||||
<title>Classes and Objects (PHP 4)</title>
|
||||
|
||||
|
@ -249,7 +249,7 @@ $cart->$myvar = array("10" => 1);
|
|||
The <varname>$this</varname> pseudo-variable is not usually defined if
|
||||
the method in which it is hosted is called statically. This is not,
|
||||
however, a strict rule: <varname>$this</varname> is defined if a method is
|
||||
called statically from within another object, and the value of
|
||||
called statically from within another object. In this case, the value of
|
||||
<varname>$this</varname> is that of the calling object. This is
|
||||
illustrated in the following example:
|
||||
<informalexample>
|
||||
|
|
Loading…
Reference in a new issue