<div dir="ltr">I&#39;m not familiar with the inner workings of PHP, but my research suggests their &#39;arrays&#39; are not exactly the same nature as most other languages.<div><br><div>It&#39;s sort of like when TV guides categorise &#39;Big Brother&#39; as &#39;entertainment&#39; ... a non-classical use of the term.</div></div><div><br></div><div>I ask because I&#39;m writing an exam with a question about whether a 2D array with mixed data types is possible (or wise).</div><div><br></div><div>Cheers</div><div>Mark</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2015 at 14:09, Laurie Savage <span dir="ltr">&lt;<a href="mailto:08327998@pvgc.vic.edu.au" target="_blank">08327998@pvgc.vic.edu.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>If it quacks like an array ...? Could you elaborate on why Python lists ain&#39;t arrayz?<br><br></div>Laurie<br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Laurie Savage<br><a href="https://sites.google.com/a/pvgc.vic.edu.au/mr-savage/home" target="_blank">https://sites.google.com/a/pvgc.vic.edu.au/mr-savage/home</a><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 12 June 2015 at 13:27, Mark <span dir="ltr">&lt;<a href="mailto:mark@vceit.com" target="_blank">mark@vceit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, codemakers.<div><br></div><div>Most languages require all elements of an array to have a single data type, but I have a nagging suspicion that there is an exception or two.</div><div><br></div><div>e.g. Apparently PHP allows mixed data types in its &#39;arrays&#39; but I believe PHP &#39;arrays&#39; are actually more like the lists found in Perl or Python and so are not classical arrays.</div><div><br></div><div>Is there a language that allows true arrays with mixed data types?</div><div><br></div><div>Cheers</div><div>Mark<span><font color="#888888"><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><i><br></i></div><div><span style="font-size:12.6666669845581px">Before Facebook, how many people would take a picture of their dinner on a disposable camera, get the photos developed, then go round to your friends&#39; houses and show them all the photo?</span><br></div><div><span style="font-size:12.6666669845581px"><br></span></div><div>-- </div><div><br></div><div>Mark Kelly</div><div><img src="https://docs.google.com/uc?export=download&amp;id=0B4DRNqu3Y8sZMzZhNVhJS3NEXzQ&amp;revid=0B4DRNqu3Y8sZaGY5bUlSU2ZmUlhVYTdLKzBCMGtXdkZhaTBVPQ"><br></div><div><a href="http://vceit.com" target="_blank">http://vceit.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" rel="noreferrer" target="_blank">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe<br>
IT Software Development Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" rel="noreferrer" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html" rel="noreferrer" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" rel="noreferrer" target="_blank">http://www.vitta.org.au</a>  - VITTA Victorian Information Technology Teachers Association Inc<br>
<a href="http://www.swinburne.edu.au/ict/schools" rel="noreferrer" target="_blank">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a> - FAQ, Subscribe, Unsubscribe<br>
IT Software Development Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au" target="_blank">http://www.vcaa.vic.edu.au</a> - Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html" target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html</a><br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a>  - VITTA Victorian Information Technology Teachers Association Inc<br>
<a href="http://www.swinburne.edu.au/ict/schools" target="_blank">http://www.swinburne.edu.au/ict/schools</a> - Swinburne University<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><i><br></i></div><div><span style="font-size:12.6666669845581px">&gt;&gt; Witty sig goes HERE &lt;&lt;</span></div><div><br></div><div>Mark Kelly</div><div><img src="https://docs.google.com/uc?export=download&amp;id=0B4DRNqu3Y8sZMzZhNVhJS3NEXzQ&amp;revid=0B4DRNqu3Y8sZaGY5bUlSU2ZmUlhVYTdLKzBCMGtXdkZhaTBVPQ"><br></div><div><a href="http://vceit.com" target="_blank">http://vceit.com</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>