This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Arrays Forum

View Course » View Exercise

597 points
671d0ab5b9174c9791e40ddd19536f8d?s=140&d=retro
Submitted by
Jonathan Love
about 4 years ago

Code that is right but did not work, very small "bug"

Not a question btw.

It didn't like using the word one of the original words as a base to replace:
"Oops, try again! It looks like you printed 'PHP'--that's one of the original elements! Make sure to print your modified element."

 <?php
    $languages = array("HTML/CSS",
    "JavaScript", "PHP", "Python", "Ruby");
    $languages[3]="PHP2";
    echo $languages[3]

    // Write the code to modify
    // the $languages array!

  ?>

1 vote

permalink

Thanks

882 points
005c3f23e5ddb1e3bbd290810c8d079d?s=140&d=retro
Submitted by
Mauris
about 4 years ago