note 76603 added to ref.array

From: Date: Sun, 22 Jul 2007 13:18:38 +0000
Subject: note 76603 added to ref.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-128815@lists.php.net to get a copy of this message
Hello. I need to find all given variables in array and remove it. For example $array = array(1 => 'a', 2 => 'b' , 3 => 'c', 4 => 'b'); $remove = b So here I need an array $newarray = array(1 => 'a', 2 => 'c'); Is there any function to do it? ---- Server IP: 69.147.83.197 Probable Submitter: 83.237.32.44 ---- Manual Page -- http://www.php.net/manual/en/ref.array.php Edit -- https://master.php.net/note/edit/76603 Del: integrated -- https://master.php.net/note/delete/76603/integrated Del: useless -- https://master.php.net/note/delete/76603/useless Del: bad code -- https://master.php.net/note/delete/76603/bad+code Del: spam -- https://master.php.net/note/delete/76603/spam Del: non-english -- https://master.php.net/note/delete/76603/non-english Del: in docs -- https://master.php.net/note/delete/76603/in+docs Del: other reasons-- https://master.php.net/note/delete/76603 Reject -- https://master.php.net/note/reject/76603 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128815) next »