remove element KEY from array php code example Example: php unset array key unset($dataArray['key']);