<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BRADINO &#187; PHP Functions</title>
	<atom:link href="http://www.bradino.com/category/php-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bradino.com</link>
	<description>LAMP Development Tutorials, Code, Tips &#38; Tricks</description>
	<lastBuildDate>Sat, 10 Oct 2009 20:49:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP abs function</title>
		<link>http://www.bradino.com/php-functions/abs/</link>
		<comments>http://www.bradino.com/php-functions/abs/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:19 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[abs    (PHP 3, PHP 4, PHP 5)abs -- Absolute valueDescriptionnumber abs ( mixed number )&#13;     Returns the absolute value of number. If the
     argument number is
     of type float, the return type is also float,
     otherwise [...]]]></description>
			<content:encoded><![CDATA[<p>abs<P>    (PHP 3, PHP 4, PHP 5)</P>abs -- Absolute valueDescriptionnumber abs ( mixed number )<BR></BR><P>&#13;     Returns the absolute value of number. If the<br />
     argument number is<br />
     of type float, the return type is also float,<br />
     otherwise it is integer (as float usually has a<br />
     bigger value range than integer).<br />
    </P><P>Example 1. abs() example</P></p>
<div class="syntax_hilite">
<div id="php-2">
<div class="php"><span style="color:#0000FF;">$abs</span> = <a href="http://www.bradino.com/php-functions/abs/"><span style="color:#000066;">abs</span></a><span style="color:#006600; font-weight:bold;">&#40;</span>-<span style="color:#CC66CC;">4</span>.<span style="color:#CC66CC;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span>; <span style="color:#FF9933; font-style:italic;">// $abs = 4.2; (double/float)</span><br />
<span style="color:#0000FF;">$abs2</span> = <a href="http://www.bradino.com/php-functions/abs/"><span style="color:#000066;">abs</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC66CC;">5</span><span style="color:#006600; font-weight:bold;">&#41;</span>;&nbsp; &nbsp;<span style="color:#FF9933; font-style:italic;">// $abs2 = 5; (integer)</span><br />
<span style="color:#0000FF;">$abs3</span> = <a href="http://www.bradino.com/php-functions/abs/"><span style="color:#000066;">abs</span></a><span style="color:#006600; font-weight:bold;">&#40;</span>-<span style="color:#CC66CC;">5</span><span style="color:#006600; font-weight:bold;">&#41;</span>;&nbsp; <span style="color:#FF9933; font-style:italic;">// $abs3 = 5; (integer) </span></div>
</div>
</div>
<p></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/abs/" rel="tag">abs</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/abs function/" rel="tag">abs function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP abs function/" rel="tag">PHP abs function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;t=PHP%20abs%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;h=PHP%20abs%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20abs%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;=PHP%20abs%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;t=PHP%20abs%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=abs%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29abs%20--%20Absolute%20valueDescriptionnumber%20abs%20%28%20mixed%20number%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20absolute%20value%20of%20number.%20If%20the%0A%20%20%20%20%20argument%20number%20is%0A%20%20%20%20%20of%20type%20float%2C%20the%20return%20type%20is%20also%20float%2C%20%0A%20%20%20%20%20otherwise%20it%20is%20integer%20%28as" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;t=PHP%20abs%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;title=PHP%20abs%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F&amp;submitHeadline=PHP%20abs%20function&amp;submitSummary=abs%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29abs%20--%20Absolute%20valueDescriptionnumber%20abs%20%28%20mixed%20number%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20absolute%20value%20of%20number.%20If%20the%0A%20%20%20%20%20argument%20number%20is%0A%20%20%20%20%20of%20type%20float%2C%20the%20return%20type%20is%20also%20float%2C%20%0A%20%20%20%20%20otherwise%20it%20is%20integer%20%28as&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20abs%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Fabs%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/abs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP acos function</title>
		<link>http://www.bradino.com/php-functions/acos/</link>
		<comments>http://www.bradino.com/php-functions/acos/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:18 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[acos    (PHP 3, PHP 4, PHP 5)acos -- Arc cosineDescriptionfloat acos ( float arg )&#13;     Returns the arc cosine of arg in radians.
     acos() is the complementary function of
     cos(), which means that
     a==cos(acos(a)) for every [...]]]></description>
			<content:encoded><![CDATA[<p>acos<P>    (PHP 3, PHP 4, PHP 5)</P>acos -- Arc cosineDescriptionfloat acos ( float arg )<BR></BR><P>&#13;     Returns the arc cosine of arg in radians.<br />
     acos() is the complementary function of<br />
     cos(), which means that<br />
     a==cos(acos(a)) for every value of a that is within<br />
     acos()' range.<br />
    </P><P>&#13;     See also:<br />
     acosh(),<br />
     asin(), and<br />
     atan().<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/acos/" rel="tag">acos</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/acos function/" rel="tag">acos function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP acos function/" rel="tag">PHP acos function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;t=PHP%20acos%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;h=PHP%20acos%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20acos%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;=PHP%20acos%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;t=PHP%20acos%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=acos%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29acos%20--%20Arc%20cosineDescriptionfloat%20acos%20%28%20float%20arg%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20arc%20cosine%20of%20arg%20in%20radians.%20%0D%0A%20%20%20%20%20acos%28%29%20is%20the%20complementary%20function%20of%0D%0A%20%20%20%20%20cos%28%29%2C%20which%20means%20that%0D%0A%20%20%20%20%20a%3D%3Dcos%28acos%28a%29%29%20for%20every%20value%20o" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;t=PHP%20acos%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;title=PHP%20acos%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F&amp;submitHeadline=PHP%20acos%20function&amp;submitSummary=acos%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29acos%20--%20Arc%20cosineDescriptionfloat%20acos%20%28%20float%20arg%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20arc%20cosine%20of%20arg%20in%20radians.%20%0D%0A%20%20%20%20%20acos%28%29%20is%20the%20complementary%20function%20of%0D%0A%20%20%20%20%20cos%28%29%2C%20which%20means%20that%0D%0A%20%20%20%20%20a%3D%3Dcos%28acos%28a%29%29%20for%20every%20value%20o&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20acos%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facos%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/acos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP acosh function</title>
		<link>http://www.bradino.com/php-functions/acosh/</link>
		<comments>http://www.bradino.com/php-functions/acosh/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:17 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[acosh    (PHP 4 &#62;= 4.1.0, PHP 5)acosh -- Inverse hyperbolic cosineDescriptionfloat acosh ( float arg )&#13;     Returns the inverse hyperbolic cosine of
     arg, i.e. the value whose
     hyperbolic cosine is arg.
    Note: This function is not
implemented on [...]]]></description>
			<content:encoded><![CDATA[<p>acosh<P>    (PHP 4 &#62;= 4.1.0, PHP 5)</P>acosh -- Inverse hyperbolic cosineDescriptionfloat acosh ( float arg )<BR></BR><P>&#13;     Returns the inverse hyperbolic cosine of<br />
     arg, i.e. the value whose<br />
     hyperbolic cosine is arg.<br />
    </P><P>Note: This function is not<br />
implemented on Windows platforms.</P><P>&#13;     See also:<br />
     acos(),<br />
     asinh(), and<br />
     atanh().<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/acosh/" rel="tag">acosh</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/acosh function/" rel="tag">acosh function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP acosh function/" rel="tag">PHP acosh function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;t=PHP%20acosh%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;h=PHP%20acosh%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20acosh%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;=PHP%20acosh%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;t=PHP%20acosh%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=acosh%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.1.0%2C%20PHP%205%29acosh%20--%20Inverse%20hyperbolic%20cosineDescriptionfloat%20acosh%20%28%20float%20arg%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20inverse%20hyperbolic%20cosine%20of%0A%20%20%20%20%20arg%2C%20i.e.%20the%20value%20whose%0A%20%20%20%20%20hyperbolic%20cosine%20is%20arg.%0A%20%20%20%20Note%3A%20This%20function%20is%20not%0A" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;t=PHP%20acosh%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;title=PHP%20acosh%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F&amp;submitHeadline=PHP%20acosh%20function&amp;submitSummary=acosh%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.1.0%2C%20PHP%205%29acosh%20--%20Inverse%20hyperbolic%20cosineDescriptionfloat%20acosh%20%28%20float%20arg%20%29%26%2313%3B%20%20%20%20%20Returns%20the%20inverse%20hyperbolic%20cosine%20of%0A%20%20%20%20%20arg%2C%20i.e.%20the%20value%20whose%0A%20%20%20%20%20hyperbolic%20cosine%20is%20arg.%0A%20%20%20%20Note%3A%20This%20function%20is%20not%0A&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20acosh%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Facosh%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/acosh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP addcslashes function</title>
		<link>http://www.bradino.com/php-functions/addcslashes/</link>
		<comments>http://www.bradino.com/php-functions/addcslashes/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:16 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[addcslashes    (PHP 4, PHP 5)addcslashes -- Quote string with slashes in a C styleDescriptionstring addcslashes ( string str, string charlist )&#13;     Returns a string with backslashes before characters that are
     listed in charlist parameter. If
     charlist contains characters
   [...]]]></description>
			<content:encoded><![CDATA[<p>addcslashes<P>    (PHP 4, PHP 5)</P>addcslashes -- Quote string with slashes in a C styleDescriptionstring addcslashes ( string str, string charlist )<BR></BR><P>&#13;     Returns a string with backslashes before characters that are<br />
     listed in charlist parameter. If<br />
     charlist contains characters<br />
     \n, \r etc., they are<br />
     converted in C-like style, while other non-alphanumeric characters<br />
     with ASCII codes lower than 32 and higher than 126 converted to<br />
     octal representation.<br />
    </P><P>&#13;     Be careful if you choose to escape characters 0, a, b, f, n, r,<br />
     t and v. They will be converted to \0, \a, \b, \f, \n, \r, \t<br />
     and \v.<br />
     In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab)<br />
     are predefined escape sequences, while in C all of these are<br />
     predefined escape sequences.<br />
    </P><P>&#13;     charlist like "\0..\37", which would<br />
     escape all characters with ASCII code between 0 and 31.<br />
     <P>Example 1. addcslashes() example</P></p>
<div class="syntax_hilite">
<div id="php-6">
<div class="php"><span style="color:#0000FF;">$escaped</span> = <a href="http://www.bradino.com/php-functions/addcslashes/"><span style="color:#000066;">addcslashes</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$not_escaped</span>, <span style="color:#FF0000;">"<span style="color:#000099; font-weight:bold;">\0</span>..<span style="color:#000099; font-weight:bold;">\3</span>7!@<span style="color:#000099; font-weight:bold;">\1</span>77..<span style="color:#000099; font-weight:bold;">\3</span>77"</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</div>
</div>
<p></p>
<p>    </P><P>&#13;     When you define a sequence of characters in the charlist argument<br />
     make sure that you know what characters come between the<br />
     characters that you set as the start and end of the range.<br />
     <P></P></p>
<div class="syntax_hilite">
<div id="php-7">
<div class="php"><a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <a href="http://www.bradino.com/php-functions/addcslashes/"><span style="color:#000066;">addcslashes</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'foo[ ]'</span>, <span style="color:#FF0000;">'A..z'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<span style="color:#FF9933; font-style:italic;">// output:&nbsp; \f\o\o\[ \]</span><br />
<span style="color:#FF9933; font-style:italic;">// All upper and lower-case letters will be escaped</span><br />
<span style="color:#FF9933; font-style:italic;">// ... but so will the [\]^_` and any tabs, line</span><br />
<span style="color:#FF9933; font-style:italic;">// feeds, carriage returns, etc. </span></div>
</div>
</div>
<p></p>
<p><P></P><br />
     Also, if the first character in a range has a higher ASCII value<br />
     than the second character in the range, no range will be<br />
     constructed.  Only the start, end and period characters will be<br />
     escaped. Use the ord() function to find the<br />
     ASCII value for a character.<br />
     <P></P></p>
<div class="syntax_hilite">
<div id="php-8">
<div class="php"><a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <a href="http://www.bradino.com/php-functions/addcslashes/"><span style="color:#000066;">addcslashes</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">"zoo['.']"</span>, <span style="color:#FF0000;">'z..A'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<span style="color:#FF9933; font-style:italic;">// output:&nbsp; \zoo['\.'] </span></div>
</div>
</div>
<p></p>
<p><P></P><br />
    </P><P>&#13;     See also stripcslashes(),<br />
     stripslashes(),<br />
     addslashes(),<br />
     htmlspecialchars(), and<br />
     quotemeta().<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/addcslashes/" rel="tag">addcslashes</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/addcslashes function/" rel="tag">addcslashes function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP addcslashes function/" rel="tag">PHP addcslashes function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;t=PHP%20addcslashes%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;h=PHP%20addcslashes%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20addcslashes%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;=PHP%20addcslashes%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;t=PHP%20addcslashes%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=addcslashes%20%20%20%20%28PHP%204%2C%20PHP%205%29addcslashes%20--%20Quote%20string%20with%20slashes%20in%20a%20C%20styleDescriptionstring%20addcslashes%20%28%20string%20str%2C%20string%20charlist%20%29%26%2313%3B%20%20%20%20%20Returns%20a%20string%20with%20backslashes%20before%20characters%20that%20are%0A%20%20%20%20%20listed%20in%20charlist%20parameter.%20I" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;t=PHP%20addcslashes%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;title=PHP%20addcslashes%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F&amp;submitHeadline=PHP%20addcslashes%20function&amp;submitSummary=addcslashes%20%20%20%20%28PHP%204%2C%20PHP%205%29addcslashes%20--%20Quote%20string%20with%20slashes%20in%20a%20C%20styleDescriptionstring%20addcslashes%20%28%20string%20str%2C%20string%20charlist%20%29%26%2313%3B%20%20%20%20%20Returns%20a%20string%20with%20backslashes%20before%20characters%20that%20are%0A%20%20%20%20%20listed%20in%20charlist%20parameter.%20I&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20addcslashes%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddcslashes%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/addcslashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP addslashes function</title>
		<link>http://www.bradino.com/php-functions/addslashes/</link>
		<comments>http://www.bradino.com/php-functions/addslashes/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:15 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[addslashes    (PHP 3, PHP 4, PHP 5)addslashes -- Quote string with slashesDescriptionstring addslashes ( string str )&#13;     Returns a string with backslashes before characters that need
     to be quoted in database queries etc.  These characters are
     single quote ('), [...]]]></description>
			<content:encoded><![CDATA[<p>addslashes<P>    (PHP 3, PHP 4, PHP 5)</P>addslashes -- Quote string with slashesDescriptionstring addslashes ( string str )<BR></BR><P>&#13;     Returns a string with backslashes before characters that need<br />
     to be quoted in database queries etc.  These characters are<br />
     single quote ('), double quote<br />
     ("), backslash (\)<br />
     and NUL (the NULL byte).<br />
    </P><P>&#13;     An example use of addslashes() is when you're<br />
     entering data into a database.  For example, to insert the name<br />
     O'reilly into a database, you will need to escape<br />
     it.  Most databases do this with a \ which would<br />
     mean O\'reilly.  This would only be to get the data<br />
     into the database, the extra \ will not be inserted.<br />
     Having the PHP directive &#13;     magic_quotes_sybase set to on will mean<br />
     ' is instead escaped with another<br />
     '.<br />
    </P><P>&#13;     The PHP directive &#13;     magic_quotes_gpc is on by default, and it<br />
     essentially runs addslashes() on all GET, POST,<br />
     and COOKIE data.  Do not use addslashes() on<br />
     strings that have already been escaped with<br />
     magic_quotes_gpc as you'll<br />
     then do double escaping.  The function<br />
     get_magic_quotes_gpc() may come in handy for<br />
     checking this.<br />
    </P><P>&#13;     <P>Example 1. An addslashes() example</P></p>
<div class="syntax_hilite">
<div id="php-10">
<div class="php"><span style="color:#0000FF;">$str</span> = <span style="color:#FF0000;">"Is your name O'reilly?"</span>;</p>
<p><span style="color:#FF9933; font-style:italic;">// Outputs: Is your name O\'reilly?</span><br />
<a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <a href="http://www.bradino.com/php-functions/addslashes/"><span style="color:#000066;">addslashes</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$str</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</div>
</div>
<p></p>
<p>    </P><P>&#13;     See also stripslashes(),<br />
     stripcslashes(),<br />
     addcslashes(),<br />
     htmlspecialchars(),<br />
     quotemeta(), and<br />
     get_magic_quotes_gpc().<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/addslashes/" rel="tag">addslashes</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/addslashes function/" rel="tag">addslashes function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP addslashes function/" rel="tag">PHP addslashes function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;t=PHP%20addslashes%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;h=PHP%20addslashes%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20addslashes%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;=PHP%20addslashes%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;t=PHP%20addslashes%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=addslashes%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29addslashes%20--%20Quote%20string%20with%20slashesDescriptionstring%20addslashes%20%28%20string%20str%20%29%26%2313%3B%20%20%20%20%20Returns%20a%20string%20with%20backslashes%20before%20characters%20that%20need%0A%20%20%20%20%20to%20be%20quoted%20in%20database%20queries%20etc.%20%20These%20characters%20" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;t=PHP%20addslashes%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;title=PHP%20addslashes%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F&amp;submitHeadline=PHP%20addslashes%20function&amp;submitSummary=addslashes%20%20%20%20%28PHP%203%2C%20PHP%204%2C%20PHP%205%29addslashes%20--%20Quote%20string%20with%20slashesDescriptionstring%20addslashes%20%28%20string%20str%20%29%26%2313%3B%20%20%20%20%20Returns%20a%20string%20with%20backslashes%20before%20characters%20that%20need%0A%20%20%20%20%20to%20be%20quoted%20in%20database%20queries%20etc.%20%20These%20characters%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20addslashes%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faddslashes%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/addslashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP aggregate function</title>
		<link>http://www.bradino.com/php-functions/aggregate/</link>
		<comments>http://www.bradino.com/php-functions/aggregate/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:14 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[aggregate    (PHP 4 &#62;= 4.2.0)aggregate --
     Dynamic class and object aggregation of methods and properties
    Descriptionvoid aggregate ( object object, string class_name )&#13;     Aggregates methods and properties defined in a class to
     an existing object. Methods and [...]]]></description>
			<content:encoded><![CDATA[<p>aggregate<P>    (PHP 4 &#62;= 4.2.0)</P>aggregate --<br />
     Dynamic class and object aggregation of methods and properties<br />
    Descriptionvoid aggregate ( object object, string class_name )<BR></BR><P>&#13;     Aggregates methods and properties defined in a class to<br />
     an existing object. Methods and properties with names starting with<br />
     an underscore character (_) are considered private to<br />
     the aggregated class and are not used, constructors are<br />
     also excluded from the aggregation procedure.<br />
    </P><P>&#13;     See also<br />
     aggregate_info(),<br />
     aggregate_methods(),<br />
     aggregate_methods_by_list(),<br />
     aggregate_methods_by_regexp(),<br />
     aggregate_properties(),<br />
     aggregate_properties_by_list(),<br />
     aggregate_properties_by_regexp(),<br />
     deaggregate()<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/aggregate/" rel="tag">aggregate</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/aggregate function/" rel="tag">aggregate function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP aggregate function/" rel="tag">PHP aggregate function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;t=PHP%20aggregate%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;h=PHP%20aggregate%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20aggregate%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;=PHP%20aggregate%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;t=PHP%20aggregate%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=aggregate%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate%20--%20%0A%20%20%20%20%20Dynamic%20class%20and%20object%20aggregation%20of%20methods%20and%20properties%0A%20%20%20%20Descriptionvoid%20aggregate%20%28%20object%20object%2C%20string%20class_name%20%29%26%2313%3B%20%20%20%20%20Aggregates%20methods%20and%20properties%20defined%20in%20a%20class%20to%0A%20%20%20" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;t=PHP%20aggregate%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;title=PHP%20aggregate%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F&amp;submitHeadline=PHP%20aggregate%20function&amp;submitSummary=aggregate%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate%20--%20%0A%20%20%20%20%20Dynamic%20class%20and%20object%20aggregation%20of%20methods%20and%20properties%0A%20%20%20%20Descriptionvoid%20aggregate%20%28%20object%20object%2C%20string%20class_name%20%29%26%2313%3B%20%20%20%20%20Aggregates%20methods%20and%20properties%20defined%20in%20a%20class%20to%0A%20%20%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20aggregate%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/aggregate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP aggregate_info function</title>
		<link>http://www.bradino.com/php-functions/aggregate_info/</link>
		<comments>http://www.bradino.com/php-functions/aggregate_info/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:13 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[aggregate_info    (no version information, might be only in CVS)aggregate_info --
     Returns an associative array of the methods and properties from
     each class that has been aggregated to the object
    Descriptionarray aggregate_info ( object object )&#13;     Will return [...]]]></description>
			<content:encoded><![CDATA[<p>aggregate_info<P>    (no version information, might be only in CVS)</P>aggregate_info --<br />
     Returns an associative array of the methods and properties from<br />
     each class that has been aggregated to the object<br />
    Descriptionarray aggregate_info ( object object )<BR></BR><P>&#13;     Will return the aggregation information for a particular object<br />
     as an associative array of arrays of methods and properties. The<br />
     key for the main array is the name of the aggregated class.<br />
    </P><P>&#13;     For example the code below<br />
     <P>Example 1. Using aggregate_info()</P></p>
<div class="syntax_hilite">
<div id="php-12">
<div class="php"><span style="color:#000000; font-weight:bold;">class</span> Slicer <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">var</span> <span style="color:#0000FF;">$vegetable</span>;</p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> Slicer<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$vegetable</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$this</span>-&amp;gt;vegetable = <span style="color:#0000FF;">$vegetable</span>;<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> slice_it<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$num_cuts</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Doing some simple slicing<span style="color:#000099; font-weight:bold;">\n</span>"</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">for</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#CC66CC;">0</span>; <span style="color:#0000FF;">$i</span> &amp;lt;<span style="color:#0000FF;">$num_cuts</span>; <span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// do some slicing</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
<span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p><span style="color:#000000; font-weight:bold;">class</span> Dicer <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">var</span> <span style="color:#0000FF;">$vegetable</span>;<br />
&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">var</span> <span style="color:#0000FF;">$rotation_angle</span> = <span style="color:#CC66CC;">90</span>;&nbsp; &nbsp;<span style="color:#FF9933; font-style:italic;">// degrees</span></p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> Dicer<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$vegetable</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$this</span>-&amp;gt;vegetable = <span style="color:#0000FF;">$vegetable</span>;<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> dice_it<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$num_cuts</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Cutting in one direction<span style="color:#000099; font-weight:bold;">\n</span>"</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">for</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#CC66CC;">0</span>; <span style="color:#0000FF;">$i</span> &amp;lt;<span style="color:#0000FF;">$num_cuts</span>; <span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// do some cutting</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">$this</span>-&amp;gt;rotate<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$this</span>-&amp;gt;rotation_angle<span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Cutting in a second direction<span style="color:#000099; font-weight:bold;">\n</span>"</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#616100;">for</span> <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$i</span>=<span style="color:#CC66CC;">0</span>; <span style="color:#0000FF;">$i</span> &amp;lt;<span style="color:#0000FF;">$num_cuts</span>; <span style="color:#0000FF;">$i</span>++<span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// do some more cutting</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> rotate<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$deg</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.bradino.com/php-functions/echo/"><span style="color:#000066;">echo</span></a> <span style="color:#FF0000;">"Now rotating {$this-&amp;gt;vegetable} {$deg} degrees<span style="color:#000099; font-weight:bold;">\n</span>"</span>;<br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p>&nbsp; &nbsp; <span style="color:#000000; font-weight:bold;">function</span> _secret_super_dicing<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$num_cuts</span><span style="color:#006600; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FF9933; font-style:italic;">// so secret we cannot show you ;-)</span><br />
&nbsp; &nbsp; <span style="color:#006600; font-weight:bold;">&#125;</span><br />
<span style="color:#006600; font-weight:bold;">&#125;</span></p>
<p><span style="color:#0000FF;">$obj</span> = <span style="color:#000000; font-weight:bold;">new</span> Slicer<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#FF0000;">'onion'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<a href="http://www.bradino.com/php-functions/aggregate/"><span style="color:#000066;">aggregate</span></a><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$obj</span>, <span style="color:#FF0000;">'Dicer'</span><span style="color:#006600; font-weight:bold;">&#41;</span>;<br />
<a href="http://www.bradino.com/php-functions/print_r/"><span style="color:#000066;">print_r</span></a><span style="color:#006600; font-weight:bold;">&#40;</span>aggregate_info<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF;">$obj</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>;</div>
</div>
</div>
<p></p>
<p><P>&#13;       Will produce the output<br />
      </P>Array<br />
(<br />
    [dicer] =&#62; Array<br />
        (<br />
            [methods] =&#62; Array<br />
                (<br />
                    [0] =&#62; dice_it<br />
                    [1] =&#62; rotate<br />
                )</p>
<p>            [properties] =&#62; Array<br />
                (<br />
                    [0] =&#62; rotation_angle<br />
                )</p>
<p>        )</p>
<p>)<br />
     As you can see, all properties and methods of the<br />
     Dicer class have been aggregated<br />
     into our new object, with the exception of the class<br />
     constructor and the method _secret_super_dicing<br />
    </P><P>&#13;     See also<br />
     aggregate(),<br />
     aggregate_methods(),<br />
     aggregate_methods_by_list(),<br />
     aggregate_methods_by_regexp(),<br />
     aggregate_properties(),<br />
     aggregate_properties_by_list(),<br />
     aggregate_properties_by_regexp(),<br />
     deaggregate()</p>
<p>    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/aggregate_info/" rel="tag">aggregate_info</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/aggregate_info function/" rel="tag">aggregate_info function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP aggregate_info function/" rel="tag">PHP aggregate_info function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;t=PHP%20aggregate_info%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;h=PHP%20aggregate_info%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20aggregate_info%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;=PHP%20aggregate_info%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;t=PHP%20aggregate_info%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=aggregate_info%20%20%20%20%28no%20version%20information%2C%20might%20be%20only%20in%20CVS%29aggregate_info%20--%20%0A%20%20%20%20%20Returns%20an%20associative%20array%20of%20the%20methods%20and%20properties%20from%0A%20%20%20%20%20each%20class%20that%20has%20been%20aggregated%20to%20the%20object%0A%20%20%20%20Descriptionarray%20aggregate_info%20%28%20objec" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;t=PHP%20aggregate_info%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;title=PHP%20aggregate_info%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F&amp;submitHeadline=PHP%20aggregate_info%20function&amp;submitSummary=aggregate_info%20%20%20%20%28no%20version%20information%2C%20might%20be%20only%20in%20CVS%29aggregate_info%20--%20%0A%20%20%20%20%20Returns%20an%20associative%20array%20of%20the%20methods%20and%20properties%20from%0A%20%20%20%20%20each%20class%20that%20has%20been%20aggregated%20to%20the%20object%0A%20%20%20%20Descriptionarray%20aggregate_info%20%28%20objec&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20aggregate_info%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_info%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/aggregate_info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP aggregate_methods function</title>
		<link>http://www.bradino.com/php-functions/aggregate_methods/</link>
		<comments>http://www.bradino.com/php-functions/aggregate_methods/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:12 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[aggregate_methods    (PHP 4 &#62;= 4.2.0)aggregate_methods --
     Dynamic class and object aggregation of methods
    Descriptionvoid aggregate_methods ( object object, string class_name )&#13;     Aggregates all methods defined in a class to
     an existing object, except for the class constructor, [...]]]></description>
			<content:encoded><![CDATA[<p>aggregate_methods<P>    (PHP 4 &#62;= 4.2.0)</P>aggregate_methods --<br />
     Dynamic class and object aggregation of methods<br />
    Descriptionvoid aggregate_methods ( object object, string class_name )<BR></BR><P>&#13;     Aggregates all methods defined in a class to<br />
     an existing object, except for the class constructor, or methods<br />
     whose names start with an underscore character (_) which are<br />
     considered private to the aggregated class.<br />
    </P><P>&#13;     See also<br />
     aggregate(),<br />
     aggregate_info(),<br />
     aggregate_methods_by_list(),<br />
     aggregate_methods_by_regexp(),<br />
     aggregate_properties(),<br />
     aggregate_properties_by_list(),<br />
     aggregate_properties_by_regexp(),<br />
     deaggregate()<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/aggregate_methods/" rel="tag">aggregate_methods</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/aggregate_methods function/" rel="tag">aggregate_methods function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP aggregate_methods function/" rel="tag">PHP aggregate_methods function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;t=PHP%20aggregate_methods%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;h=PHP%20aggregate_methods%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20aggregate_methods%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;=PHP%20aggregate_methods%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;t=PHP%20aggregate_methods%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=aggregate_methods%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods%20--%20%0A%20%20%20%20%20Dynamic%20class%20and%20object%20aggregation%20of%20methods%0A%20%20%20%20Descriptionvoid%20aggregate_methods%20%28%20object%20object%2C%20string%20class_name%20%29%26%2313%3B%20%20%20%20%20Aggregates%20all%20methods%20defined%20in%20a%20class%20to%0A%20%20%20%20%20" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;t=PHP%20aggregate_methods%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;title=PHP%20aggregate_methods%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F&amp;submitHeadline=PHP%20aggregate_methods%20function&amp;submitSummary=aggregate_methods%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods%20--%20%0A%20%20%20%20%20Dynamic%20class%20and%20object%20aggregation%20of%20methods%0A%20%20%20%20Descriptionvoid%20aggregate_methods%20%28%20object%20object%2C%20string%20class_name%20%29%26%2313%3B%20%20%20%20%20Aggregates%20all%20methods%20defined%20in%20a%20class%20to%0A%20%20%20%20%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20aggregate_methods%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/aggregate_methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP aggregate_methods_by_list function</title>
		<link>http://www.bradino.com/php-functions/aggregate_methods_by_list/</link>
		<comments>http://www.bradino.com/php-functions/aggregate_methods_by_list/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:11 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[aggregate_methods_by_list    (PHP 4 &#62;= 4.2.0)aggregate_methods_by_list --
     Selective dynamic class methods aggregation to an object
    Descriptionvoid aggregate_methods_by_list ( object object, string class_name, array methods_list [, bool exclude] )&#13;     Aggregates methods from a class to
     an existing object using [...]]]></description>
			<content:encoded><![CDATA[<p>aggregate_methods_by_list<P>    (PHP 4 &#62;= 4.2.0)</P>aggregate_methods_by_list --<br />
     Selective dynamic class methods aggregation to an object<br />
    Descriptionvoid aggregate_methods_by_list ( object object, string class_name, array methods_list [, bool exclude] )<BR></BR><P>&#13;     Aggregates methods from a class to<br />
     an existing object using a list of method names. The optional parameter<br />
     exclude is used to decide whether the list<br />
     contains the names of methods to include in the aggregation (i.e.<br />
     exclude is FALSE, which is the default value),<br />
     or to exclude from the aggregation (exclude is<br />
     TRUE).<br />
     </P><P>&#13;     The class constructor or methods<br />
     whose names start with an underscore character (_), which are<br />
     considered private to the aggregated class, are always<br />
     excluded.<br />
    </P><P>&#13;     See also<br />
     aggregate(),<br />
     aggregate_info(),<br />
     aggregate_methods(),<br />
     aggregate_methods_by_regexp(),<br />
     aggregate_properties(),<br />
     aggregate_properties_by_list(),<br />
     aggregate_properties_by_regexp(),<br />
     deaggregate()<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/aggregate_methods_by_list/" rel="tag">aggregate_methods_by_list</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/aggregate_methods_by_list function/" rel="tag">aggregate_methods_by_list function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP aggregate_methods_by_list function/" rel="tag">PHP aggregate_methods_by_list function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;t=PHP%20aggregate_methods_by_list%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;h=PHP%20aggregate_methods_by_list%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20aggregate_methods_by_list%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;=PHP%20aggregate_methods_by_list%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;t=PHP%20aggregate_methods_by_list%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=aggregate_methods_by_list%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods_by_list%20--%20%0A%20%20%20%20%20Selective%20dynamic%20class%20methods%20aggregation%20to%20an%20object%0A%20%20%20%20Descriptionvoid%20aggregate_methods_by_list%20%28%20object%20object%2C%20string%20class_name%2C%20array%20methods_list%20%5B%2C%20bool%20" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;t=PHP%20aggregate_methods_by_list%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;title=PHP%20aggregate_methods_by_list%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F&amp;submitHeadline=PHP%20aggregate_methods_by_list%20function&amp;submitSummary=aggregate_methods_by_list%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods_by_list%20--%20%0A%20%20%20%20%20Selective%20dynamic%20class%20methods%20aggregation%20to%20an%20object%0A%20%20%20%20Descriptionvoid%20aggregate_methods_by_list%20%28%20object%20object%2C%20string%20class_name%2C%20array%20methods_list%20%5B%2C%20bool%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20aggregate_methods_by_list%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_list%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/aggregate_methods_by_list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP aggregate_methods_by_regexp function</title>
		<link>http://www.bradino.com/php-functions/aggregate_methods_by_regexp/</link>
		<comments>http://www.bradino.com/php-functions/aggregate_methods_by_regexp/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 05:23:10 +0000</pubDate>
		<dc:creator>BRADINO</dc:creator>
				<category><![CDATA[PHP Functions]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[aggregate_methods_by_regexp    (PHP 4 &#62;= 4.2.0)aggregate_methods_by_regexp --
     Selective class methods aggregation to an object using a regular
     expression
    Descriptionvoid aggregate_methods_by_regexp ( object object, string class_name, string regexp [, bool exclude] )&#13;     Aggregates methods from a class to
  [...]]]></description>
			<content:encoded><![CDATA[<p>aggregate_methods_by_regexp<P>    (PHP 4 &#62;= 4.2.0)</P>aggregate_methods_by_regexp --<br />
     Selective class methods aggregation to an object using a regular<br />
     expression<br />
    Descriptionvoid aggregate_methods_by_regexp ( object object, string class_name, string regexp [, bool exclude] )<BR></BR><P>&#13;     Aggregates methods from a class to<br />
     an existing object using a regular expression to match method names.<br />
     The optional parameter<br />
     exclude is used to decide whether the regular<br />
     expression will select<br />
     the names of methods to include in the aggregation (i.e.<br />
     exclude is FALSE, which is the default value),<br />
     or to exclude from the aggregation (exclude is<br />
     TRUE).<br />
     </P><P>&#13;     The class constructor or methods<br />
     whose names start with an underscore character (_), which are<br />
     considered private to the aggregated class, are always<br />
     excluded.<br />
    </P><P>&#13;     See also<br />
     aggregate(),<br />
     aggregate_info(),<br />
     aggregate_methods(),<br />
     aggregate_methods_by_list(),<br />
     aggregate_properties(),<br />
     aggregate_properties_by_list(),<br />
     aggregate_properties_by_regexp(),<br />
     deaggregate()<br />
    </P></p>
<div class="awmp_tags"><a href="http://www.bradino.com/search/aggregate_methods_by_regexp/" rel="tag">aggregate_methods_by_regexp</a> <a href="http://www.bradino.com/search/PHP/" rel="tag">PHP</a> <a href="http://www.bradino.com/search/aggregate_methods_by_regexp function/" rel="tag">aggregate_methods_by_regexp function</a> <a href="http://www.bradino.com/search/php functions/" rel="tag">php functions</a> <a href="http://www.bradino.com/search/PHP aggregate_methods_by_regexp function/" rel="tag">PHP aggregate_methods_by_regexp function</a> <a href="http://www.bradino.com/search/mysql/" rel="tag">mysql</a> <a href="http://www.bradino.com/search/php tutorials/" rel="tag">php tutorials</a> <a href="http://www.bradino.com/search/apache/" rel="tag">apache</a> <a href="http://www.bradino.com/search/php manual/" rel="tag">php manual</a> <a href="http://www.bradino.com/search/server/" rel="tag">server</a> <a href="http://www.bradino.com/search/database/" rel="tag">database</a> <a href="http://www.bradino.com/search/flash/" rel="tag">flash</a> <a href="http://www.bradino.com/search/content management system/" rel="tag">content management system</a> <a href="http://www.bradino.com/search/sql/" rel="tag">sql</a> <a href="http://www.bradino.com/search/script/" rel="tag">script</a> <a href="http://www.bradino.com/search/string/" rel="tag">string</a> <a href="http://www.bradino.com/search/xml/" rel="tag">xml</a> <a href="http://www.bradino.com/search/regular expressions/" rel="tag">regular expressions</a> <a href="http://www.bradino.com/search/php5/" rel="tag">php5</a> <a href="http://www.bradino.com/search/code/" rel="tag">code</a> <a href="http://www.bradino.com/search/classes/" rel="tag">classes</a> <a href="http://www.bradino.com/search/developers/" rel="tag">developers</a></div>
<div class="sociable">

<ul>
	<li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Digg"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://twitter.com/home?status=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F" title="TwitThis"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/twitter.gif" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="del.icio.us"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function&amp;popup=no" title="Netvouz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="description"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/dzone.png" title="description" alt="description" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Reddit"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;t=PHP%20aggregate_methods_by_regexp%20function" title="Furl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;h=PHP%20aggregate_methods_by_regexp%20function" title="NewsVine"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.simpy.com/simpy/LinkAdd.do?href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Simpy"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/simpy.png" title="Simpy" alt="Simpy" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://slashdot.org/bookmark.pl?title=PHP%20aggregate_methods_by_regexp%20function&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F" title="Slashdot"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.spurl.net/spurl.php?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Spurl"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/spurl.png" title="Spurl" alt="Spurl" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="StumbleUpon"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;=PHP%20aggregate_methods_by_regexp%20function" title="YahooMyWeb"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="YahooMyWeb" alt="YahooMyWeb" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://tailrank.com/share/?text=&amp;link_href=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="TailRank"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/tailrank.png" title="TailRank" alt="TailRank" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F" title="Technorati"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;t=PHP%20aggregate_methods_by_regexp%20function" title="Facebook"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Google"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function&amp;source=BRADINO+LAMP+Development+Tutorials%2C+Code%2C+Tips+%26amp%3B+Tricks&amp;summary=aggregate_methods_by_regexp%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods_by_regexp%20--%20%0A%20%20%20%20%20Selective%20class%20methods%20aggregation%20to%20an%20object%20using%20a%20regular%0A%20%20%20%20%20expression%0A%20%20%20%20Descriptionvoid%20aggregate_methods_by_regexp%20%28%20object%20object%2C%20string%20class_nam" title="LinkedIn"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Live"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;t=PHP%20aggregate_methods_by_regexp%20function" title="MySpace"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;title=PHP%20aggregate_methods_by_regexp%20function" title="Ping.fm"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/ping.gif" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F&amp;submitHeadline=PHP%20aggregate_methods_by_regexp%20function&amp;submitSummary=aggregate_methods_by_regexp%20%20%20%20%28PHP%204%20%26%2362%3B%3D%204.2.0%29aggregate_methods_by_regexp%20--%20%0A%20%20%20%20%20Selective%20class%20methods%20aggregation%20to%20an%20object%20using%20a%20regular%0A%20%20%20%20%20expression%0A%20%20%20%20Descriptionvoid%20aggregate_methods_by_regexp%20%28%20object%20object%2C%20string%20class_nam&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/yahoobuzz.gif" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow" target="_blank" href="mailto:?subject=PHP%20aggregate_methods_by_regexp%20function&amp;body=http%3A%2F%2Fwww.bradino.com%2Fphp-functions%2Faggregate_methods_by_regexp%2F" title="E-mail this story to a friend!"><img src="http://www.bradino.com/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bradino.com/php-functions/aggregate_methods_by_regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
