Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
m PHP: ed
Ruby: ed
Line 825:
<code>phonebook['John Doe']</code> produces <code>'555-1212'</code>
 
ToRuby iteratesupports overhash thelooping hash,and useiteration something likewith the following syntax:
 
<source lang="ruby">