diff --git a/language/oop5/visibility.xml b/language/oop5/visibility.xml index 2e89054c72..e0fd3d41c2 100644 --- a/language/oop5/visibility.xml +++ b/language/oop5/visibility.xml @@ -1,5 +1,5 @@ - + Visibility @@ -75,7 +75,7 @@ $obj2->printHello(); // Shows Public, Protected2, not Private The PHP 4 method of declaring a variable with the var keyword is still supported for compatibility - reasons (as a synonym for the public keyword). In PHP 5 before 5.2.0, its + reasons (as a synonym for the public keyword). In PHP 5 before 5.1.3, its usage would generate an E_STRICT warning.