note 76603 rejected from ref.array by nlopess
| From: | nlopess@php.net | Date: | Sun, 22 Jul 2007 13:51:18 +0000 |
| Subject: | note 76603 rejected from ref.array by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128818@lists.php.net to get a copy of this message | ||
Note Submitter: pollisam at mail dot ru
----
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?