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

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Arreglo8&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:03 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-l57&quot; &gt;Línea 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 57:&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;#039;Naranja&amp;#039; =&amp;gt; &amp;#039;Naranja&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;                                              &amp;#039;Naranja&amp;#039; =&amp;gt; &amp;#039;Naranja&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;/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;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;       $OtroArreglo&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;0&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Elemento 0, 0&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;       $OtroArreglo&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;0&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Elemento 0, 0&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;       $OtroArreglo&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;Palabra&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Elemento 0, Palabra&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;       $OtroArreglo&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;Palabra&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Elemento 0, Palabra&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;       $OtroArreglo&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;}{&amp;#039;&lt;/del&gt;1&amp;#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;} &lt;/del&gt;= &amp;#039;Elemento 0, 1&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;       $OtroArreglo&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;1&amp;#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] &lt;/ins&gt;= &amp;#039;Elemento 0, 1&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;/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;       echo( &amp;quot;&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;       echo( &amp;quot;&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l71&quot; &gt;Línea 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 71:&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;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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;       echo(   &amp;quot;\$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;tiene &amp;quot; . count( $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;       echo(   &amp;quot;\$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;tiene &amp;quot; . count( $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;                                              . &amp;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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-l77&quot; &gt;Línea 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 77:&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;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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;       echo(   &amp;#039;$OtroArreglo&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;tiene &amp;#039; .  count( $OtroArreglo&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;)  &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;       echo(   &amp;#039;$OtroArreglo&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;tiene &amp;#039; .  count( $OtroArreglo&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;)  &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;#039; elemento(s)&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;#039; elemento(s)&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&amp;gt;&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;              &amp;lt;/p&amp;gt;&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-l90&quot; &gt;Línea 90:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 90:&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;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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;       echo(   &amp;quot;\$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;tiene &amp;quot; . sizeof( $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;       echo(   &amp;quot;\$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;tiene &amp;quot; . sizeof( $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;                                              . &amp;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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-l96&quot; &gt;Línea 96:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 96:&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;#039; elemento(s)&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;#039; elemento(s)&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;br /&amp;gt;&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;                &amp;lt;br /&amp;gt;&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;       echo(   &amp;#039;$OtroArreglo&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;tiene &amp;#039; . sizeof( $OtroArreglo&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;)  &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;       echo(   &amp;#039;$OtroArreglo&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;tiene &amp;#039; . sizeof( $OtroArreglo&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;)  &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;#039; elemento(s)&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;#039; elemento(s)&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&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&amp;gt;&amp;quot; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_8&amp;diff=121690&amp;oldid=prev</id>
		<title>Rrc en 04:40 12 sep 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Curso_b%C3%A1sico_de_PHP/Arreglo_8&amp;diff=121690&amp;oldid=prev"/>
		<updated>2016-09-12T04:40:40Z</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;
