<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_b%C3%A1sico_de_PHP%2FArreglo_15</id>
	<title>Curso básico de PHP/Arreglo 15 - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_b%C3%A1sico_de_PHP%2FArreglo_15"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_15&amp;action=history"/>
	<updated>2026-05-18T11:04:41Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_15&amp;diff=131905&amp;oldid=prev</id>
		<title>Rrc: /* Arreglo15 */</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_15&amp;diff=131905&amp;oldid=prev"/>
		<updated>2021-03-14T11:42:42Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Arreglo15&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 11:42 14 mar 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot; &gt;Línea 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo = array();&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo = array();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;0&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Caracas&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;0&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Caracas&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Caracas&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Venezuela&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Caracas&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Venezuela&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;1&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Guadalajara&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;1&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Guadalajara&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Guadalajara&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Mexico&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Guadalajara&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Mexico&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;2&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Paris&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;2&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Paris&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Paris&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Francia&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Paris&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Francia&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;3&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Tokyo&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;3&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Tokyo&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Tokyo&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Japon&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $CiudadInfo&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Tokyo&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Japon&amp;#039;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $Cornucopia = array( &amp;#039;Fruta&amp;#039; =&amp;gt; array( &amp;#039;Rojo&amp;#039; =&amp;gt; &amp;#039;Manzana&amp;#039;,  &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       $Cornucopia = array( &amp;#039;Fruta&amp;#039; =&amp;gt; array( &amp;#039;Rojo&amp;#039; =&amp;gt; &amp;#039;Manzana&amp;#039;,  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l89&quot; &gt;Línea 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 89:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       print( &amp;quot;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       print( &amp;quot;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;               &amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;               &amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 \$Cornucopia&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Fruta&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;- Segunda dimensión con end() y prev()&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                 \$Cornucopia&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Fruta&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;- Segunda dimensión con end() y prev()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;               &amp;lt;p class=\&amp;quot;LargeTextFont\&amp;quot;&amp;gt;&amp;quot; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;               &amp;lt;p class=\&amp;quot;LargeTextFont\&amp;quot;&amp;gt;&amp;quot; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       EscribeTodoConPrev( $Cornucopia&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{&lt;/del&gt;&amp;#039;Fruta&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       EscribeTodoConPrev( $Cornucopia&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;&amp;#039;Fruta&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       print(   &amp;quot;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       print(   &amp;quot;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_15&amp;diff=121697&amp;oldid=prev</id>
		<title>Rrc en 04:58 12 sep 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_15&amp;diff=121697&amp;oldid=prev"/>
		<updated>2016-09-12T04:58:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#Arreglo15 | Arreglo 15]]&lt;br /&gt;
