Bug in task 5 Access by Offset with { }


#1



Accessing Elements



<?php
$tens = array(10, 20, 30, 40, 50);
echo $tens{5};
?>



IS NOT ACCEPTING MY CODE!


#2

Hi offset is with [ ] instead of { }


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.