$list = array('red', 'blue', 'white', 'green', 'black', 'orange', 'brown', 'violet', 'magenta');
Before doing var_dump($list), how can I remove item having key [3] and item with the value “orange”, and then var_dump($list) without those items?
(Have to use “if” statement – school assignment)
What have you tried though? working through problems will help you become a better programmer.