|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: gmp_xor (PHP 4 >= 4.0.4, PHP 5) gmp_xor -- Logical XORDescriptionresource gmp_xor ( resource a, resource b )Calculates logical exclusive OR (XOR) of two GMP numbers. Example 1. gmp_xor() example
<?php
$xor1 = gmp_init("1101101110011101", 2);
$xor2 = gmp_init("0110011001011001", 2);
$xor3 = gmp_xor($xor1, $xor2);
echo gmp_strval($xor3, 2) . "\n";
?>
The printout of the above program will be: 1011110111000100XLIV. HTTP Functions IntroductionThese functions let you manipulate the output sent back to the remote browser right down to the HTTP protocol level. RequirementsNo external libraries are needed to build this extension. InstallationThere is no installation needed to use these functions; they are part of the PHP core. Runtime ConfigurationThis extension has no configuration directives defined in php.ini . Resource TypesThis extension has no resource types defined. Predefined ConstantsThis extension has no constants defined. Table of Contents header -- Send a raw HTTP header headers_list -- Returns a list of response headers sent (or ready to send) headers_sent -- Checks if or where headers have been sent setcookie -- Send a cookie setrawcookie -- Send a cookie without urlencoding the cookie valueRelated Function(s) |