<?php $arr = ["one", "two"]; $newItem = "three"; var_dump(array_combine($arr + [$newItem]));
You have javascript disabled. You will not be able to edit any code.