<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP: Removing an item from an array</title>
	<atom:link href="http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/feed/" rel="self" type="application/rss+xml" />
	<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/</link>
	<description>WebDevelopment</description>
	<lastBuildDate>Fri, 06 Apr 2012 21:20:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: hypnosiscourse</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-291</link>
		<dc:creator>hypnosiscourse</dc:creator>
		<pubDate>Thu, 19 Mar 2009 15:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-291</guid>
		<description>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.&lt;br&gt;&lt;br&gt;So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</description>
		<content:encoded><![CDATA[<p>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.</p>
<p>So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hypnosis.course</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-292</link>
		<dc:creator>hypnosis.course</dc:creator>
		<pubDate>Thu, 19 Mar 2009 15:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-292</guid>
		<description>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.&lt;br&gt;&lt;br&gt;So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</description>
		<content:encoded><![CDATA[<p>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.</p>
<p>So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hypnosis.course</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-389</link>
		<dc:creator>hypnosis.course</dc:creator>
		<pubDate>Thu, 19 Mar 2009 09:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-389</guid>
		<description>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.

So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</description>
		<content:encoded><![CDATA[<p>As of yet, PHP does not provide an ‘official’ way of removing an array element which is not guaranteed to be at the start or end of the array.</p>
<p>So, after a bit of searching around I found this novel way of removing an element from an array by its value(s) using PHPs array_diff function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eq2 plat</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-290</link>
		<dc:creator>eq2 plat</dc:creator>
		<pubDate>Tue, 11 Nov 2008 17:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-290</guid>
		<description>Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.&lt;br&gt;&lt;br&gt;You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.</description>
		<content:encoded><![CDATA[<p>Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.</p>
<p>You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fiancee visa</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-367</link>
		<dc:creator>fiancee visa</dc:creator>
		<pubDate>Tue, 11 Nov 2008 11:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-367</guid>
		<description>

Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.

You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.
</description>
		<content:encoded><![CDATA[<p>Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.</p>
<p>You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fiancee visa</title>
		<link>http://netfactory.dk/2008/08/09/php-removing-an-item-from-an-array/#comment-293</link>
		<dc:creator>fiancee visa</dc:creator>
		<pubDate>Tue, 11 Nov 2008 11:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://netfactory.dk/?p=289#comment-293</guid>
		<description>Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.

You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.</description>
		<content:encoded><![CDATA[<p>Correct, you could use array_diff() to delete an element if you know what the elements are that you are deleting. I chose to use an array_filter() though because you can do conditional deleting. For example, you can delete it only if it’s not numeric or if it’s greater than 5 characters.</p>
<p>You can’t perform conditional deletes using an array_diff() but it is a simple way to delete items you do know the value.. Thanks for another quick way to delete an item from an array in php.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic

Served from: netfactory.dk @ 2012-05-23 20:37:23 -->
