svn: /phpdoc/es/trunk/reference/spl/ limititerator.xml

From: Date: Wed, 28 Sep 2011 05:04:45 +0000
Subject: svn: /phpdoc/es/trunk/reference/spl/ limititerator.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-4922@lists.php.net to get a copy of this message
andresdzphp Wed, 28 Sep 2011 05:04:45 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=317429 Log: Fixed typos Changed paths: U phpdoc/es/trunk/reference/spl/limititerator.xml Modified: phpdoc/es/trunk/reference/spl/limititerator.xml =================================================================== --- phpdoc/es/trunk/reference/spl/limititerator.xml 2011-09-27 22:35:16 UTC (rev 317428) +++ phpdoc/es/trunk/reference/spl/limititerator.xml 2011-09-28 05:04:45 UTC (rev 317429) @@ -91,11 +91,11 @@ // Crea un iterador a ser limitado $fruits = new ArrayIterator(array( - 'apple', + 'manzana', 'banana', - 'cherry', - 'damson', - 'elderberry' + 'cereza', + 'ciruela', + 'baya' )); // Recorre el bucle sólo para las tres primeras frutas @@ -105,7 +105,7 @@ echo "\n"; -// Recorre el bucle desde las tercera fruta asta el final +// Recorre el bucle desde la tercera fruta hasta el final // Nota: empieza por 0, por manzana foreach (new LimitIterator($fruits, 2) as $fruit) { var_dump($fruit); @@ -117,13 +117,13 @@ &example.outputs; <screen> <![CDATA[ -string(5) "apple" +string(5) "manzana" string(6) "banana" -string(6) "cherry" +string(6) "cereza" -string(6) "cherry" -string(6) "damson" -string(10) "elderberry" +string(6) "cereza" +string(6) "ciruela" +string(10) "baya" ]]> </screen> </example>

« previous php.doc.es (#4922) next »