<?php $keys = array( "a" => 1, "c" =>2, ); $keyToken = 1; if (is_array($keys)) { unset($keys[array_search($keyToken, $keys)]); } else { $keys = array(); }
You have javascript disabled. You will not be able to edit any code.