remove value in existing array php code example Example: php unset array key unset($dataArray['key']);