From c1e20705f557cb8e7742dea28bc6546b676bebe5 Mon Sep 17 00:00:00 2001 From: Shein Alexey Date: Sun, 16 Jan 2011 18:57:05 +0000 Subject: [PATCH] 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 --- language/functions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/functions.xml b/language/functions.xml index a79b001ed3..a1f80becd8 100644 --- a/language/functions.xml +++ b/language/functions.xml @@ -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) {