diff --git a/language/namespaces.xml b/language/namespaces.xml index a4e8a93ffc..0faa8d5cd3 100644 --- a/language/namespaces.xml +++ b/language/namespaces.xml @@ -803,7 +803,7 @@ function strlen($str) echo E_ERROR, "\n"; // prints "45" echo INI_ALL, "\n"; // prints "7" - falls back to global INI_ALL -echo strlen('hi'); "\n"; // prints "2" +echo strlen('hi'), "\n"; // prints "2" if (is_array('hi')) { // prints "is not array" echo "is array\n"; } else { diff --git a/language/oop5/iterations.xml b/language/oop5/iterations.xml index cedca65098..7bc42729c1 100644 --- a/language/oop5/iterations.xml +++ b/language/oop5/iterations.xml @@ -69,7 +69,7 @@ private => private var visible variables that can be accessed. To take it a step further you can implement one of PHP 5's internal interfaces named + linkend="language.oop5.interfaces">interface named Iterator. This allows the object to decide what and how the object will be iterated.