PageRenderTime 225ms queryFilters 3ms Sphinxql 44ms app.CodeModel.GetByIds 74ms findMatchingLines 59ms GetByIds 133ms meta 0ms repositoryFilters 5ms languageFilters 0ms sourceFilters 3ms

21,207 results for 'php chr repo:aoseala/yii-bootstrap' (225 ms)

Source

Language

Repository

GATKRecalibrationAndVariantCalling_1.3.16.ftl https://github.com/lazycrazyowl/seqware.git | Unknown | 1,245 lines
596      -knownSites ${gatk_dbsnp_vcf}
597<#list chr_sizes?split(",") as chr_size>
598  <#assign chrArr = chr_size?split(":")/>
1002      ${workflow_bundle_dir}/${workflow_name}/bin/sw_module_merge_GATK_VCF.pl
1003<#list chr_sizes?split(",") as chr_size>
1004  <#assign chrArr = chr_size?split(":")/>
1004  <#assign chrArr = chr_size?split(":")/>
1005  <#assign chr = chrArr[0]/>
1006  <#assign size = chrArr[1]?number/>
1165  </child>
1166<#list chr_sizes?split(",") as chr_size>
1167  <child ref="ID20.${chr_size_index}">
1172
1173<#list chr_sizes?split(",") as chr_size>
1174  <child ref="ID30.${chr_size_index}">
wp-functions.php https://github.com/micz/elencode.git | PHP | 1,455 lines
504		$chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158)
505			.chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
506			.chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
507			.chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
508			.chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
509			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
509			.chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
510			.chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
511			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
511			.chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
512			.chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
513			.chr(252).chr(253).chr(255);
517		$string = strtr($string, $chars['in'], $chars['out']);
518		$double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
519		$double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
IDS.pm https://github.com/gitpan/CGI-IDS.git | Perl | 2,104 lines
12# DESCRIPTION
13#   Website Intrusion Detection System based on PHPIDS https://phpids.org rev. 1409
14# AUTHOR
781            my @matches = ();
782            # PHP to Perl note: additional parenthesis around RegEx for getting PHP's $matches[0]
783            if (preg_match_all(qr/(\d*[+-\/\* ]\d+)/, $char, \@matches)) {
1013    my @search  = (
1014        chr(0), chr(1), chr(2), chr(3), chr(4), chr(5),
1015        chr(6), chr(7), chr(8), chr(11), chr(12), chr(14),
1015        chr(6), chr(7), chr(8), chr(11), chr(12), chr(14),
1016        chr(15), chr(16), chr(17), chr(18), chr(19), chr(24),
1017        chr(25), chr(192), chr(193), chr(238), chr(255)
1160    # \\u instead of PHP's \\\u
1161    # PHP to Perl note: additional parenthesis around RegEx for getting PHP's $matches[0]
1162    preg_match_all(qr/(\\u[0-9a-f]{4})/ims, $value, \@matches);
lib.php https://github.com/mirabalj/yekuana.git | PHP | 848 lines
812    chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
813    chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
814    chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
833    chr(197).chr(176) => 'U', chr(197).chr(177) => 'u',
834    chr(197).chr(178) => 'U', chr(197).chr(179) => 'u',
835    chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
835    chr(197).chr(180) => 'W', chr(197).chr(181) => 'w',
836    chr(197).chr(182) => 'Y', chr(197).chr(183) => 'y',
837    chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
837    chr(197).chr(184) => 'Y', chr(197).chr(185) => 'Z',
838    chr(197).chr(186) => 'z', chr(197).chr(187) => 'Z',
839    chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
839    chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
840    chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
841    // Euro Sign
class.csv-to-api.php https://github.com/jmmnn/csv-to-api.git | PHP | 1,342 lines
1143        .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
1144        .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
1145        .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1145        .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1146        .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
1147        .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1147        .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1148        .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
1149        .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1149        .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1150        .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
1151        .chr(252).chr(253).chr(255);
1155      $string = strtr($string, $chars['in'], $chars['out']);
1156      $double_chars['in'] = array(chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254));
1157      $double_chars['out'] = array('OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th');
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&aelig;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&aelig;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 {
util.php https://github.com/ISVGitHub/bolt.git | PHP | 2,207 lines
1139                     .chr(159).chr(162).chr(165).chr(181).chr(192).chr(193).chr(194)
1140                     .chr(195).chr(196).chr(197).chr(199).chr(200).chr(201).chr(202)
1141                     .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1141                     .chr(203).chr(204).chr(205).chr(206).chr(207).chr(209).chr(210)
1142                     .chr(211).chr(212).chr(213).chr(214).chr(216).chr(217).chr(218)
1143                     .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1143                     .chr(219).chr(220).chr(221).chr(224).chr(225).chr(226).chr(227)
1144                     .chr(228).chr(229).chr(231).chr(232).chr(233).chr(234).chr(235)
1145                     .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1145                     .chr(236).chr(237).chr(238).chr(239).chr(241).chr(242).chr(243)
1146                     .chr(244).chr(245).chr(246).chr(248).chr(249).chr(250).chr(251)
1147                     .chr(252).chr(253).chr(255);
1151                $string = strtr( $string, $chars['in'], $chars['out'] );
1152                $double_chars['in'] = array( chr(140), chr(156), chr(198), chr(208), chr(222), chr(223), chr(230), chr(240), chr(254) );
1153                $double_chars['out'] = array( 'OE', 'oe', 'AE', 'DH', 'TH', 'ss', 'ae', 'dh', 'th' );
jsonrpc.inc.php https://github.com/usrio/php-mmcfe-ng.git | PHP | 1,584 lines
73			case 'ISO-8859-1_US-ASCII':
74				$escaped_data = str_replace(array('\\', '"', '/', "\t", "\n", "\r", chr(8), chr(11), chr(12)), array('\\\\', '\"', '\/', '\t', '\n', '\r', '\b', '\v', '\f'), $data);
75				$escaped_data = str_replace($GLOBALS['ecma262_iso88591_Entities']['in'], $GLOBALS['ecma262_iso88591_Entities']['out'], $escaped_data);
77			case 'ISO-8859-1_UTF-8':
78				$escaped_data = str_replace(array('\\', '"', '/', "\t", "\n", "\r", chr(8), chr(11), chr(12)), array('\\\\', '\"', '\/', '\t', '\n', '\r', '\b', '\v', '\f'), $data);
79				$escaped_data = utf8_encode($escaped_data);
86			case 'UTF-8_UTF-8':
87				$escaped_data = str_replace(array('\\', '"', '/', "\t", "\n", "\r", chr(8), chr(11), chr(12)), array('\\\\', '\"', '\/', '\t', '\n', '\r', '\b', '\v', '\f'), $data);
88				break;
347											{
348												$outdata .= chr(0xf0 | $ii >> 20) . chr(0x80 | ($ii >> 12 & 0x3f)) . chr(0x80 | ($ii >> 6 & 0x3f)) . chr(0x80 | ($ii & 0x3f));
349											}
379											{
380												$outdata .= chr(0xf0 | $ii >> 20) . chr(0x80 | ($ii >> 12 & 0x3f)) . chr(0x80 | ($ii >> 6 & 0x3f)) . chr(0x80 | ($ii & 0x3f));
381											}
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');
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')){
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') ) {
BigInteger.php https://github.com/floviolleau/Raspcontrol.git | PHP | 3,651 lines
552                    $temp = bcmod($current, '16777216');
553                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
554                    $current = bcdiv($current, '16777216', 0);
744     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
745     * 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
746     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2876        // generate as many leading 1's as we need to.
2877        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2878        $this->_base256_lshift($leading_ones, $current_bits);
2985            $precision = 8 * strlen($bits) - 8 + $i;
2986            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2987        }
3147
3148        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3149        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
BigInteger.php https://github.com/aet2505/osTicket-1.8.git | PHP | 3,651 lines
552                    $temp = bcmod($current, '16777216');
553                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
554                    $current = bcdiv($current, '16777216', 0);
744     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
745     * 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
746     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2876        // generate as many leading 1's as we need to.
2877        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2878        $this->_base256_lshift($leading_ones, $current_bits);
2985            $precision = 8 * strlen($bits) - 8 + $i;
2986            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2987        }
3147
3148        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3149        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
cmd.php https://github.com/dlimuratdj/kyphp2.0.git | PHP | 590 lines
349spl_autoload_register("__autoload");
350require_once(KYPHP_PATH.'kyclass/kyphp_base/Action.php');
351require_once(KYPHP_PATH.'kyclass/kyphp_base/Cache.php');
361require_once(KYPHP_PATH.'kyclass/kyphp_base/Pagination.php');
362require_once(KYPHP_PATH.'kyclass/kyphp_base/Request.php');
363require_once(KYPHP_PATH.'kyclass/kyphp_base/Response.php');
363require_once(KYPHP_PATH.'kyclass/kyphp_base/Response.php');
364require_once(KYPHP_PATH.'kyclass/kyphp_base/runtime.php');
365require_once(KYPHP_PATH.'kyclass/kyphp_base/Session.php');
365require_once(KYPHP_PATH.'kyclass/kyphp_base/Session.php');
366require_once(KYPHP_PATH.'kyclass/kyphp_base/templete.php');
367require_once(KYPHP_PATH.'kyclass/kyphp_base/Url.php');
577function is_utf8($liehuo_net){ 
578if(preg_match("/^([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){1}/",$liehuo_net) == true || preg_match("/([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){1}$/",$liehuo_net) == true || preg_match("/([".chr(228)."-".chr(233)."]{1}[".chr(128)."-".chr(191)."]{1}[".chr(128)."-".chr(191)."]{1}){2,}/",$liehuo_net) == true) 
579{ 
getid3.lib.php https://github.com/jezard/susiesummers.git | PHP | 1,341 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)) {
664			$newcharstring  = chr(($charval >>   6) | 0xC0);
665			$newcharstring .= chr(($charval & 0x3F) | 0x80);
666		} elseif ($charval < 65536) {
1321		if (GETID3_OS_ISWINDOWS) {
1322			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:
1323				$filesystem = new COM('Scripting.FileSystemObject');
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){
BigInteger.php https://github.com/tjworks/mongoing.git | PHP | 3,682 lines
552                    $temp = bcmod($current, '16777216');
553                    $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
554                    $current = bcdiv($current, '16777216', 0);
744     * Although you can call Math_BigInteger::__toString() directly in PHP5, you cannot call Math_BigInteger::__clone()
745     * 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
746     * only syntax of $y = clone $x.  As such, if you're trying to write an application that works on both PHP4 and PHP5,
2876        // generate as many leading 1's as we need to.
2877        $leading_ones = chr((1 << ($new_bits & 0x7)) - 1) . str_repeat(chr(0xFF), $new_bits >> 3);
2878        $this->_base256_lshift($leading_ones, $current_bits);
2985            $precision = 8 * strlen($bits) - 8 + $i;
2986            $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
2987        }
3177
3178        // gmp_nextprime() requires PHP 5 >= 5.2.0 per <http://php.net/gmp-nextprime>.
3179        if ( MATH_BIGINTEGER_MODE == MATH_BIGINTEGER_MODE_GMP && function_exists('gmp_nextprime') ) {
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");
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21