<?php $test = []; $test["12345"] = 'hello'; $test["abcde"] = 'goodbye'; //$test = array_merge($test, []); $test = $test + ["12345" => 'another string']; var_dump($test);
You have javascript disabled. You will not be able to edit any code.