* [[:#Arreglo8 | Arreglo 8]]&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;
== Arreglo8 ==&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;
       * (PHP 3, PHP 4, PHP 5)&lt;br /&gt;
       * count -- Cuenta los elementos de una matriz o propiedades de un objeto &lt;br /&gt;
       * Descripción&lt;br /&gt;
       * int count ( mixed var [, int mode] )&lt;br /&gt;
       * &lt;br /&gt;
       * Devuelve el número de elementos en var, que típicamente es un array,&lt;br /&gt;
       * porque cualquier otra cosa diferente de un objeto tendría sólo un&lt;br /&gt;
       * elemento. &lt;br /&gt;
       * Para objetos, si tiene SPL, enlazarlo a count() implementando la&lt;br /&gt;
       * interface Countable. La interface tiene exactamente un método,&lt;br /&gt;
       * count(), el cual regresa el mismo valor que regresarí la función&lt;br /&gt;
       * count(). &lt;br /&gt;
       * Si var no es una matriz o un objeto, que tenga implementado la&lt;br /&gt;
       * interface Countable, se regresará 1. Hay una excepción, si var es&lt;br /&gt;
       * NULL, se regresará 0. &lt;br /&gt;
       * Nota: El parámetro opcional mode está disponible desde PHP 4.2.0. &lt;br /&gt;
       * Si el parámetro opcional mode es iniciado a COUNT_RECURSIVE (o 1),&lt;br /&gt;
       * count() contará recursivamente la matriz. Esto es útil particularmente&lt;br /&gt;
       * para contar todos los elementos de una matriz multidimensional. El&lt;br /&gt;
       * valor por defecto para mode es 0. count() no detecta recursión&lt;br /&gt;
       * infinita. &lt;br /&gt;
       *&lt;br /&gt;
       * Atención&lt;br /&gt;
       * count() puede regresar 0 para una variable que no ha sido inicializada,&lt;br /&gt;
       * pero también regresa 0 para una variable que ha sido inicializada con&lt;br /&gt;
       * una matriz vacía. Use isset() para probar si la variable ha sido&lt;br /&gt;
       * definida. &lt;br /&gt;
       */&lt;br /&gt;
&lt;br /&gt;
      /*&lt;br /&gt;
       * (PHP 3, PHP 4, PHP 5)&lt;br /&gt;
       * sizeof() -- Alias of count()&lt;br /&gt;
       */&lt;br /&gt;
&lt;br /&gt;
      $MiArreglo = range( 1, 5 );&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;
      $OtroArreglo{&amp;#039;0&amp;#039;}{&amp;#039;0&amp;#039;} = &amp;#039;Elemento 0, 0&amp;#039;;&lt;br /&gt;
      $OtroArreglo{&amp;#039;0&amp;#039;}{&amp;#039;Palabra&amp;#039;} = &amp;#039;Elemento 0, Palabra&amp;#039;;&lt;br /&gt;
      $OtroArreglo{&amp;#039;0&amp;#039;}{&amp;#039;1&amp;#039;} = &amp;#039;Elemento 0, 1&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
      echo( &amp;quot;&amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;br /&gt;
               Con count()&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;
      echo(   &amp;#039;$MiArreglo tiene &amp;#039;   . count( $MiArreglo )&lt;br /&gt;
                                    . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$Cornucopia tiene &amp;#039; . count( $Cornucopia )&lt;br /&gt;
                                   . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;quot;\$Cornucopia{&amp;#039;Fruta&amp;#039;} tiene &amp;quot; . count( $Cornucopia{&amp;#039;Fruta&amp;#039;} ) &lt;br /&gt;
                                             . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$OtroArreglo tiene &amp;#039; . count( $OtroArreglo )&lt;br /&gt;
                                    . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$OtroArreglo{\&amp;#039;0\&amp;#039;} tiene &amp;#039; .  count( $OtroArreglo{&amp;#039;0&amp;#039;} ) &lt;br /&gt;
                                          . &amp;#039; elemento(s)&lt;br /&gt;
             &amp;lt;/p&amp;gt;&amp;#039; );&lt;br /&gt;
      echo( &amp;quot;&amp;lt;p class=\&amp;quot;SubTitleFont\&amp;quot;&amp;gt;&lt;br /&gt;
               Con sizeof()&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;
      echo(   &amp;#039;$MiArreglo tiene &amp;#039;   . sizeof( $MiArreglo )&lt;br /&gt;
                                    . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$Cornucopia tiene &amp;#039; . sizeof( $Cornucopia )&lt;br /&gt;
                                   . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;quot;\$Cornucopia{&amp;#039;Fruta&amp;#039;} tiene &amp;quot; . sizeof( $Cornucopia{&amp;#039;Fruta&amp;#039;} ) &lt;br /&gt;
                                             . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$OtroArreglo tiene &amp;#039; . sizeof( $OtroArreglo )&lt;br /&gt;
                                    . &amp;#039; elemento(s)&lt;br /&gt;
               &amp;lt;br /&amp;gt;&amp;#039; );&lt;br /&gt;
      echo(   &amp;#039;$OtroArreglo{\&amp;#039;0\&amp;#039;} tiene &amp;#039; . sizeof( $OtroArreglo{&amp;#039;0&amp;#039;} ) &lt;br /&gt;
                                           . &amp;#039; elemento(s)&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/Array8.php Ejecutar el código de Arreglo 8]&lt;br /&gt;
&lt;br /&gt;
=== Descargarlo ===&lt;br /&gt;
[http://www.linuxcabal.org/PHPClase/Array8.phps Descargar el código de Arreglo 8]&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>