PageRenderTime 23ms queryFilters 19ms Sphinxql 80ms app.CodeModel.GetByIds 87ms findMatchingLines 41ms GetByIds 128ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 3ms

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

Source

Language

Repository

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)) {
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'])
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') ) {
String.php https://bitbucket.org/astahiam/penduduk.git | PHP | 777 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
516	 * Assumes Big-Endian byte order if no BOM is available.
517	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
518	 * and $bom_be parameter added.
668	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
669	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
670	 *
700	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
701	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
702	 *
732	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
733	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
734	 *
ASN1.php https://bitbucket.org/Kamor/nexway.git | PHP | 1,352 lines
1<?php
2
3/**
4 * Pure-PHP ASN.1 Parser
5 *
5 *
6 * PHP versions 4 and 5
7 *
35 * @package   File_ASN1
36 * @author    Jim Wigginton <terrafrost@php.net>
37 * @copyright MMXII Jim Wigginton
38 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
39 * @link      http://phpseclib.sourceforge.net
40 */
113 * @package File_ASN1
114 * @author  Jim Wigginton <terrafrost@php.net>
115 * @access  public
barcodes.php https://bitbucket.org/meerdevelopersoffice/bolivia.git | PHP | 809 lines
261			chr(0) => '%U', chr(1) => '$A', chr(2) => '$B', chr(3) => '$C',
262			chr(4) => '$D', chr(5) => '$E', chr(6) => '$F', chr(7) => '$G',
263			chr(8) => '$H', chr(9) => '$I', chr(10) => '$J', chr(11) => 'ŁK',
264			chr(12) => '$L', chr(13) => '$M', chr(14) => '$N', chr(15) => '$O',
265			chr(16) => '$P', chr(17) => '$Q', chr(18) => '$R', chr(19) => '$S',
266			chr(20) => '$T', chr(21) => '$U', chr(22) => '$V', chr(23) => '$W',
289			chr(112) => '+P', chr(113) => '+Q', chr(114) => '+R', chr(115) => '+S',
290			chr(116) => '+T', chr(117) => '+U', chr(118) => '+V', chr(119) => '+W',
291			chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
291			chr(120) => '+X', chr(121) => '+Y', chr(122) => '+Z', chr(123) => '%P',
292			chr(124) => '%Q', chr(125) => '%R', chr(126) => '%S', chr(127) => '%T');
293		$code_ext = '';
544		// add start, check and stop codes
545		$code = chr($startid).$code.chr($check).chr(106).chr(107);
546		$bararray = array("code" => $code, "maxw" => 0, "maxh" => 1, "bcode" => array());
edit_firmante.php https://github.com/ejgallegos/tgpcuentas.git | PHP | 297 lines
196
197              <div class="panel-footer"><?php include ("partes/footer.php");?></div>  
198
240                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
241                echo chr(13).chr(10);
242                $cont++;
246                $varaux=$sector[$i]['cod_saf'];
247                echo "var ".$sector[$i]['cod_saf']."=new Array()".chr(13).chr(10);
248                $cont=0;
249                                  //MENSAJE DESPUES DE SELECCIONAR SELECT
250                //echo $sector[$i]['cod_saf']."[$cont] = new slctr('Seleccione Sector','d00')".chr(13).chr(10);
251                //$cont++;
252                echo $sector[$i]['cod_saf']."[$cont] = new slctr('".trim($sector[$i]['sector'])."','".$sector[$i]['id']."')";
253                echo chr(13).chr(10);
254                $cont++;
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', 
ASN1.php https://github.com/AmaniYunge/greenWeb.git | PHP | 1,320 lines
1<?php
2
3/**
4 * Pure-PHP ASN.1 Parser
5 *
5 *
6 * PHP versions 4 and 5
7 *
35 * @package   File_ASN1
36 * @author    Jim Wigginton <terrafrost@php.net>
37 * @copyright MMXII Jim Wigginton
38 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
39 * @link      http://phpseclib.sourceforge.net
40 */
113 * @package File_ASN1
114 * @author  Jim Wigginton <terrafrost@php.net>
115 * @version 0.3.0
Hostname.php https://github.com/CodeYellowBV/piwik.git | PHP | 785 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Hostname.php 24307 2011-07-30 02:13:14Z adamlundrigan $
20 */
24 */
25// require_once 'Zend/Validate/Abstract.php';
26
29 */
30// require_once 'Zend/Validate/Ip.php';
31
35 *
36 * The first is tests/Zend/Validate/HostnameTestStandalone.php which is designed to be run on
37 * the command line.
38 *
39 * The second is tests/Zend/Validate/HostnameTestForm.php which is designed to be run via HTML
40 * to allow users to test entering UTF-8 characters in a form.
ASN1.php https://github.com/KenjiOhtsuka/core.git | PHP | 1,341 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
3
4namespace PHPSecLib;
5
6/**
7 * Pure-PHP ASN.1 Parser
8 *
8 *
9 * PHP versions 4 and 5
10 *
38 * @package   File_ASN1
39 * @author    Jim Wigginton <terrafrost@php.net>
40 * @copyright MMXII Jim Wigginton
41 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
42 * @link      http://phpseclib.sourceforge.net
43 */
consolidate.php https://github.com/CasperGemini/e107.git | PHP | 401 lines
1<?php
2/*
31$ifileprev 		= "logi_".$yesterday.".php";
32$ifile 			= "logi_".$date.".php";
33
269
270$data = $dailytotal.chr(1).$uniquetotal.chr(1) . $data;
271$sql->insert("logstats", "0, '$date2', '".$tp -> toDB($data, true)."'");
276{
277	$data = chr(60)."?php\n". chr(47)."* e107 website system: Log file: ".date("z:Y", time())." *". chr(47)."\n\n\n\n".chr(47)."* THE INFORMATION IN THIS LOG FILE HAS BEEN CONSOLIDATED INTO THE DATABASE - YOU CAN SAFELY DELETE IT. *". chr(47)."\n\n\n?".  chr(62);
278	if ($handle = fopen($pathtologs.$pfileprev, 'w')) { 
284{
285	$data = chr(60)."?php\n". chr(47)."* e107 website system: Log file: ".date("z:Y", time())." *". chr(47)."\n\n\n\n".chr(47)."* THE INFORMATION IN THIS LOG INFO FILE HAS BEEN CONSOLIDATED INTO THE DATABASE - YOU CAN SAFELY DELETE IT. *". chr(47)."\n\n\n?".  chr(62);
286	if ($handle = fopen($pathtologs.$ifileprev, 'w')) { 
309
310	$data = chr(60)."?php\n". chr(47)."* e107 website system: Log file: ".date("z:Y", time())." *". chr(47)."\n\n".
311	$varStart."refererData = ".$quote.$quote.";\n".
ASN1.php https://github.com/dsawardekar/worker.git | PHP | 1,301 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP ASN.1 Parser
6 * PHP versions 4 and 5
29 * @package    File_ASN1
30 * @author     Jim Wigginton <terrafrost@php.net>
31 * @copyright  MMXII Jim Wigginton
32 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
33 * @link       http://phpseclib.sourceforge.net
34 */
104 *
105 * @author  Jim Wigginton <terrafrost@php.net>
106 * @version 0.3.0
134/**
135 * Pure-PHP ASN.1 Parser
136 *
String.php https://github.com/RobPfis07/generatedata.git | PHP | 731 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
func.inc.php https://github.com/prologos/xe-core.git | PHP | 1,621 lines
813		{
814			$firephp = FirePHP::getInstance(TRUE);
815		}
862			else $print[] = $type . '(' . var_export($debug_output, TRUE) . ')';
863			$print[] = PHP_EOL.PHP_EOL;
864		}
1298	{
1299		return chr(($num >> 6) + 192) . chr(($num & 63) + 128);
1300	}
1302	{
1303		return chr(($num >> 12) + 224) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1304	}
1306	{
1307		return chr(($num >> 18) + 240) . chr((($num >> 12) & 63) + 128) . chr((($num >> 6) & 63) + 128) . chr(($num & 63) + 128);
1308	}
kickstart.php https://github.com/finchiefin/olympian.git | PHP | 9,573 lines
61
62//This file should be located in the same directory as php.exe or php5isapi.dll
63
793	                                // single, escaped unicode character
794	                                $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2)))
795	                                       . chr(hexdec(substr($chrs, ($c + 4), 2)));
7954
7955	        if (this.php_js.ini['phpjs.objectsAsArrays'] &&  // Strict checking for being a JavaScript array (only check this way if call ini_set('phpjs.objectsAsArrays', 0) to disallow objects as arrays)
7956	            (
7958	                    this.php_js.ini['phpjs.objectsAsArrays'].local_value.toLowerCase() === 'off') ||
7959	                parseInt(this.php_js.ini['phpjs.objectsAsArrays'].local_value, 10) === 0)
7960	            ) {
8358		// BEGIN REDUNDANT
8359		this.php_js = this.php_js || {};
8360		this.php_js.ENV = this.php_js.ENV || {};
manager.encoding.php https://github.com/williamjmendoza/sigecost.git | PHP | 297 lines
4require_once(HTML2PS_DIR.'encoding.entities.inc.php');
5require_once(HTML2PS_DIR.'encoding.glyphs.inc.php');
6require_once(HTML2PS_DIR.'encoding.iso-8859-1.inc.php');
6require_once(HTML2PS_DIR.'encoding.iso-8859-1.inc.php');
7require_once(HTML2PS_DIR.'encoding.iso-8859-2.inc.php');
8require_once(HTML2PS_DIR.'encoding.iso-8859-3.inc.php');
17require_once(HTML2PS_DIR.'encoding.iso-8859-13.inc.php');
18require_once(HTML2PS_DIR.'encoding.iso-8859-14.inc.php');
19require_once(HTML2PS_DIR.'encoding.iso-8859-15.inc.php');
209      // ! Note the order of array checking; optimizing interpreters may break this
210      if (isset($vector[chr($i)]) && isset($GLOBALS['g_unicode_glyphs'][$vector[chr($i)]])) {
211        $result .= " /".$GLOBALS['g_unicode_glyphs'][$vector[chr($i)]];
246    for ($i = 0; $i <= 32; $i++) {
247      $initial_vector[chr($i)] = chr($i);
248    };
lagerstatus.php https://github.com/nielsrune/saldi.git | PHP | 194 lines
35include("../includes/connect.php");
36include("../includes/online.php");
37include("../includes/std_func.php");
38
39# if ($popup) $returside="../includes/luk.php";
40# else $returside="rapport.php";
49	setcookie("saldi_lagerstatus", $varegruppe);
50	$returside="rapport.php?varegruppe=$varegruppe";
51}
124	$fp=fopen("../temp/$db/lagerstatus.csv","w");
125	fwrite($fp,"Varenr".chr(9)."Enhed".chr(9)."Beskrivelse".chr(9)."Købt".chr(9)."Solgt".chr(9)."Antal".chr(9)."Købspris".chr(9)."Kostpris".chr(9)."Salgspris\n");
126}
176		<td align=right>".dkdecimal($salgspris[$x]*$batch_t_antal[$x])."<br></td></tr>";
177		if ($csv) fwrite($fp,"$varenr[$x]".chr(9)."$enhed[$x]".chr(9)."$beskrivelse[$x]".chr(9)."$batch_k_antal[$x]".chr(9)."$batch_s_antal[$x]".chr(9).$batch_t_antal[$x].chr(9).dkdecimal($batch_pris[$x]).chr(9).dkdecimal($kostpris[$x]*$batch_t_antal[$x]).chr(9).dkdecimal($salgspris[$x]*$batch_t_antal[$x])."\n");
178		$lagervalue=$lagervalue+$batch_pris[$x];$kostvalue=$kostvalue+$kostpris[$x]*$batch_t_antal[$x]; $salgsvalue=$salgsvalue+($salgspris[$x]*$batch_t_antal[$x]);
Installer.php https://github.com/spenser-roark/OOUG-Wiki.git | PHP | 1,594 lines
386	public function doEnvironmentChecks() {
387		$phpVersion = phpversion();
388		if( version_compare( $phpVersion, self::MINIMUM_PHP_VERSION, '>=' ) ) {
391		} else {
392			$this->showMessage( 'config-env-php-toolow', $phpVersion, self::MINIMUM_PHP_VERSION );
393			$good = false;
1028		} elseif ($c <= 0xFFFF) {
1029			return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F)
1030				. chr(0x80 | $c & 0x3F);
1031		} elseif ($c <= 0x10FFFF) {
1032			return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F)
1033				. chr(0x80 | $c >> 6 & 0x3F)
1176				"<?php echo 'ex' . 'ec';",
1177				"#!/var/env php5\n<?php echo 'ex' . 'ec';",
1178			),
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21