PageRenderTime 41ms queryFilters 40ms Sphinxql 241ms GetByIds 445ms meta 0ms repositoryFilters 1ms languageFilters 0ms sourceFilters 17ms

22,910 results for 'php array_unique repo:ptheg/symfony' (41 ms)

Source

Language

Repository

smarty_internal_configfileparser.php http://acp3.googlecode.com/svn/trunk/ | PHP | 921 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
179    }
180#line 173 "smarty_internal_configfileparser.php"
181
294    {
295        self::$yyTraceFILE = fopen('php://output', 'w');
296        self::$yyTracePrompt = '<br>';
405                        // so give up
406                        return array_unique($expected);
407                    }
418                            $this->yystack = $stack;
419                            return array_unique($expected);
420                        }
smarty_internal_configfileparser.php http://webpagetest.googlecode.com/svn/trunk/ | PHP | 872 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
181    }
182#line 175 "smarty_internal_configfileparser.php"
183
289    {
290        self::$yyTraceFILE = fopen('php://output', 'w');
291        self::$yyTracePrompt = '<br>';
398                        // so give up
399                        return array_unique($expected);
400                    }
411                            $this->yystack = $stack;
412                            return array_unique($expected);
413                        }
Loader.php git://github.com/daylightstudio/FUEL-CMS.git | PHP | 1,415 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
298			$app_path = APPPATH.'core'.DIRECTORY_SEPARATOR;
299			if (file_exists($app_path.'Model.php'))
300			{
300			{
301				require_once($app_path.'Model.php');
302				if ( ! class_exists('CI_Model', FALSE))
303				{
304					throw new RuntimeException($app_path."Model.php exists, but doesn't declare class CI_Model");
305				}
310			{
311				require_once(BASEPATH.'core'.DIRECTORY_SEPARATOR.'Model.php');
312			}
Loader.php https://bitbucket.org/ellislab/codeigniter-reactor/ | PHP | 1,147 lines
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
200		{
201			if ( ! file_exists($mod_path.'models/'.$path.$model.'.php'))
202			{
220
221			require_once($mod_path.'models/'.$path.$model.'.php');
222
255
256		require_once(BASEPATH.'database/DB.php');
257
290
291		require_once(BASEPATH.'database/DB_utility.php');
292		require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility.php');
Loader.php git://github.com/EllisLab/CodeIgniter.git | PHP | 1,405 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
298			$app_path = APPPATH.'core'.DIRECTORY_SEPARATOR;
299			if (file_exists($app_path.'Model.php'))
300			{
300			{
301				require_once($app_path.'Model.php');
302				if ( ! class_exists('CI_Model', FALSE))
303				{
304					throw new RuntimeException($app_path."Model.php exists, but doesn't declare class CI_Model");
305				}
310			{
311				require_once(BASEPATH.'core'.DIRECTORY_SEPARATOR.'Model.php');
312			}
VTQL_Parser.php https://code.google.com/p/vtiger-ru-fork/ | PHP | 1,657 lines
1<?php
2/* Driver template for the PHP_VTQL_ParserrGenerator parser generator. (PHP port of LEMON)
3*/
99#line 451 "e:\workspace\nonadmin\pkg\vtiger\extensions\Webservices\VTQL_parser.y"
100class VTQL_Parser#line 102 "e:\workspace\nonadmin\pkg\vtiger\extensions\Webservices\VTQL_parser.php"
101{
355}
356#line 359 "e:\workspace\nonadmin\pkg\vtiger\extensions\Webservices\VTQL_parser.php"
357
609    /**
610     * Output debug information to output (php://output stream)
611     */
613    {
614        self::$yyTraceFILE = fopen('php://output', 'w');
615        self::$yyTracePrompt = '';
view.php git://github.com/concrete5/concrete5.git | PHP | 906 lines
126			$items = array_merge($a1, $a2, $a3);
127			if (version_compare(PHP_VERSION, '5.2.9', '<')) {
128				$items = array_unique($items);
129			} else {
130				// stupid PHP
131				$items = array_unique($items, SORT_STRING);
142			$items = array_merge($a1, $a2, $a3, $a4);
143			if (version_compare(PHP_VERSION, '5.2.9', '<')) {
144				$items = array_unique($items);
145			} else {
146				// stupid PHP
147				$items = array_unique($items, SORT_STRING);
864				} else {
865					throw new Exception(t('File %s not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.', $this->theme));
866				}
smarty_internal_configfileparser.php http://thinkphp.googlecode.com/svn/trunk/ | PHP | 928 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
179    }
180#line 173 "smarty_internal_configfileparser.php"
181
293    {
294        self::$yyTraceFILE = fopen('php://output', 'w');
295        self::$yyTracePrompt = '<br>';
405                        // so give up
406                        return array_unique($expected);
407                    }
418                            $this->yystack = $stack;
419                            return array_unique($expected);
420                        }
functions_admin.php http://pbb-png1.googlecode.com/svn/trunk/ | PHP | 3,060 lines
632{
633	global $db, $config, $phpbb_root_path, $phpEx;
634
742
743	if (!file_exists($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx))
744	{
747
748	include_once("{$phpbb_root_path}includes/search/$search_type.$phpEx");
749
881	{
882		if (phpbb_unlink($file_ary['filename'], 'file', true) && !$file_ary['is_orphan'])
883		{
2158{
2159	global $db, $cache, $auth, $phpbb_root_path, $phpEx;
2160
Loader.php git://github.com/squallstar/bancha.git | PHP | 1,260 lines
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
290		{
291			if ( ! file_exists($mod_path.'models/'.$path.$model.'.php'))
292			{
310
311			require_once($mod_path.'models/'.$path.$model.'.php');
312
345
346		require_once(BASEPATH.'database/DB.php');
347
380
381		require_once(BASEPATH.'database/DB_utility.php');
382		require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility.php');
Loader.php git://github.com/Farfar/XBMC-Database-Manager.git | PHP | 1,247 lines
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
278		{
279			if ( ! file_exists($mod_path.'models/'.$path.$model.'.php'))
280			{
298
299			require_once($mod_path.'models/'.$path.$model.'.php');
300
332		
333		require_once(BASEPATH.'database/DB.php');
334
367
368		require_once(BASEPATH.'database/DB_utility.php');
369		require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility.php');
Loader.php git://github.com/imagecms/ImageCMS.git | PHP | 1,249 lines
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
2/**
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
279		{
280			if ( ! file_exists($mod_path.'models/'.$path.$model.'.php'))
281			{
299
300			require_once($mod_path.'models/'.$path.$model.'.php');
301
334
335		require_once(BASEPATH.'database/DB.php');
336
369
370		require_once(BASEPATH.'database/DB_utility.php');
371		require_once(BASEPATH.'database/drivers/'.$CI->db->dbdriver.'/'.$CI->db->dbdriver.'_utility.php');
smarty_internal_configfileparser.php git://github.com/ngduc/Thin-PHP-Framework.git | PHP | 870 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
180    }
181#line 174 "smarty_internal_configfileparser.php"
182
288    {
289        self::$yyTraceFILE = fopen('php://output', 'w');
290        self::$yyTracePrompt = '<br>';
397                        // so give up
398                        return array_unique($expected);
399                    }
410                            $this->yystack = $stack;
411                            return array_unique($expected);
412                        }
smarty_internal_configfileparser.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 870 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
180    }
181#line 174 "smarty_internal_configfileparser.php"
182
288    {
289        self::$yyTraceFILE = fopen('php://output', 'w');
290        self::$yyTracePrompt = '<br>';
397                        // so give up
398                        return array_unique($expected);
399                    }
410                            $this->yystack = $stack;
411                            return array_unique($expected);
412                        }
smarty_internal_configfileparser.php git://github.com/jasonhinkle/phreeze.git | PHP | 927 lines
1<?php
2/**
87#line 12 "smarty_internal_configfileparser.y"
88class Smarty_Internal_Configfileparser#line 80 "smarty_internal_configfileparser.php"
89{
180    }
181#line 174 "smarty_internal_configfileparser.php"
182
295    {
296        $this->yyTraceFILE = fopen('php://output', 'w');
297        $this->yyTracePrompt = '<br>';
407                        // so give up
408                        return array_unique($expected);
409                    }
421
422                            return array_unique($expected);
423                        }
Loader.php git://github.com/claudehohl/Stikked.git | PHP | 1,415 lines
1<?php
2/**
4 *
5 * An open source application development framework for PHP
6 *
298			$app_path = APPPATH.'core'.DIRECTORY_SEPARATOR;
299			if (file_exists($app_path.'Model.php'))
300			{
300			{
301				require_once($app_path.'Model.php');
302				if ( ! class_exists('CI_Model', FALSE))
303				{
304					throw new RuntimeException($app_path."Model.php exists, but doesn't declare class CI_Model");
305				}
310			{
311				require_once(BASEPATH.'core'.DIRECTORY_SEPARATOR.'Model.php');
312			}
smarty_internal_configfileparser.php git://github.com/MrAnchovy/Kohana_Smarty3.git | PHP | 927 lines
1<?php
2/**
87#line 12 "smarty_internal_configfileparser.y"
88class Smarty_Internal_Configfileparser#line 80 "smarty_internal_configfileparser.php"
89{
180    }
181#line 174 "smarty_internal_configfileparser.php"
182
295    {
296        $this->yyTraceFILE = fopen('php://output', 'w');
297        $this->yyTracePrompt = '<br>';
407                        // so give up
408                        return array_unique($expected);
409                    }
421
422                            return array_unique($expected);
423                        }
smarty_internal_configfileparser.php git://github.com/tedkulp/silk.git | PHP | 870 lines
1<?php
2/**
86#line 12 "smarty_internal_configfileparser.y"
87class Smarty_Internal_Configfileparser#line 79 "smarty_internal_configfileparser.php"
88{
180    }
181#line 174 "smarty_internal_configfileparser.php"
182
288    {
289        self::$yyTraceFILE = fopen('php://output', 'w');
290        self::$yyTracePrompt = '<br>';
397                        // so give up
398                        return array_unique($expected);
399                    }
410                            $this->yystack = $stack;
411                            return array_unique($expected);
412                        }
parser.inc.php git://github.com/unpush/p2-php.git | PHP | 526 lines
1<?php
2/**
5
6require_once P2EX_LIB_DIR . '/rss/common.inc.php';
7require_once 'XML/RSS.php';
15    if (!class_exists('IC2_Switch', false)) {
16        require P2EX_LIB_DIR . '/ic2/Switch.php';
17    }
19        if (!function_exists('rss_get_image')) {
20            require P2EX_LIB_DIR . '/rss/getimage.inc.php';
21        }
98        } else {
99            P2Util::pushInfoHtml('<p>p2 error: Atom�t�B�[�h���ǂނɂ�PHP��XSL�@�\�g�����K�v�ł��B</p>');
100            $retval = false;
124    // ���͑Ώۂ̃^�O���㏑��
125    $rss->channelTags = array_unique(array_merge($rss->channelTags, array (
126        'CATEGORY', 'CLOUD', 'COPYRIGHT', 'DESCRIPTION', 'DOCS', 'GENERATOR', 'IMAGE',
ProtoParser.php git://pkgs.fedoraproject.org/php-pear-CodeGen-PECL | PHP | 1,364 lines
1<?php
2/* Driver template for the PHP_CodeGen_PECL_Tools_ProtoParser_rGenerator parser generator. (PHP port of LEMON)
3*/
99#line 2 "ProtoParser.y"
100class CodeGen_PECL_Tools_ProtoParser#line 102 "ProtoParser.php"
101{
115  }
116#line 119 "ProtoParser.php"
117
378    /**
379     * Output debug information to output (php://output stream)
380     */
382    {
383        self::$yyTraceFILE = fopen('php://output', 'w');
384        self::$yyTracePrompt = '';
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21