PageRenderTime 1617ms queryFilters 0ms Sphinxql 948ms GetByIds 433ms meta 0ms repositoryFilters 23ms languageFilters 1ms sourceFilters 76ms

84,481 results for 'php chr repo:teplitsa/easy-digital-downloads' (1617 ms)

Source

Language

Repository

BigInteger.php git://github.com/spotweb/spotweb.git | PHP | 3,630 lines
528                    $temp = bcmod($current, '16777216');
529                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
530                    $current = bcdiv($current, '16777216', 0);
720     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
721     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
722     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2858        // generate as many leading 1's as we need to.
2859        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2860        $this->_base256_lshift($leading_ones, $current_bits);
2967            $precision = 8 * strlen($bits) - 8 + $i;
2968            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2969        }
3104
3105        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3106        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://bitbucket.org/norvin/mingen_dts | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kc┼śhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
getid3.lib.php https://bitbucket.org/norvin/mingen_dts | PHP | 1,309 lines
1<?php
2/////////////////////////////////////////////////////////////////
297			$quotient = ($number / ($maskbyte + 1));
298			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
299			$number = floor($quotient);
339		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
340			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
341		}
349			if ($synchsafe) {
350				$intstring = $intstring.chr($number & 127);
351				$number >>= 7;
352			} else {
353				$intstring = $intstring.chr($number & 255);
354				$number >>= 8;
362		// written by kc┼śhireability*com
363		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
364		if (!is_array($array1) || !is_array($array2)) {
BigInteger.php https://bitbucket.org/arkross/venus | PHP | 3,548 lines
521                    $temp = bcmod($current, '16777216');
522                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
523                    $current = bcdiv($current, '16777216', 0);
704     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
705     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
706     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2795        // generate as many leading 1's as we need to.
2796        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2797        $this->_base256_lshift($leading_ones, $current_bits);
2904            $precision = 8 * strlen($bits) - 8 + $i;
2905            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2906        }
3041
3042        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3043        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
AMFSerializer.php https://bitbucket.org/fxrialab/tickets | PHP | 1,048 lines
587			}
588			else if(AMFPHP_PHP5 && $className == 'domdocument')
589			{
786		{
787			$this->outBuffer .= chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
788		} 
950		{
951			return chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
952		}
954		{
955			return chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
956		} 
958		{
959			return chr($d >> 22 & 0x7f | 0x80) . chr($d >> 15 & 0x7f | 0x80) . 
960				   chr($d >> 8 & 0x7f | 0x80) . chr($d & 0xff);
AMFSerializer.php https://bitbucket.org/fxrialab/tickets | PHP | 1,048 lines
587			}
588			else if(AMFPHP_PHP5 && $className == 'domdocument')
589			{
786		{
787			$this->outBuffer .= chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
788		} 
950		{
951			return chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
952		}
954		{
955			return chr($d >> 14 & 0x7f | 0x80) . chr($d >> 7 & 0x7f | 0x80) . chr($d & 0x7f);
956		} 
958		{
959			return chr($d >> 22 & 0x7f | 0x80) . chr($d >> 15 & 0x7f | 0x80) . 
960				   chr($d >> 8 & 0x7f | 0x80) . chr($d & 0xff);
getid3.lib.php https://bitbucket.org/micahw156/sites_chacadwa.git | PHP | 1,323 lines
1<?php
2/////////////////////////////////////////////////////////////////
294			$quotient = ($number / ($maskbyte + 1));
295			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
296			$number = floor($quotient);
336		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
337			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
338		}
346			if ($synchsafe) {
347				$intstring = $intstring.chr($number & 127);
348				$number >>= 7;
349			} else {
350				$intstring = $intstring.chr($number & 255);
351				$number >>= 8;
359		// written by kcěhireability*com
360		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
361		if (!is_array($array1) || !is_array($array2)) {
BigInteger.php https://bitbucket.org/negge/tlklan2 | PHP | 3,630 lines
528                    $temp = bcmod($current, '16777216');
529                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
530                    $current = bcdiv($current, '16777216', 0);
720     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
721     * directly in PHP5.  You can in PHP4 since it's not a magic method, but in PHP5, you have to call it by using the PHP5
722     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2858        // generate as many leading 1's as we need to.
2859        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2860        $this->_base256_lshift($leading_ones, $current_bits);
2967            $precision = 8 * strlen($bits) - 8 + $i;
2968            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2969        }
3104
3105        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3106        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://bitbucket.org/tsuchi/mediagallery_hack | PHP | 1,312 lines
1<?php
2/////////////////////////////////////////////////////////////////
12
13if (strpos(strtolower($_SERVER['PHP_SELF']), strtolower(basename(__FILE__))) !== false) {
14    die('This file can not be used on its own!');
300			$quotient = ($number / ($maskbyte + 1));
301			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
302			$number = floor($quotient);
342		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
343			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
344		}
352			if ($synchsafe) {
353				$intstring = $intstring.chr($number & 127);
354				$number >>= 7;
365		// written by kc┼śhireability*com
366		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
367		if (!is_array($array1) || !is_array($array2)) {
getid3.lib.php https://bitbucket.org/sergiohzlz/reportaprod | PHP | 1,318 lines
1<?php
2/////////////////////////////////////////////////////////////////
306			$quotient = ($number / ($maskbyte + 1));
307			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
308			$number = floor($quotient);
348		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
349			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
350		}
358			if ($synchsafe) {
359				$intstring = $intstring.chr($number & 127);
360				$number >>= 7;
361			} else {
362				$intstring = $intstring.chr($number & 255);
363				$number >>= 8;
371		// written by kc┼śhireability*com
372		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
373		if (!is_array($array1) || !is_array($array2)) {
fsource_PHPExcel_Shared__PHPExcelSharedString.php.html git://github.com/shimondoodkin/node_spreadsheet.git | HTML | 750 lines
60<h1 align="center">Source for file String.php</h1>
61<p>Documentation is available at <a href="../PHPExcel_Shared/_PHPExcel---Shared---String.php.html">String.php</a></p>
62<div class="src-code">
371<li><div class="src-line"><a name="a311"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-comm">//&nbsp;CUSTOM:&nbsp;IBM&nbsp;AIX&nbsp;iconv()&nbsp;does&nbsp;not&nbsp;work</span></div></li>
372<li><div class="src-line"><a name="a312"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">if&nbsp;</span><span class="src-sym">(&nbsp;</span><a href="http://www.php.net/defined">defined</a><span class="src-sym">(</span><span class="src-str">'PHP_OS'</span><span class="src-sym">)&nbsp;</span>&amp;&amp;&nbsp;<span class="src-sym">@</span><a href="http://www.php.net/stristr">stristr</a><span class="src-sym">(</span><span class="src-id">PHP_OS</span><span class="src-sym">,&nbsp;</span><span class="src-str">'AIX'</span><span class="src-sym">)</span></div></li>
373<li><div class="src-line"><a name="a313"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&amp;&nbsp;<a href="http://www.php.net/defined">defined</a><span class="src-sym">(</span><span class="src-str">'ICONV_IMPL'</span><span class="src-sym">)&nbsp;</span>&amp;&amp;&nbsp;<span class="src-sym">(</span><span class="src-sym">@</span><a href="http://www.php.net/strcasecmp">strcasecmp</a><span class="src-sym">(</span><span class="src-id">ICONV_IMPL</span><span class="src-sym">,&nbsp;</span><span class="src-str">'unknown'</span><span class="src-sym">)&nbsp;</span>==&nbsp;<span class="src-num">0</span><span class="src-sym">)</span></div></li>
398<li><div class="src-line"><a name="a338"></a><span class="src-doc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></div></li>
399<li><div class="src-line"><a name="a339"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">public&nbsp;</span><span class="src-key">static&nbsp;</span><span class="src-key">function&nbsp;</span><a href="../PHPExcel_Shared/PHPExcel_Shared_String.html#methodControlCharacterOOXML2PHP">ControlCharacterOOXML2PHP</a><span class="src-sym">(</span><span class="src-var">$value&nbsp;</span>=&nbsp;<span class="src-str">''</span><span class="src-sym">)&nbsp;</span><span class="src-sym">{</span></div></li>
400<li><div class="src-line"><a name="a340"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">if</span><span class="src-sym">(</span><span class="src-key">empty</span><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-var">$_controlCharacters</span><span class="src-sym">))&nbsp;</span><span class="src-sym">{</span></div></li>
420<li><div class="src-line"><a name="a360"></a><span class="src-doc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</span></div></li>
421<li><div class="src-line"><a name="a361"></a>&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">public&nbsp;</span><span class="src-key">static&nbsp;</span><span class="src-key">function&nbsp;</span><a href="../PHPExcel_Shared/PHPExcel_Shared_String.html#methodControlCharacterPHP2OOXML">ControlCharacterPHP2OOXML</a><span class="src-sym">(</span><span class="src-var">$value&nbsp;</span>=&nbsp;<span class="src-str">''</span><span class="src-sym">)&nbsp;</span><span class="src-sym">{</span></div></li>
422<li><div class="src-line"><a name="a362"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">if</span><span class="src-sym">(</span><span class="src-key">empty</span><span class="src-sym">(</span><span class="src-id">self</span><span class="src-sym">::</span><span class="src-var">$_controlCharacters</span><span class="src-sym">))&nbsp;</span><span class="src-sym">{</span></div></li>
646<li><div class="src-line"><a name="a586"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$fractionFormula&nbsp;</span>=&nbsp;<span class="src-str">'='</span>.<span class="src-var">$sign</span>.<span class="src-var">$match</span><span class="src-sym">[</span><span class="src-num">2</span><span class="src-sym">]</span>.<span class="src-var">$sign</span>.<span class="src-var">$match</span><span class="src-sym">[</span><span class="src-num">3</span><span class="src-sym">]</span><span class="src-sym">;</span></div></li>
647<li><div class="src-line"><a name="a587"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-var">$operand&nbsp;</span>=&nbsp;<span class="src-id"><a href="../PHPExcel_Calculation/PHPExcel_Calculation.html">PHPExcel_Calculation</a></span><span class="src-sym">::</span><a href="../PHPExcel_Calculation/PHPExcel_Calculation.html#methodgetInstance">getInstance</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">-&gt;</span><span class="src-id">_calculateFormulaValue</span><span class="src-sym">(</span><span class="src-var">$fractionFormula</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
648<li><div class="src-line"><a name="a588"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="src-key">return&nbsp;</span><span class="src-id">true</span><span class="src-sym">;</span></div></li>
demo.mp3header.php https://bitbucket.org/holyfield/getid3.git | PHP | 2,890 lines
531	function DeUnSynchronise($data) {
532		return str_replace(chr(0xFF).chr(0x00), chr(0xFF), $data);
533	}
549
550		$data = str_replace(chr(0xFF).chr(0x00), chr(0xFF).chr(0x00).chr(0x00), $data);
551		$unsyncheddata = '';
678				$asciidata = $rawdata;
679				if (substr($asciidata, strlen($asciidata) - 2, 2) == chr(0).chr(0)) {
680					$asciidata = substr($asciidata, 0, strlen($asciidata) - 2); // remove terminator, only if present (it should be, but...)
697				$asciidata = $rawdata;
698				if (substr($asciidata, strlen($asciidata) - 2, 2) == chr(0).chr(0)) {
699					$asciidata = substr($asciidata, 0, strlen($asciidata) - 2); // remove terminator, only if present (it should be, but...)
920	function utf8_decode($utf8text) {
921		// http://www.php.net/manual/en/function.utf8-encode.php
922		// bytes  bits  representation
text_helper.php https://github.com/seanreichle/CodeIgniter.git | PHP | 526 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
202				{
203					$out .= chr(192 + (($digits - ($digits % 64)) / 64));
204					$out .= chr(128 + ($digits % 64));
207				{
208					$out .= chr(224 + (($digits - ($digits % 4096)) / 4096));
209					$out .= chr(128 + ((($digits % 4096) - ($digits % 64)) / 64));
209					$out .= chr(128 + ((($digits % 4096) - ($digits % 64)) / 64));
210					$out .= chr(128 + ($digits % 64));
211				}
295		$str = str_replace(array('<?', '?>', '<%', '%>', '\\', '</script>'),
296					array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
297					$str);
311		// Replace our markers back to PHP tags.
312		return str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
313					array('&lt;?', '?&gt;', '&lt;%', '%&gt;', '\\', '&lt;/script&gt;'),
formatting.php https://github.com/yanickouellet/WordPress.git | PHP | 3,393 lines
771		chr(225).chr(187).chr(164) => 'U', chr(225).chr(187).chr(165) => 'u',
772		chr(225).chr(187).chr(176) => 'U', chr(225).chr(187).chr(177) => 'u',
773		chr(225).chr(187).chr(180) => 'Y', chr(225).chr(187).chr(181) => 'y',
807			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
808			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
809			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
810			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
811			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
813			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
814			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
819		$string = strtr($string, $chars['in'], $chars['out']);
820		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
821		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
text_helper.php https://github.com/chriskelley/CodeIgniter.git | PHP | 540 lines
1<?php
2/**
202				{
203					$out .= chr(192 + (($digits - ($digits % 64)) / 64)).chr(128 + ($digits % 64));
204				}
206				{
207					$out .= chr(224 + (($digits - ($digits % 4096)) / 4096))
208						.chr(128 + ((($digits % 4096) - ($digits % 64)) / 64))
208						.chr(128 + ((($digits % 4096) - ($digits % 64)) / 64))
209						.chr(128 + ($digits % 64));
210				}
295		$str = str_replace(array('&lt;', '&gt;', '<?', '?>', '<%', '%>', '\\', '</script>'),
296					array('<', '>', 'phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
297					$str);
316		// Replace our markers back to PHP tags.
317		return str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
318					array('&lt;?', '?&gt;', '&lt;%', '%&gt;', '\\', '&lt;/script&gt;'),
class.tx_t3consultancies_pi1.php https://github.com/michael-cannon/typo3-extensions.git | PHP | 1,715 lines
1<?php
2/***************************************************************
30 * @author Michael Cannon <michael@peimic.com>
31 * @version $Id: class.tx_t3consultancies_pi1.php,v 1.1.1.1 2010/04/15 10:04:06 peimic.comprock Exp $
32 */
34
35require_once(PATH_tslib."class.tslib_pibase.php");
36
38	var $prefixId = "tx_t3consultancies_pi1";		// Same as class name
39	var $scriptRelPath = "pi1/class.tx_t3consultancies_pi1.php";	// Path to this script relative to the extension dir.
40	var $extKey = "t3consultancies";	// The extension key.
406			// Begin Query:
407		$query="FROM ".$table.",".$cat_table.",".$mm_table.chr(10).
408				" WHERE ".$table.".uid=".$mm_table.".uid_local AND ".$cat_table.".uid=".$mm_table.".uid_foreign ".chr(10).
408				" WHERE ".$table.".uid=".$mm_table.".uid_local AND ".$cat_table.".uid=".$mm_table.".uid_foreign ".chr(10).
409				" AND ".$table.".pid IN (".$pidList.")".chr(10).
410				$this->cObj->enableFields($cat_table).
ConverterTest.php https://github.com/FabienD/Pomm.git | PHP | 812 lines
1<?php
2
11
12class ConverterTest extends \PHPUnit_Framework_TestCase
13{
66        $this->assertEquals(1, $entity['id'], "PHP int 1 <=> PG int 1");
67        $this->assertEquals(12.345, $entity['fixed'], "PHP 12.345 <=> PG 12.345 numeric");
68        $this->assertEquals(0.000001, $entity['fl'], "PHP 0.000001 <=> PG 1e-6");
76        $this->assertEquals(0.000, $entity['fixed'], "PHP 0.0001 <=> PG 0.000 numeric");
77        $this->assertEquals(1000000, $entity['fl'], "PHP 1000000.000001 <=> PG 1e+6");
78        $this->assertEquals(array(1.0, 1.1, null, 1.3), $entity['arr_fl'], "Float array preserves null.");
190     * pg bytea escaping with PHP :
191     * https://bugs.php.net/bug.php?id=59831&thanks=6
192     *
204        $entity = static::$cv_map->findAll()->current();
205        $binary = chr(0).chr(27).chr(92).chr(39).chr(32).chr(13);
206        $base64 = <<<_
GIF.class.php https://github.com/huangshan/yuqing.git | PHP | 571 lines
1<?php
2// +----------------------------------------------------------------------
87::
88::	This class is a rewritten 'GifMerge.class.php' version.
89::
102::
103::  http://gifs.hu/phpclasses/demos/GifBuilder/
104::
217		$Locals_ext = "!\xF9\x04" . chr ( ( $this->DIS << 2 ) + 0 ) .
218						chr ( ( $d >> 0 ) & 0xFF ) . chr ( ( $d >> 8 ) & 0xFF ) . "\x0\x0";
219
227					$Locals_ext = "!\xF9\x04" . chr ( ( $this->DIS << 2 ) + 1 ) .
228									chr ( ( $d >> 0 ) & 0xFF ) . chr ( ( $d >> 8 ) & 0xFF ) . chr ( $j ) . "\x0";
229					break;
307
308		return ( chr ( $int & 0xFF ) . chr ( ( $int >> 8 ) & 0xFF ) );
309	}
formatting.php https://github.com/dipakdotyadav/WordPress.git | PHP | 3,390 lines
771		chr(225).chr(187).chr(164) => 'U', chr(225).chr(187).chr(165) => 'u',
772		chr(225).chr(187).chr(176) => 'U', chr(225).chr(187).chr(177) => 'u',
773		chr(225).chr(187).chr(180) => 'Y', chr(225).chr(187).chr(181) => 'y',
807			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
808			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
809			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
810			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
811			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
812			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
813			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
814			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
819		$string = strtr($string, $chars['in'], $chars['out']);
820		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
821		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
text_helper.php https://github.com/CodeIgniter-TW/Web.git | PHP | 533 lines
1<?php
2/**
202				{
203					$out .= chr(192 + (($digits - ($digits % 64)) / 64)).chr(128 + ($digits % 64));
204				}
206				{
207					$out .= chr(224 + (($digits - ($digits % 4096)) / 4096))
208						.chr(128 + ((($digits % 4096) - ($digits % 64)) / 64))
208						.chr(128 + ((($digits % 4096) - ($digits % 64)) / 64))
209						.chr(128 + ($digits % 64));
210				}
295		$str = str_replace(array('&lt;', '&gt;', '<?', '?>', '<%', '%>', '\\', '</script>'),
296					array('<', '>', 'phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
297					$str);
316		// Replace our markers back to PHP tags.
317		return str_replace(array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
318					array('&lt;?', '?&gt;', '&lt;%', '%&gt;', '\\', '&lt;/script&gt;'),
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21