** [[:#Contenidos de Cabeza5.inc | Contenidos de Cabeza5.inc]]&lt;br /&gt;
** [[:#Contenidos de incPie5.php | Contenidos de incPie5.php]]&lt;br /&gt;
** [[:#Contenidos de clase.css | Contenidos de clase.css]]&lt;br /&gt;
** [[:#Explicación | Explicación]]&lt;br /&gt;
** [[:#Ejecutarlo | Ejecutarlo]]&lt;br /&gt;
** [[:#Descargarlo | Descargarlo]]&lt;br /&gt;
&lt;br /&gt;
== Arreglo15 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot; line=&amp;quot;GESHI_FANCY_LINE_NUMBERS&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
  require_once( &amp;quot;Cabeza5.inc&amp;quot; );&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;?php&lt;br /&gt;
      /*&lt;br /&gt;
       * end()&lt;br /&gt;
       * (PHP 3, PHP 4, PHP 5)&lt;br /&gt;
       * end --  Mueve el puntero interno de una tabla al último elemento &lt;br /&gt;
       * Descripción&lt;br /&gt;
       * mixed end ( array &amp;amp;matriz )&lt;br /&gt;
       *&lt;br /&gt;
       * end() avanza el puntero interno de la matriz al último elemento,&lt;br /&gt;
       * y regresa su valor. &lt;br /&gt;
       */&lt;br /&gt;
&lt;br /&gt;
       /*&lt;br /&gt;
        * prev()&lt;br /&gt;
        * (PHP 3, PHP 4, PHP 5)&lt;br /&gt;
        * prev -- Rebobina el puntero interno de una matriz&lt;br /&gt;
        * Descripción&lt;br /&gt;
        * mixed prev ( array &amp;amp;matriz )&lt;br /&gt;
        *&lt;br /&gt;
        * Devuelve el elemento de la matriz que está en la posición anterior&lt;br /&gt;
        * a la que apuntaba previamente el puntero interno, o FALSE si no hay&lt;br /&gt;
        * más elementos. &lt;br /&gt;
        *&lt;br /&gt;
        * Aviso&lt;br /&gt;
        * Si la matriz contiene elementos vacíos, esta función también&lt;br /&gt;
        * devolverá FALSE para dichos elementos. Para recorrer adecuadamente&lt;br /&gt;
        * una matriz que puede contener elementos vacíos, vea la función&lt;br /&gt;
        * each(). &lt;br /&gt;
        *&lt;br /&gt;
        * prev() se comporta igual que next(), excepto que rebobina el&lt;br /&gt;
        * puntero interno una posición en lugar de avanzarlo. &lt;br /&gt;
        */&lt;br /&gt;
&lt;br /&gt;
      $CiudadInfo = array();&lt;br /&gt;
      $CiudadInfo{&amp;#039;0&amp;#039;} = &amp;#039;Caracas&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;Caracas&amp;#039;} = &amp;#039;Venezuela&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;1&amp;#039;} = &amp;#039;Guadalajara&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;Guadalajara&amp;#039;} = &amp;#039;Mexico&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;2&amp;#039;} = &amp;#039;Paris&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;Paris&amp;#039;} = &amp;#039;Francia&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;3&amp;#039;} = &amp;#039;Tokyo&amp;#039;;&lt;br /&gt;
      $CiudadInfo{&amp;#039;Tokyo&amp;#039;} = &amp;#039;Japon&amp;#039;;&lt;br /&gt;
  &lt;br /&gt;
      $Cornucopia = array( &amp;#039;Fruta&amp;#039; =&amp;gt; array( &amp;#039;Rojo&amp;#039; =&amp;gt; &amp;#039;Manzana&amp;#039;, &lt;br /&gt;
                                             &amp;#039;Amarillo&amp;#039; =&amp;gt; &amp;#039;Platano&amp;#039;, &lt;br /&gt;
                                             &amp;#039;Naranja&amp;#039; =&amp;gt; &amp;#039;Naranja&amp;#039; ) );&lt;br /&gt;
&lt;br /&gt;
      function EscribeTodoConPrev( $ElArreglo )&lt;br /&gt;
      {&lt;br /&gt;
        $Actual = end( $ElArreglo );&lt;br /&gt;
        if( $Actual )&lt;br /&gt;
          print( &amp;quot;$Actual&amp;lt;br /&amp;gt;&amp;quot; );&lt;br /&gt;
        else&lt;br /&gt;
          print( &amp;quot;Nada a imprimir&amp;lt;br /&amp;gt;&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
        while( $Actual = prev( $ElArreglo ) )&lt;br /&gt;
          print( &amp;quot;$Actual&amp;lt;br /&amp;gt;&amp;quot; );&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
      print( &amp;quot;&amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;br /&gt;
                \$CiudadInfo 1 dimensión con end() y prev()&lt;br /&gt;
              &amp;lt;/p&amp;gt;&lt;br /&gt;
              &amp;lt;p class=\&amp;quot;LargeTextFont\&amp;quot;&amp;gt;&amp;quot; );&lt;br /&gt;
      EscribeTodoConPrev( $CiudadInfo );&lt;br /&gt;
      print( &amp;quot;&amp;lt;/p&amp;gt;&lt;br /&gt;
              &amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;br /&gt;
                \$Cornucopia - Primera de 2 dimensiones con end() y prev()&lt;br /&gt;
                &amp;lt;br /&amp;gt;&lt;br /&gt;
                con &lt;br /&gt;
              &amp;lt;/p&amp;gt;&lt;br /&gt;
              &amp;lt;p class=\&amp;quot;LargeTextFont\&amp;quot;&amp;gt;&amp;quot; );&lt;br /&gt;
      EscribeTodoConPrev( $Cornucopia );&lt;br /&gt;
      print( &amp;quot;&amp;lt;/p&amp;gt;&lt;br /&gt;
              &amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;br /&gt;
                \$Cornucopia{&amp;#039;Fruta&amp;#039;} - Segunda dimensión con end() y prev()&lt;br /&gt;
              &amp;lt;p class=\&amp;quot;LargeTextFont\&amp;quot;&amp;gt;&amp;quot; );&lt;br /&gt;
      EscribeTodoConPrev( $Cornucopia{&amp;#039;Fruta&amp;#039;} );&lt;br /&gt;
  &lt;br /&gt;
      print(   &amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
                Existe un pequenia \&amp;quot;GOTCHA\&amp;quot;:&lt;br /&gt;
                &amp;lt;br /&amp;gt;&lt;br /&gt;
                la función prev() regresa &amp;#039;FALSE&amp;#039; cuando no es mas arreglo,&lt;br /&gt;
                &amp;lt;br /&amp;gt;&lt;br /&gt;
                otro vez el regresa el valor del elemento ... &lt;br /&gt;
                &amp;lt;br /&amp;gt;&lt;br /&gt;
                Si el valor es &amp;#039;NULL&amp;#039; ...&lt;br /&gt;
              &amp;lt;/p&amp;gt;&amp;quot; );&lt;br /&gt;
      require_once( &amp;quot;incPie5.php&amp;quot; );&lt;br /&gt;
    ?&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Contenidos de Cabeza5.inc ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/Cabeza5.inc.txt Ver los contenidos de Cabeza5.inc]&lt;br /&gt;
&lt;br /&gt;
=== Contenidos de incPie5.php ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/incPie5.phps Ver los contenidos de incPie5.php]&lt;br /&gt;
&lt;br /&gt;
=== Contenidos de clase.css ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/clase.css.txt Ver los contenidos de clase.css]&lt;br /&gt;
&lt;br /&gt;
=== Explicación ===&lt;br /&gt;
&lt;br /&gt;
=== Ejecutarlo ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/Array15.php Ejecutar el código de Arreglo 15]&lt;br /&gt;
&lt;br /&gt;
=== Descargarlo ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/Array15.phps Descargar el código de Arreglo 15]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:PHP]]&lt;br /&gt;
[[Category:PHPCabal]]&lt;br /&gt;
[[Category:CursoPHP]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>