mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed a typo and some padding in example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307518 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
dda9f4e1d0
commit
c1e20705f5
1 changed files with 2 additions and 2 deletions
|
@ -556,7 +556,7 @@ class Foo
|
|||
}
|
||||
}
|
||||
|
||||
echo Foo::$variable; // This prints 'static propery'. It does need a $variable in this scope.
|
||||
echo Foo::$variable; // This prints 'static property'. It does need a $variable in this scope.
|
||||
$variable = "Variable";
|
||||
Foo::$variable(); // This calls $foo->Variable() reading $variable in this scope.
|
||||
|
||||
|
@ -700,7 +700,7 @@ class Cart
|
|||
const PRICE_MILK = 3.00;
|
||||
const PRICE_EGGS = 6.95;
|
||||
|
||||
protected $products = array();
|
||||
protected $products = array();
|
||||
|
||||
public function add($product, $quantity)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue