<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%3A_Delete_an_item_from_an_array</id>
	<title>PHP: Delete an item from an array - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=PHP%3A_Delete_an_item_from_an_array"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=PHP:_Delete_an_item_from_an_array&amp;action=history"/>
	<updated>2026-04-27T22:21:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=PHP:_Delete_an_item_from_an_array&amp;diff=711&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=PHP:_Delete_an_item_from_an_array&amp;diff=711&amp;oldid=prev"/>
		<updated>2013-07-25T08:45:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:45, 25 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=PHP:_Delete_an_item_from_an_array&amp;diff=710&amp;oldid=prev</id>
		<title>118.93.27.40: New page: &lt;pre&gt;  /**  * This function will remove all the specified values from an array and return the final array.  * Arguments :    The first argument is the array that should be edited  *       ...</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=PHP:_Delete_an_item_from_an_array&amp;diff=710&amp;oldid=prev"/>
		<updated>2008-10-26T03:20:08Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;pre&amp;gt;  /**  * This function will remove all the specified values from an array and return the final array.  * Arguments :    The first argument is the array that should be edited  *       ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 /**&lt;br /&gt;
 * This function will remove all the specified values from an array and return the final array.&lt;br /&gt;
 * Arguments :    The first argument is the array that should be edited&lt;br /&gt;
 *                The arguments after the first argument is a list of values that must be removed.&lt;br /&gt;
 * Example : array_remove_value($arr,&amp;quot;one&amp;quot;,&amp;quot;two&amp;quot;,&amp;quot;three&amp;quot;);&lt;br /&gt;
 * Return : The function will return an array after deleting the said values&lt;br /&gt;
 */&lt;br /&gt;
&lt;br /&gt;
		function array_remove_value() {&lt;br /&gt;
			$args = func_get_args();&lt;br /&gt;
			$arr = $args[0];&lt;br /&gt;
			$values = array_slice($args,1);&lt;br /&gt;
			foreach($arr as $k=&amp;gt;$v) {&lt;br /&gt;
				if(in_array($v, $values))&lt;br /&gt;
				unset($arr[$k]);&lt;br /&gt;
			}&lt;br /&gt;
			return $arr;&lt;br /&gt;
		}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>118.93.27.40</name></author>
		
	</entry>
</feed>