Remove array value in php

It is simple to remove array value in php code

	$category_array = array_flip($category_array );
	unset($category_array ['Removed value']);
	$category_array = array_flip($category_array );