PageRenderTime 884ms queryTime 465ms sortTime 5ms getByIdsTime 63ms findMatchingLines 134ms

100+ results results for 'php array_unique repo:ajweaver/xmlgrab' (884 ms)

Not the results you expected?
Collection.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 411 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
289
                    
290        $productsId = array_unique($productsId);
                    
291
                    
                
AbstractFindAdapter.php https://gitlab.com/techniconline/kmc | PHP | 331 lines
                    
1<?php
                    
2
                    
63
                    
64        if (PHP_INT_MAX !== $this->maxDepth) {
                    
65            $find->add('-maxdepth')->add($this->maxDepth + 1);
                    
104
                    
105        $paths = $this->shell->testCommand('uniq') ? $command->add('| uniq')->execute() : array_unique($command->execute());
                    
106        $iterator = new Iterator\FilePathsIterator($paths, $dir);
                    
                
previewmanager.php https://gitlab.com/wuhang2003/core | PHP | 342 lines
                    
1<?php
                    
2/**
                    
239		}
                    
240		$this->defaultProviders = array_unique($this->defaultProviders);
                    
241		return $this->defaultProviders;
                    
                
PhpMatcherDumper.php https://gitlab.com/oytunistrator/92five | PHP | 378 lines
                    
17/**
                    
18 * PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.
                    
19 *
                    
23 */
                    
24class PhpMatcherDumper extends MatcherDumper
                    
25{
                    
26    /**
                    
27     * Dumps a set of routes to a PHP class.
                    
28     *
                    
35     *
                    
36     * @return string A PHP class representing the matcher class
                    
37     */
                    
82     *
                    
83     * @return string Match method as PHP code
                    
84     */
                    
                
check_configuration.php https://gitlab.com/klausmig/InformationRetrievalSystem | PHP | 106 lines
                    
51
                    
52echo sprintf("php.ini used by PHP: %s\n\n", get_ini_path());
                    
53
                    
56  echo "** WARNING **\n";
                    
57  echo "*  The PHP CLI can use a different php.ini file\n";
                    
58  echo "*  than the one used with your web server.\n";
                    
69echo "\n** Mandatory requirements **\n\n";
                    
70check(version_compare(phpversion(), '5.2.4', '>='), 'PHP version is at least 5.2.4', 'Current version is '.phpversion(), true);
                    
71
                    
95
                    
96check(!ini_get('short_open_tag'), 'php.ini has short_open_tag set to off', 'Set it to off in php.ini', false);
                    
97check(!ini_get('magic_quotes_gpc'), 'php.ini has magic_quotes_gpc set to off', 'Set it to off in php.ini', false);
                    
100
                    
101check(version_compare(phpversion(), '5.2.9', '!='), 'PHP version is not 5.2.9', 'PHP 5.2.9 broke array_unique() and sfToolkit::arrayDeepMerge(). Use 5.2.10 instead [Ticket #6211]', false);
                    
102
                    
                
class-wp-theme-install-list-table.php https://gitlab.com/Gashler/dp | PHP | 394 lines
                    
133			<div class="alignleft actions">
                    
134				<?php do_action( 'install_themes_table_header' ); ?>
                    
135			</div>
                    
151				?>
                    
152				<div class="available-theme installable-theme"><?php
                    
153					$this->single_row( $theme );
                    
226		?>
                    
227		<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
                    
228			<img src='<?php echo esc_url( $theme->screenshot_url ); ?>' width='150' />
                    
242
                    
243		<?php
                    
244		$this->install_theme_info( $theme );
                    
261					<a href="#" class="collapse-sidebar button-secondary" title="<?php esc_attr_e('Collapse Sidebar'); ?>">
                    
262						<span class="collapse-sidebar-label"><?php _e('Collapse'); ?></span>
                    
263						<span class="collapse-sidebar-arrow"></span>
                    
                
Index.php https://gitlab.com/billyprice1/bdApi | PHP | 120 lines
                    
1<?php
                    
2
                    
88        if (!empty($clientIds)) {
                    
89            $clientIds = array_unique($clientIds);
                    
90
                    
                
PwLikeService.php https://gitlab.com/wuhang2003/phpwind | PHP | 419 lines
                    
1<?php
                    
2/**
                    
3 * @author Foxsee@aliyun.com
                    
4 * @copyright ?2003-2103 phpwind.com
                    
5 * @license http://www.phpwind.com
                    
5 * @license http://www.phpwind.com
                    
6 * @version $Id: PwLikeService.php 20027 2012-10-22 11:49:23Z gao.wanggao $ 
                    
7 * @package 
                    
127 		$tagnames = array_filter(explode(' ', $tags));
                    
128 		$tagnames = array_unique($tagnames);
                    
129 		foreach ($tagnames AS $k=>$tag) {
                    
                
InlineServiceDefinitionsPass.php https://gitlab.com/cuza/Clinic_Recods | PHP | 141 lines
                    
1<?php
                    
2
                    
130
                    
131        if (count(array_unique($ids)) > 1) {
                    
132            return false;
                    
                
feed.php https://gitlab.com/gregtyka/app222 | PHP | 546 lines
                    
1<?php
                    
2/**
                    
319
                    
320	$cat_names = array_unique($cat_names);
                    
321
                    
443 *
                    
444 * @link http://www.atomenabled.org/developers/syndication/atom-format-spec.php#rfc.section.3.1
                    
445 *
                    
530function fetch_feed($url) {
                    
531	require_once (ABSPATH . WPINC . '/class-feed.php');
                    
532
                    
                
DefaultTableMapping.php https://gitlab.com/reasonat/test8 | PHP | 396 lines
                    
1<?php
                    
2
                    
95  public function getTableNames() {
                    
96    return array_unique(array_merge(array_keys($this->fieldNames), array_keys($this->extraColumns)));
                    
97  }
                    
                
weekly-mail.php https://gitlab.com/pankajmohale/chef2go | PHP | 283 lines
                    
1<?php
                    
2
                    
12	/** Set up WordPress environment */
                    
13	require_once( '/home/rgbastud/public_html/chefs2go/wp-load.php' );
                    
14}
                    
15
                    
16require('/home/rgbastud/public_html/chefs2go/wp-content/themes/chef2go/mpdf60/mpdf.php');
                    
17$timesheet_value = weekly_mail_timesheet_function(); 
                    
50			        			$author_id_array[] = $author_id;
                    
51			        			$author_unique_id_array = array_unique($author_id_array);
                    
52				        }
                    
250$fileName = 'weekly-timesheet.pdf';
                    
251$eol = PHP_EOL;
                    
252$separator = md5(time());
                    
                
Store.php https://gitlab.com/m12_team/m12 | PHP | 707 lines
                    
1<?php
                    
2
                    
492    {
                    
493        $values = array_unique(array_merge($this->get('flash.new', []), $keys));
                    
494
                    
                
BelongsTo.php https://gitlab.com/rocs/Streaming-Safe-for-Kids | PHP | 328 lines
                    
1<?php
                    
2
                    
180
                    
181        return array_values(array_unique($keys));
                    
182    }
                    
                
Relation.php https://gitlab.com/puntodos/ean-landings | PHP | 349 lines
                    
1<?php
                    
2
                    
187    {
                    
188        return array_unique(array_values(array_map(function ($value) use ($key) {
                    
189            return $key ? $value->getAttribute($key) : $value->getKey();
                    
                
CollectionConstraint.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 112 lines
                    
1<?php
                    
2
                    
40            }
                    
41            if (count(array_unique($unique)) != count($value)) {
                    
42                $this->addError($path, "There are no duplicates allowed in the array", 'uniqueItems');
                    
                
ContentsController.php https://gitlab.com/techniconline/kmc | PHP | 294 lines
                    
1<?php namespace App\Http\Controllers\backend;
                    
2
                    
142                $input['title_tags'] = CategoryHelper::createTags($input['link_title']);
                    
143                $input['tags_upd'] = array_unique(explode(",", $input['title_tags'] . ',' . $input['tags']));
                    
144                $input['tags'] = implode(",", $input['tags_upd']);
                    
226        $updateContent->sort = isset($input['sort']) && $input['sort'] ? $input['sort'] : 1;
                    
227        $input['tags_upd'] = array_unique(explode(",", $input['title_tags'] . ',' . $input['tags']));
                    
228
                    
                
class-wp-theme-install-list-table.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 472 lines
                    
1<?php
                    
2/**
                    
70
                    
71		/** This filter is documented in wp-admin/theme-install.php */
                    
72		$tabs = apply_filters( 'install_themes_tabs', $tabs );
                    
174			$class = ( $action === $tab ) ? ' class="current"' : '';
                    
175			$href = self_admin_url('theme-install.php?tab=' . $action);
                    
176			$display_tabs['theme-install-'.$action] = "<a href='$href'$class>$text</a>";
                    
189			<div class="alignleft actions">
                    
190				<?php
                    
191				/**
                    
303		?>
                    
304		<a class="screenshot install-theme-preview" href="<?php echo esc_url( $preview_url ); ?>" title="<?php echo esc_attr( $preview_title ); ?>">
                    
305			<img src="<?php echo esc_url( $theme->screenshot_url ); ?>" width="150" alt="" />
                    
319
                    
320		<?php
                    
321		$this->install_theme_info( $theme );
                    
                
Class.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 328 lines
                    
38 * @subpackage Util_Skeleton
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
41 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
42 * @link       http://www.phpunit.de/
                    
45
                    
46require_once ( PHPU_BASE_PATH . '/Text/Template.php' );
                    
47
                    
52 * @subpackage Util_Skeleton
                    
53 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
54 * @copyright  2002-2011 Sebastian Bergmann <sebastian@phpunit.de>
                    
59 */
                    
60class PHPUnit_Util_Skeleton_Class extends PHPUnit_Util_Skeleton
                    
61{
                    
                
Twig.php https://gitlab.com/sulistiana/web-profile-arsy | PHP | 238 lines
                    
1<?php
                    
2/**
                    
12
                    
13require_once APPPATH . 'third_party/Twig-1.24.1/lib/Twig/Autoloader.php';
                    
14Twig_Autoloader::register();
                    
55			$this->functions_asis =
                    
56				array_unique(
                    
57					array_merge($this->functions_asis, $params['functions'])
                    
62			$this->functions_safe =
                    
63				array_unique(
                    
64					array_merge($this->functions_safe, $params['functions_safe'])
                    
                
http.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 313 lines
                    
1<?php
                    
2/**
                    
216	if ( $url && !isset( $capabilities['ssl'] ) ) {
                    
217		$scheme = parse_url( $url, PHP_URL_SCHEME );
                    
218		if ( 'https' == $scheme || 'ssl' == $scheme ) {
                    
252	// @todo preserve port?
                    
253	$allowed_origins = array_unique( array(
                    
254		'http://' . $admin_origin[ 'host' ],
                    
                
class-wp-taxonomy.php https://gitlab.com/Fullerton/PolitePressCore | PHP | 453 lines
                    
1<?php
                    
2/**
                    
359
                    
360		$args['object_type'] = array_unique( (array) $object_type );
                    
361
                    
                
ticket_group_edit.php https://gitlab.com/alexprowars/bitrix | PHP | 299 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
3require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/support/prolog.php");
                    
15
                    
16$LIST_URL = '/bitrix/admin/ticket_group_list.php';
                    
17	
                    
50		$UIDS = array_map('intval', $_POST[$FMUTagName]['VALS']);
                    
51		$UIDS = array_unique($UIDS);
                    
52		$USERS = array();
                    
101			'CAN_MAIL_UPDATE_GROUP_MESSAGES' => $ar_ug['CAN_MAIL_UPDATE_GROUP_MESSAGES'],
                    
102			'USER_NAME' => '[<a title="'.GetMessage("MAIN_USER_PROFILE").'" href="user_edit.php?ID='.$ar_ug["USER_ID"].'&amp;lang='.LANG.'">'.$ar_ug["USER_ID"].'</a>] ('.$ar_ug["LOGIN"].') '.$ar_ug["FIRST_NAME"].' '.$ar_ug["LAST_NAME"],
                    
103		);
                    
120
                    
121require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_after.php");
                    
122
                    
                
Template.php https://gitlab.com/dcnf/dcbase.org | PHP | 424 lines
                    
1<?php
                    
2
                    
297
                    
298        return array_unique($names);
                    
299    }
                    
                
eventpergame.php https://gitlab.com/julienv/joomleague | PHP | 337 lines
                    
1<?php
                    
2/**
                    
3 * @copyright	Copyright (C) 2006-2014 joomleague.at. All rights reserved.
                    
4 * @license		GNU/GPL, see LICENSE.php
                    
5 * Joomla! is free software. This version may have been modified pursuant
                    
8 * other free or open source software licenses.
                    
9 * See COPYRIGHT.php for copyright notices and details.
                    
10 */
                    
14
                    
15require_once(JLG_PATH_ADMIN.DS.'statistics'.DS.'base.php');
                    
16
                    
78	/**
                    
79	 * (non-PHPdoc)
                    
80	 * @see administrator/components/com_joomleague/statistics/JLGStatistic#getPlayerStatsByProject($person_id, $project_id)
                    
104		$res = array();
                    
105		foreach (array_unique(array_merge(array_keys($num), array_keys($den))) as $person_id) 
                    
106		{
                    
                
BlockHelper.php https://gitlab.com/cuza/Clinic_Recods | PHP | 480 lines
                    
1<?php
                    
2
                    
67    /**
                    
68     * This property is a state variable holdings all assets used by the block for the current PHP request
                    
69     * It is used to correctly render the javascripts and stylesheets tags on the main layout.
                    
199        $this->assets = array(
                    
200            'js'  => array_unique(array_merge($assets['js'], $this->assets['js'])),
                    
201            'css' => array_unique(array_merge($assets['css'], $this->assets['css'])),
                    
                
ComposerInformation.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 379 lines
                    
101    /**
                    
102     * Retrieves required php version
                    
103     *
                    
106     */
                    
107    public function getRequiredPhpVersion()
                    
108    {
                    
110            $allPlatformReqs = $this->getLocker()->getPlatformRequirements(true);
                    
111            $requiredPhpVersion = $allPlatformReqs['php']->getPrettyConstraint();
                    
112        } else {
                    
118                    if ($packageName === 'magento/product-community-edition') {
                    
119                        $phpRequirementLink = $package->getRequires()['php'];
                    
120                        if ($phpRequirementLink instanceof Link) {
                    
120                        if ($phpRequirementLink instanceof Link) {
                    
121                            $requiredPhpVersion = $phpRequirementLink->getPrettyConstraint();
                    
122                        }
                    
                
Reader.php https://gitlab.com/cmtsheikeshadi/first_app_development_project | PHP | 350 lines
                    
1<?php
                    
2/**
                    
5* @license http://opensource.org/licenses/MIT
                    
6* @link https://github.com/thephpleague/csv/
                    
7* @version 8.1.0
                    
216    /**
                    
217     * Return the key/pairs as a PHP generator
                    
218     *
                    
303    {
                    
304        if (empty($keys) || $keys !== array_unique(array_filter($keys, [$this, 'isValidKey']))) {
                    
305            throw new InvalidArgumentException('Use a flat array with unique string values');
                    
                
meta-box-saves.inc.php https://gitlab.com/Gashler/dp | PHP | 148 lines
                    
1<?php
                    
2/**
                    
59															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
60																$pages[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_pages"]));
                    
61
                    
62															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
63																$posts[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_posts"]));
                    
64
                    
88															for ($n = 0; $n <= $GLOBALS["WS_PLUGIN__"]["s2member"]["c"]["levels"]; $n++)
                    
89																$posts[$n] = array_unique (preg_split ("/[\r\n\t\s;,]+/", $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["level" . $n . "_posts"]));
                    
90
                    
                
wpml-post-translation.class.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 367 lines
                    
1<?php
                    
2require ICL_PLUGIN_PATH . '/inc/post-translation/wpml-post-duplication.class.php';
                    
2require ICL_PLUGIN_PATH . '/inc/post-translation/wpml-post-duplication.class.php';
                    
3require 'wpml-post-synchronization.class.php';
                    
4require_once 'wpml-wordpress-actions.class.php';
                    
72					update_option( 'sticky_posts',
                    
73					               array_values( array_unique( array_filter( array_merge( $posts, $unfiltered ) ) ) ) );
                    
74				}
                    
82			}
                    
83			$posts = array_values( array_unique( array_filter( $posts ) ) );
                    
84		}
                    
100	public function pre_update_option_sticky_posts( $posts ) {
                    
101		$updated_sticky_list         = array_values( array_unique( array_filter( array_merge( $posts,
                    
102		                                                                                      $this->filtered_sticky_posts ) ) ) );
                    
240		}
                    
241		require_once ICL_PLUGIN_PATH . '/inc/cache.php';
                    
242		icl_cache_clear( $post_vars['post_type'] . 's_per_language', true );
                    
                
MantenimientosController.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 382 lines
                    
1<?php
                    
2
                    
74			$unionascensores = array_merge($ascensoreslist, $ascensoreslistcli);
                    
75			$resultascensores = array_unique($unionascensores);
                    
76
                    
77			$unionmantenimientos = array_merge($mantenimientoexternoslist, $mantenimientoexternoslistcli);
                    
78			$resultmantenimientos = array_unique($unionmantenimientos);
                    
79
                    
102	    		$union = array_merge($mantenimientosascensor, $mantenimientosexternos);
                    
103				$result = array_unique($union);
                    
104
                    
190			    ob_start();
                    
191			    include(app_path().'/views/pdf/informemantenimiento.php');
                    
192			    $content = ob_get_clean();
                    
194			    // convert to PDF
                    
195			    require_once(public_path().'/packages/html2pdf/html2pdf.class.php');
                    
196		        $html2pdf = new HTML2PDF('P', 'A4', 'es');
                    
                
appProdUrlMatcher.php https://gitlab.com/abdelwahed.farabi/TimeToStartWeb | PHP | 277 lines
                    
1<?php
                    
2
                    
274
                    
275        throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
                    
276    }
                    
                
Rss.php https://gitlab.com/rsilveira1987/Expresso | PHP | 533 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Rss.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Feed/Reader/Extension/Atom/Feed.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Feed/Reader/Extension/DublinCore/Feed.php';
                    
36
                    
39 */
                    
40require_once 'Zend/Date.php';
                    
41
                    
                
helper.php https://gitlab.com/ricardosanchez/prueba | PHP | 481 lines
                    
1<?php
                    
2/**
                    
12$com_path = JPATH_SITE . '/components/com_content/';
                    
13require_once $com_path . 'helpers/route.php';
                    
14
                    
158
                    
159				$catids = array_unique(array_merge($catids, $additional_catids));
                    
160			}
                    
239				$menu      = $app->getMenu();
                    
240				$menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login');
                    
241
                    
251
                    
252				$item->link = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $Itemid);
                    
253			}
                    
                
Cache.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 289 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Cache.php 24853 2012-05-31 23:19:27Z adamlundrigan $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Controller/Action/Helper/Abstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Controller/Action/Exception.php';
                    
31
                    
34 */
                    
35require_once 'Zend/Cache/Manager.php';
                    
36
                    
90        $controller = $this->getRequest()->getControllerName();
                    
91        $actions = array_unique($actions);
                    
92        if (!isset($this->_caching[$controller])) {
                    
                
bookmark.php https://gitlab.com/VTTE/sitios-vtte | PHP | 327 lines
                    
1<?php
                    
2/**
                    
128	$cats = wp_get_object_terms( $link_id, 'link_category', array( 'fields' => 'ids' ) );
                    
129	return array_unique( $cats );
                    
130}
                    
264	$link_categories = array_map( 'intval', $link_categories );
                    
265	$link_categories = array_unique( $link_categories );
                    
266
                    
311	global $pagenow;
                    
312	if ( 'link-manager.php' != $pagenow && 'link-add.php' != $pagenow && 'link.php' != $pagenow ) {
                    
313		return;
                    
320	if ( $really_can_manage_links && current_user_can( 'install_plugins' ) ) {
                    
321		$link = network_admin_url( 'plugin-install.php?tab=search&amp;s=Link+Manager' );
                    
322		/* translators: %s: URL to install the Link Manager plugin. */
                    
                
DoctrineExtensionTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 284 lines
                    
1<?php
                    
2
                    
20 */
                    
21class DoctrineExtensionTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
215
                    
216        foreach (array_unique($expectedCalls) as $call) {
                    
217            $this->assertContains($call, $actualCalls);
                    
                
Type.hx https://gitlab.com/ezeql/haxe | Haxe | 266 lines
                    
120			}
                    
121			__php__("php_Boot::$skip_constructor = false");
                    
122			return i;
                    
164		");
                    
165		return untyped __php__("new _hx_array(array_values(array_unique($r)))");
                    
166	}
                    
185		");
                    
186		return untyped __php__("new _hx_array(array_unique($r))");
                    
187	}
                    
226				if(getEnum(untyped __php__("$a->params[$i]")) != null) {
                    
227					if(!untyped enumEq(__php__("$a->params[$i]"),__php__("$b->params[$i]")))
                    
228						return false;
                    
229				} else {
                    
230					if(!untyped __call__("_hx_equal", __php__("$a->params[$i]"),__php__("$b->params[$i]")))
                    
231						return false;
                    
                
quipthread.class.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 346 lines
                    
1<?php
                    
2/**
                    
206        }
                    
207        $moderators = array_unique($moderators);
                    
208
                    
279
                    
280        $this->xpdo->getService('mail', 'mail.modPHPMailer');
                    
281        if (!$this->xpdo->mail) return false;
                    
                
PhpScanner.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 247 lines
                    
1<?php
                    
2/**
                    
12
                    
13class PhpScanner implements ScannerInterface
                    
14{
                    
180        }
                    
181        return array_unique($output);
                    
182    }
                    
244        }
                    
245        return array_unique($classes);
                    
246    }
                    
                
special.php https://gitlab.com/shapcy/opencart | PHP | 286 lines
                    
1<?php
                    
2class ControllerProductSpecial extends Controller {
                    
221
                    
222		$limits = array_unique(array($this->config->get($this->config->get('config_theme') . '_product_limit'), 25, 50, 75, 100));
                    
223
                    
                
wpml-installation.class.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 325 lines
                    
1<?php
                    
2
                    
2
                    
3require 'wpml-language-switcher-settings.class.php';
                    
4
                    
88		$sanitized_codes = array();
                    
89		$lang_codes      = array_filter( array_unique( $lang_codes ) );
                    
90		foreach ( $lang_codes as $code ) {
                    
                
apc.object-cache.php https://gitlab.com/endomorphosis/falkenstein | PHP | 380 lines
                    
1<?php
                    
2/*
                    
9
                    
10Install this file to wp-content/object-cache.php
                    
11
                    
19if ( version_compare( '5.2.4', phpversion(), '>=' ) ) {
                    
20	wp_die( 'The APC object cache backend requires PHP 5.2 or higher. You are running ' . phpversion() . '. Please remove the <code>object-cache.php</code> file from your content directory.' );
                    
21}
                    
24	// Regular die, not wp_die(), because it gets sandboxed and shown in a small iframe
                    
25	die( '<strong>ERROR:</strong> This is <em>not</em> a plugin, and it should not be activated as one.<br /><br />Instead, <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', __FILE__ ) . '</code> must be moved to <code>' . str_replace( $_SERVER['DOCUMENT_ROOT'], '', trailingslashit( WP_CONTENT_DIR ) ) . 'object-cache.php</code>' );
                    
26} else {
                    
27
                    
28// Users with setups where multiple installs share a common wp-config.php can use this
                    
29// to guarantee uniqueness for the keys generated by this object cache
                    
160		$this->global_groups = array_merge( $this->global_groups, $groups );
                    
161		$this->global_groups = array_unique( $this->global_groups );
                    
162	}
                    
                
my-account-takeover.class.php https://gitlab.com/leobelizquierdo/cabotsubmitter-wordpress | PHP | 376 lines
                    
1<?php if ( __FILE__ == $_SERVER['SCRIPT_FILENAME'] ) die( header( 'Location: /') );
                    
2
                    
29			if (self::$options->{'qsot-infinite-login'} == 'yes') {
                    
30				//add_action('login_init', array(__CLASS__, 'long_test_cookie'), PHP_INT_MAX);
                    
31				add_filter('auth_cookie_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
31				add_filter('auth_cookie_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
32				add_filter('auth_cookie_expire_time', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 4);
                    
33				add_filter('wc_session_expiring', array(__CLASS__, 'long_login_expiring'), PHP_INT_MAX, 3);
                    
33				add_filter('wc_session_expiring', array(__CLASS__, 'long_login_expiring'), PHP_INT_MAX, 3);
                    
34				add_filter('wc_session_expiration', array(__CLASS__, 'long_login_expire'), PHP_INT_MAX, 3);
                    
35				add_filter('init', array(__CLASS__, 'extend_login_expiration'), -1);
                    
62
                    
63		$shows = array_unique($shows);
                    
64		?>
                    
65			<td>
                    
66				<?php if (count($shows)): ?>
                    
67					<?php echo implode('<br/>', $shows) ?>
                    
                
bookmark.php https://gitlab.com/Gashler/dp | PHP | 387 lines
                    
1<?php
                    
2/**
                    
36			if ( $_bookmark ) {
                    
37				$_bookmark->link_category = array_unique( wp_get_object_terms( $_bookmark->link_id, 'link_category', array( 'fields' => 'ids' ) ) );
                    
38				wp_cache_add( $_bookmark->link_id, $_bookmark, 'bookmark' );
                    
                
Generator.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | PHP | 223 lines
                    
1<?php
                    
2/**
                    
98        return [
                    
99            'controller.php',
                    
100            'view.php',
                    
159            $this->getControllerFile(),
                    
160            $this->render('controller.php')
                    
161        );
                    
165                $this->getViewFile($action),
                    
166                $this->render('view.php', ['action' => $action])
                    
167            );
                    
178    {
                    
179        $actions = array_unique(preg_split('/[\s,]+/', $this->actions, -1, PREG_SPLIT_NO_EMPTY));
                    
180        sort($actions);
                    
189    {
                    
190        return Yii::getAlias('@' . str_replace('\\', '/', $this->controllerClass)) . '.php';
                    
191    }
                    
                
MPSUM_Admin_Plugins.php https://gitlab.com/memuller.web/wp_site | PHP | 275 lines
                    
1<?php
                    
2/**
                    
215		//Update option
                    
216		$plugin_options = array_values( array_unique( $plugin_options ) );
                    
217		$plugin_automatic_options = array_values( array_unique( $plugin_automatic_options ) );
                    
247			?>
                    
248			<div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
                    
249			<?php
                    
252		?>
                    
253        <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
                    
254	    <?php
                    
260		?>
                    
261        <h3><?php esc_html_e( 'Plugin Update Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
                    
262        <?php
                    
272        </form>
                    
273    <?php
                    
274	} //end tab_output_plugins
                    
                
shBrushPhp.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 91 lines
                    
29 */
                    
30SyntaxHighlighter.brushes.Php = function()
                    
31{
                    
40					'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
                    
41					'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
                    
42					'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
                    
86
                    
87	this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
                    
88};
                    
90SyntaxHighlighter.brushes.Php.prototype	= new SyntaxHighlighter.Highlighter();
                    
91SyntaxHighlighter.brushes.Php.aliases	= ['php'];
                    
92
                    
                
TbGroupGridView.php https://gitlab.com/irvanresna/new-gemilang | PHP | 375 lines
                    
1<?php
                    
2/**
                    
128		//store columns for group. Set object for existing columns in grid and string for attributes
                    
129		$groupColumns = array_unique(array_merge($this->mergeColumns, $this->extraRowColumns));
                    
130		foreach ($groupColumns as $key => $colName) {
                    
                
class-wc-query.php https://gitlab.com/hop23typhu/list-theme | PHP | 496 lines
                    
1<?php
                    
2/**
                    
241		// Get a list of post id's which match the current filters set (in the layered nav and price filter)
                    
242		$post__in = array_unique( apply_filters( 'loop_shop_post_in', array() ) );
                    
243
                    
                
MessageBag.php https://gitlab.com/Sigpot/AirSpot | PHP | 359 lines
                    
1<?php
                    
2
                    
197    {
                    
198        return array_unique($this->all($format));
                    
199    }
                    
                
ThemeSuggestions.php https://gitlab.com/guillaumev/alkarama | PHP | 359 lines
                    
1<?php
                    
2/**
                    
96    // Ensure the list of suggestions is unique.
                    
97    $suggestions = array_unique($this->suggestions);
                    
98  }
                    
                
perfmon_index_list.php https://gitlab.com/alexprowars/bitrix | PHP | 426 lines
                    
5define("PERFMON_STOP", true);
                    
6require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
                    
7/** @global CMain $APPLICATION */
                    
10Loader::includeModule('perfmon');
                    
11require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php");
                    
12
                    
105						{
                    
106							foreach (array_unique($arMissedKeys) as $suggest)
                    
107							{
                    
267
                    
268	$row->AddViewField("SQL_COUNT", '<a href="perfmon_sql_list.php?lang='.LANGUAGE_ID.'&amp;set_filter=Y&amp;find_suggest_id='.$f_ID.'">'.$f_SQL_COUNT.'</a>');
                    
269	$row->AddViewField("COLUMN_NAMES", str_replace(",", "<br>", $f_COLUMN_NAMES));
                    
308			"TEXT" => GetMessage("PERFMON_INDEX_DETAILS"),
                    
309			"ACTION" => $lAdmin->ActionRedirect('perfmon_index_detail.php?lang='.LANG.'&ID='.$f_ID),
                    
310		),
                    
                
CopyableBehavior.php git://github.com/croogo/croogo.git | PHP | 416 lines
                    
1<?php
                    
2
                    
23 * @copyright Jamie Nay
                    
24 * @license	http://www.opensource.org/licenses/mit-license.php The MIT License
                    
25 * @link http://github.com/jamienay/copyable_behavior
                    
149		}
                    
150		$ignore = array_unique($this->settings[$Model->alias]['ignore']);
                    
151		foreach ($ignore as $path) {
                    
                
entreprise.php https://gitlab.com/Erdrix/overviewCompanies | PHP | 431 lines
                    
1<?php
                    
2
                    
69    // Nombre de stage moyen
                    
70    $fili    = array_unique($fili);
                    
71    $average = count($stages);
                    
71    $average = count($stages);
                    
72    $average = round($average / count(array_unique($date)), 1);
                    
73
                    
                
PwDesignThreadDataService.php https://gitlab.com/wuhang2003/phpwind | PHP | 231 lines
                    
1<?php
                    
2Wind::import('SRV:design.srv.model.PwDesignModelBase');
                    
10 * @author $Author: gao.wanggao $ Foxsee@aliyun.com
                    
11 * @copyright ?2003-2103 phpwind.com
                    
12 * @license http://www.phpwind.com
                    
12 * @license http://www.phpwind.com
                    
13 * @version $Id: PwDesignThreadDataService.php 25436 2013-03-15 08:45:34Z gao.wanggao $ 
                    
14 * @package 
                    
18	/**
                    
19	 * (non-PHPdoc)
                    
20	 * @see src/service/design/srv/model/PwDesignModelBase::decorateAddProperty()
                    
32	/**
                    
33	 * (non-PHPdoc)
                    
34	 * @see src/service/design/srv/model/PwDesignModelBase::decorateEditProperty()
                    
48	/**
                    
49	 * (non-PHPdoc)
                    
50	 * @see src/service/design/srv/model/PwDesignModelBase::decorateSaveProperty()
                    
                
update.php https://gitlab.com/emad.rashad/mls-grading | PHP | 245 lines
                    
1<?php 
                    
2require_once('../../../../classes/Session.php'); 
                    
2require_once('../../../../classes/Session.php'); 
                    
3require_once('../../../../classes/Functions.php'); 
                    
4require_once('../../../../classes/MysqlDatabase.php'); 
                    
4require_once('../../../../classes/MysqlDatabase.php'); 
                    
5require_once('../../../../classes/Users.php'); 
                    
6require_once('../../../../classes/Profile.php'); 
                    
6require_once('../../../../classes/Profile.php'); 
                    
7require_once('../../../../classes/Nodes.php'); 
                    
8require_once('../../../../classes/NodesContent.php'); 
                    
8require_once('../../../../classes/NodesContent.php'); 
                    
9require_once('../../../../classes/NodesSelectedTaxonomies.php'); 
                    
10require_once('../../../../classes/Localization.php'); 
                    
10require_once('../../../../classes/Localization.php'); 
                    
11require_once('../../../../classes/NodesImageGallery.php');
                    
12require_once('../../../../classes/Taxonomies.php'); 
                    
                
Plugin.php https://gitlab.com/vannh/portal_training | PHP | 392 lines
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         2.0.0
                    
66     *
                    
67     * Will load the bootstrap.php and routes.php files.
                    
68     *
                    
70     *
                    
71     * Will load routes.php file but not bootstrap.php
                    
72     *
                    
190
                    
191        $vendorFile = dirname(dirname(dirname(dirname(__DIR__)))) . DS . 'cakephp-plugins.php';
                    
192        if (!file_exists($vendorFile)) {
                    
                
viewData.php https://gitlab.com/florianocomercial/centreon | PHP | 332 lines
                    
1<?php
                    
2/*
                    
38}
                    
39require_once './class/centreonDuration.class.php';
                    
40require_once './class/centreonBroker.class.php';
                    
40require_once './class/centreonBroker.class.php';
                    
41include_once("./include/monitoring/common-Func.php");
                    
42
                    
45 */
                    
46require_once "HTML/QuickForm.php";
                    
47require_once 'HTML/QuickForm/Renderer/ArraySmarty.php';
                    
56 */
                    
57$url = "viewData.php";
                    
58
                    
59/*
                    
60 * PHP functions
                    
61 */
                    
                
LinkManagement.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 386 lines
                    
1<?php
                    
2/**
                    
16/**
                    
17 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
                    
18 */
                    
117     * {@inheritdoc}
                    
118     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
119     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
206     * {@inheritdoc}
                    
207     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
208     */
                    
314        $resource->dropAllUnneededSelections($product->getData($linkField), $excludeSelectionIds);
                    
315        $resource->removeProductRelations($product->getData($linkField), array_unique($usedProductIds));
                    
316
                    
                
select.php https://gitlab.com/webkod3r/tripolis | PHP | 232 lines
                    
187	<tr>
                    
188	<th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-name' ); ?>"><?php echo esc_html( __( 'Name', 'contact-form-7' ) ); ?></label></th>
                    
189	<td><input type="text" name="name" class="tg-name oneline" id="<?php echo esc_attr( $args['content'] . '-name' ); ?>" /></td>
                    
197		<textarea name="values" class="values" id="<?php echo esc_attr( $args['content'] . '-values' ); ?>"></textarea>
                    
198		<label for="<?php echo esc_attr( $args['content'] . '-values' ); ?>"><span class="description"><?php echo esc_html( __( "One option per line.", 'contact-form-7' ) ); ?></span></label><br />
                    
199		<label><input type="checkbox" name="multiple" class="option" /> <?php echo esc_html( __( 'Allow multiple selections', 'contact-form-7' ) ); ?></label><br />
                    
205	<tr>
                    
206	<th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-id' ); ?>"><?php echo esc_html( __( 'Id attribute', 'contact-form-7' ) ); ?></label></th>
                    
207	<td><input type="text" name="id" class="idvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-id' ); ?>" /></td>
                    
210	<tr>
                    
211	<th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-class' ); ?>"><?php echo esc_html( __( 'Class attribute', 'contact-form-7' ) ); ?></label></th>
                    
212	<td><input type="text" name="class" class="classvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-class' ); ?>" /></td>
                    
228
                    
229	<p class="description mail-tag"><label for="<?php echo esc_attr( $args['content'] . '-mailtag' ); ?>"><?php echo sprintf( esc_html( __( "To use the value input through this field in a mail field, you need to insert the corresponding mail-tag (%s) into the field on the Mail tab.", 'contact-form-7' ) ), '<strong><span class="mail-tag"></span></strong>' ); ?><input type="text" class="mail-tag code hidden" readonly="readonly" id="<?php echo esc_attr( $args['content'] . '-mailtag' ); ?>" /></label></p>
                    
230</div>
                    
                
AdminPaymentController.php https://gitlab.com/jslee1/PrestaShop | PHP | 126 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
38    {
                    
39        $this->toolbar_title = array_unique($this->breadcrumbs);
                    
40    }
                    
                
ajax.php https://gitlab.com/michield/dokuwiki | PHP | 452 lines
                    
1<?php
                    
2/**
                    
9if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
                    
10require_once(DOKU_INC.'inc/init.php');
                    
11//close session
                    
108    $data = array_map('noNS',$data);
                    
109    $data = array_unique($data);
                    
110    sort($data);
                    
237    $fullscreen = true;
                    
238    require_once(DOKU_INC.'lib/exe/mediamanager.php');
                    
239
                    
                
ClassCollectionLoader.php https://gitlab.com/reasonat/test8 | PHP | 379 lines
                    
1<?php
                    
2
                    
36     */
                    
37    public static function load($classes, $cacheDir, $name, $autoReload, $adaptive = false, $extension = '.php')
                    
38    {
                    
38    {
                    
39        // each $name can only be loaded once per PHP process
                    
40        if (isset(self::$loaded[$name])) {
                    
58
                    
59        $classes = array_unique($classes);
                    
60
                    
104
                    
105            $c = preg_replace(array('/^\s*<\?php/', '/\?>\s*$/'), '', file_get_contents($class->getFileName()));
                    
106
                    
198        if (PHP_VERSION_ID >= 70000) {
                    
199            // PHP 7 memory manager will not release after token_get_all(), see https://bugs.php.net/70098
                    
200            unset($tokens, $rawChunk);
                    
                
component.php https://gitlab.com/Rad1calDreamer/honey | PHP | 297 lines
                    
37	$arParams["PATH_TO_SEARCH"] .= "&";
                    
38$arParams["DATE_TIME_FORMAT"] = trim(empty($arParams["DATE_TIME_FORMAT"]) ? $DB->DateFormatToPHP(CSite::GetDateFormat("FULL")) : $arParams["DATE_TIME_FORMAT"]);
                    
39
                    
99				}
                    
100				$arHobbyDB=array_unique($arHobbyDB);
                    
101				if(count($arHobbyDB)>0)
                    
                
cache.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 503 lines
                    
1<?php
                    
2/**
                    
281		$this->global_groups = array_merge($this->global_groups, $groups);
                    
282		$this->global_groups = array_unique($this->global_groups);
                    
283	}
                    
411	 * The $expire parameter is not used, because the cache will automatically
                    
412	 * expire for each time a page is accessed and PHP finishes. The method is
                    
413	 * more for cache plugins which use files.
                    
465	/**
                    
466	 * PHP4 constructor; Calls PHP 5 style constructor
                    
467	 *
                    
476	/**
                    
477	 * Sets up object properties; PHP 5 style constructor
                    
478	 *
                    
483		/**
                    
484		 * @todo This should be moved to the PHP4 style constructor, PHP5
                    
485		 * already calls __destruct()
                    
                
Translator.php https://gitlab.com/techniconline/kmc | PHP | 440 lines
                    
1<?php
                    
2
                    
351            $content = sprintf(<<<EOF
                    
352<?php
                    
353
                    
377    {
                    
378        return $this->cacheDir . '/catalogue.' . $locale . '.' . sha1(serialize($this->fallbackLocales)) . '.php';
                    
379    }
                    
423
                    
424        return array_unique($locales);
                    
425    }
                    
                
filterbar.php https://gitlab.com/futuredrive630/wp-event-list | PHP | 316 lines
                    
1<?php
                    
2if(!defined('ABSPATH')) {
                    
5
                    
6require_once( EL_PATH.'includes/db.php' );
                    
7require_once( EL_PATH.'includes/categories.php' );
                    
202		}
                    
203		$events_cat_array = array_unique($events_cat_array);
                    
204		//create filtered cat_array
                    
                
PushController.php https://gitlab.com/wuhang2003/phpwind | PHP | 303 lines
                    
1<?php
                    
2Wind::import('ADMIN:library.AdminBaseController');
                    
5 * @author $Author: gao.wanggao $ Foxsee@aliyun.com
                    
6 * @copyright ©2003-2103 phpwind.com
                    
7 * @license http://www.phpwind.com
                    
7 * @license http://www.phpwind.com
                    
8 * @version $Id: PushController.php 28818 2013-05-24 10:10:46Z gao.wanggao $ 
                    
9 * @package 
                    
47		}
                    
48		array_unique($moduleids);
                    
49		$modules =  $this->_getModuleDs()->fetchModule($moduleids);
                    
105		}
                    
106		array_unique($uids);
                    
107		array_unique($moduleids);
                    
263		}
                    
264		$moduleids = array_unique($moduleids);
                    
265		Wind::import('SRV:design.srv.data.PwAutoData');
                    
                
Scraper.php https://gitlab.com/boptom/scraper | PHP | 413 lines
                    
1<?php
                    
2
                    
151        if (self::isArray()) {
                    
152            $this->text = array_unique($this->text);
                    
153        }
                    
                
order_total.php https://gitlab.com/shinvdu/doc | PHP | 250 lines
                    
1<?php
                    
2/**
                    
8 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
                    
9 * @version $Id: order_total.php 19103 2011-07-13 18:10:46Z wilt $
                    
10 */
                    
85        
                    
86        $GLOBALS[$class]->output = array_unique($GLOBALS[$class]->output);
                    
87        $size = sizeof($GLOBALS[$class]->output);
                    
98          // use a template file for output instead of hard-coded HTML
                    
99          require($template->get_template_dir('tpl_modules_order_totals.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_order_totals.php');
                    
100        }
                    
                
testcase.php https://gitlab.com/wuhang2003/core | PHP | 479 lines
                    
1<?php
                    
2/**
                    
35
                    
36abstract class TestCase extends \PHPUnit_Framework_TestCase {
                    
37	/** @var \OC\Command\QueueBus */
                    
94		}
                    
95		$traits = array_unique($traits);
                    
96		return array_filter($traits, function ($trait) {
                    
208		if (!self::$wasDatabaseAllowed && self::$realDatabase !== null) {
                    
209			// in case an error is thrown in a test, PHPUnit jumps straight to tearDownAfterClass,
                    
210			// so we need the database again
                    
425
                    
426		require_once __DIR__.'/../../lib/private/template/functions.php';
                    
427
                    
429		$theme = new OC_Defaults();
                    
430		/** @var IL10N | \PHPUnit_Framework_MockObject_MockObject $l10n */
                    
431		$l10n = $this->getMockBuilder('\OCP\IL10N')
                    
                
RouteListCommand.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 281 lines
                    
1<?php
                    
2
                    
143
                    
144        $middlewares = array_unique(
                    
145            array_merge($middlewares, $this->getPatternFilters($route))
                    
                
PwDesignUserDataService.php https://gitlab.com/wuhang2003/phpwind | PHP | 311 lines
                    
1<?php
                    
2Wind::import('SRV:design.srv.model.PwDesignModelBase');
                    
12 * @author xiaoxia.xu <xiaoxia.xuxx@aliyun-inc.com>
                    
13 * @copyright ©2003-2103 phpwind.com
                    
14 * @license http://www.windframework.com
                    
14 * @license http://www.windframework.com
                    
15 * @version $Id: PwDesignUserDataService.php 24726 2013-02-18 06:15:04Z gao.wanggao $
                    
16 * @package src.service.design.srv.model.user
                    
20	/**
                    
21	 * (non-PHPdoc)
                    
22	 * @see src/service/design/srv/model/PwDesignModelBase::decorateAddProperty()
                    
30	/**
                    
31	 * (non-PHPdoc)
                    
32	 * @see src/service/design/srv/model/PwDesignModelBase::decorateEditProperty()
                    
42	/**
                    
43	 * (non-PHPdoc)
                    
44	 * @see src/service/design/srv/model/PwDesignModelBase::decorateSaveProperty()
                    
                
List.php https://gitlab.com/rsilveira1987/Expresso | PHP | 448 lines
                    
1<?php
                    
2/**
                    
90    /**
                    
91     * (non-PHPdoc)
                    
92     * @see Tinebase_Controller_Record_Abstract::get()
                    
115        }
                    
116        $allMemberIds = array_unique($allMemberIds);
                    
117        
                    
142    /**
                    
143     * (non-PHPdoc)
                    
144     * @see Tinebase_Controller_Record_Abstract::search()
                    
153    /**
                    
154     * (non-PHPdoc)
                    
155     * @see Tinebase_Controller_Record_Abstract::getMultiple()
                    
                
yandex_setup.php https://gitlab.com/Rad1calDreamer/honey | PHP | 463 lines
                    
2//<title>Yandex</title>
                    
3IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/export_setup_templ.php');
                    
4
                    
108	{
                    
109		$V = array_unique(array_values($V));
                    
110		$_REQUEST['V'] = $V;
                    
134		"TITLE"=>GetMessage("CATI_ADM_RETURN_TO_LIST_TITLE"),
                    
135		"LINK"=>"/bitrix/admin/cat_export_setup.php?lang=".LANGUAGE_ID,
                    
136		"ICON"=>"btn_list",
                    
198		),
                    
199		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=0&'+'".bitrix_sessid_get()."';",
                    
200		"ClearSelected(); BX('id_ifr').src='/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID='+this[this.selectedIndex].value+'&'+'".bitrix_sessid_get()."';",
                    
358	</script>
                    
359	<iframe src="/bitrix/tools/catalog_export/yandex_util.php?IBLOCK_ID=<?=intval($IBLOCK_ID)?>&<? echo bitrix_sessid_get(); ?>" id="id_ifr" name="ifr" style="display:none"></iframe>
                    
360	</td>
                    
                
Feed.php https://gitlab.com/rsilveira1987/Expresso | PHP | 265 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Feed.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Feed/Reader/Extension/FeedAbstract.php';
                    
26
                    
29 */
                    
30require_once 'Zend/Date.php';
                    
31
                    
87        if (!empty($authors)) {
                    
88            $authors = array_unique($authors);
                    
89        }
                    
                
load-scripts.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 162 lines
                    
1<?php
                    
2
                    
121$load = preg_replace( '/[^a-z0-9,_-]+/i', '', $load );
                    
122$load = array_unique( explode( ',', $load ) );
                    
123
                    
126
                    
127require(ABSPATH . WPINC . '/script-loader.php');
                    
128require(ABSPATH . WPINC . '/version.php');
                    
                
Translator.php https://gitlab.com/Laolballs/evotting | PHP | 472 lines
                    
1<?php
                    
2
                    
360        $this->assertValidLocale($locale);
                    
361        $cache = new ConfigCache($this->cacheDir.'/catalogue.'.$locale.'.php', $this->debug);
                    
362        if (!$cache->isFresh()) {
                    
388            $content = sprintf(<<<EOF
                    
389<?php
                    
390
                    
455
                    
456        return array_unique($locales);
                    
457    }
                    
                
bookmark.php https://gitlab.com/woxiprogrammers/infinia-wordpress | PHP | 414 lines
                    
1<?php
                    
2/**
                    
37			if ( $_bookmark ) {
                    
38				$_bookmark->link_category = array_unique( wp_get_object_terms( $_bookmark->link_id, 'link_category', array( 'fields' => 'ids' ) ) );
                    
39				wp_cache_add( $_bookmark->link_id, $_bookmark, 'bookmark' );
                    
199			wp_cache_set( 'get_bookmarks', $cache, 'bookmark' );
                    
200			/** This filter is documented in wp-includes/bookmark.php */
                    
201			return apply_filters( 'get_bookmarks', array(), $r );
                    
290
                    
291	/** This filter is documented in wp-includes/bookmark.php */
                    
292	return apply_filters( 'get_bookmarks', $results, $r );
                    
380	if ( 'edit' == $context ) {
                    
381		/** This filter is documented in wp-includes/post.php */
                    
382		$value = apply_filters( "edit_$field", $value, $bookmark_id );
                    
389	} else if ( 'db' == $context ) {
                    
390		/** This filter is documented in wp-includes/post.php */
                    
391		$value = apply_filters( "pre_$field", $value );
                    
                
AbstractElement.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 576 lines
                    
1<?php
                    
2/**
                    
16 * @author     Magento Core Team <core@magentocommerce.com>
                    
17 * @SuppressWarnings(PHPMD.NumberOfChildren)
                    
18 */
                    
269    {
                    
270        $classes = array_unique(explode(' ', $this->getClass()));
                    
271        if (false !== ($key = array_search($class, $classes))) {
                    
531     * @return $this
                    
532     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
533     */
                    
                
SimpleTemplateAbstract.php https://gitlab.com/php.bjoernbartels.earth/simpletemplate | PHP | 288 lines
                    
1<?php
                    
2/**
                    
256
                    
257        // Be sure that php code stays unchanged 
                    
258        $php_matches = array();
                    
259        $container = array();
                    
260        if (preg_match_all('/<\?(php)?((.)|(\s))*?\?>/i', $template, $php_matches)) { 
                    
261            $x = 0; 
                    
261            $x = 0; 
                    
262            foreach ($php_matches[0] as $php_match) { 
                    
263                $x++; 
                    
263                $x++; 
                    
264                $template = str_replace($php_match, "{PHP#".$x."#PHP}", $template); 
                    
265                $container[$x] = $php_match; 
                    
281            foreach ($container as $x => $php_match) { 
                    
282                $template = str_replace("{PHP#".$x."#PHP}", $php_match, $template); 
                    
283            } 
                    
                
ApcuBackend.php https://gitlab.com/reasonat/test8 | PHP | 271 lines
                    
1<?php
                    
2
                    
5/**
                    
6 * Stores cache items in the Alternative PHP Cache User Cache (APCu).
                    
7 */
                    
164    assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)', 'Cache tags must be strings.');
                    
165    $tags = array_unique($tags);
                    
166    $cache = new \stdClass();
                    
                
Configuration.php https://gitlab.com/freebird/WebApp | PHP | 202 lines
                    
1<?php
                    
2
                    
56                ->then(function ($v) {
                    
57                    $v['form_themes'] = array_values(array_unique(array_merge($v['form']['resources'], $v['form_themes'])));
                    
58
                    
                
script.php https://gitlab.com/alexprowars/bitrix | PHP | 338 lines
                    
1<?php
                    
2
                    
38
                    
39		$documentIds = array_unique($documentIds);
                    
40
                    
                
MPSUM_Admin_Themes.php https://gitlab.com/memuller.web/wp_site | PHP | 280 lines
                    
1<?php
                    
2/**
                    
175		//Update option
                    
176		$theme_options = array_values( array_unique( $theme_options ) );
                    
177		$theme_automatic_options = array_values( array_unique( $theme_automatic_options ) );
                    
206			?>
                    
207			<div class="updated"><p><strong><?php echo esc_html( $message ); ?></strong></p></div>
                    
208			<?php
                    
212		?>
                    
213        <form action="<?php echo esc_url( add_query_arg( array() ) ); ?>" method="post">
                    
214	    <?php
                    
220		?>
                    
221        <h3><?php esc_html_e( 'Theme Update Options', 'stops-core-theme-and-plugin-updates' ); ?></h3>
                    
222        <?php
                    
233        </form>
                    
234    <?php
                    
235	} //end tab_output_plugins
                    
                
_comments.html https://gitlab.com/orvi2014/phpjs | HTML | 364 lines
                    
52on 2010-06-09 21:10:58 <br />
                    
53@t: Associative arrays aren't native to JavaScript, but JavaScript objects share similarities to PHP associative arrays, so to try and support associative arrays, the functions on PHP.JS convert JavaScript arrays to JavaScript objects.
                    
54<hr />
                    
78on 2010-03-19 14:53:14 <br />
                    
79@harald: Sorry, fixed in git: http://github.com/kvz/phpjs/raw/master/functions/array/array_unique.js . See https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object/hasOwnProperty for an explanation of the method. It is used to make sure we are only iterating over the immediate properties of the object, and not any that may have been added on an inherited class or on the Object/Array prototype itself...
                    
80<hr />
                    
203on 2008-07-25 08:47:53 <br />
                    
204@ sankai: Thank you so much! But this array_unique does not support associative arrays (javascript objects). So unlike PHP's implementation, arrays that have non-numeric keys do not work.
                    
205
                    
226    // *     returns 2: [1,2,3,'1','2','3']
                    
227    // *     example 3: array_unique([1,'a','a','1','3',3,'b','c','b',1]);
                    
228    // *     returns 3: [1,'a','1','3',3,'b','c']
                    
360on 2008-04-30 12:27:53 <br />
                    
361maybe i'm being stupid, but PHP array_unique returns an array, not a boolean.
                    
362&amp;quot;Takes an input array  and returns a new array without duplicate values.&amp;quot;
                    
                
bookmark.php https://gitlab.com/haque.mdmanzurul/wp-archivefusetheme | PHP | 305 lines
                    
1<?php
                    
2/**
                    
119
                    
120	return array_unique( $cats );
                    
121}
                    
247	$link_categories = array_map( 'intval', $link_categories );
                    
248	$link_categories = array_unique( $link_categories );
                    
249
                    
290	global $pagenow;
                    
291	if ( 'link-manager.php' != $pagenow && 'link-add.php' != $pagenow && 'link.php' != $pagenow )
                    
292		return;
                    
298	if ( $really_can_manage_links && current_user_can( 'install_plugins' ) ) {
                    
299		$link = network_admin_url( 'plugin-install.php?tab=search&amp;s=Link+Manager' );
                    
300		wp_die( sprintf( __( 'If you are looking to use the link manager, please install the <a href="%s">Link Manager</a> plugin.' ), $link ) );
                    
                
Container.php https://gitlab.com/kubinos/writeoff | PHP | 498 lines
                    
1<?php
                    
2
                    
160		}
                    
161		return array_unique($errors);
                    
162	}
                    
                
Codecept.php https://gitlab.com/panace/public | PHP | 249 lines
                    
1<?php
                    
2namespace Codeception;
                    
12    /**
                    
13     * @var \Codeception\PHPUnit\Runner
                    
14     */
                    
16    /**
                    
17     * @var \PHPUnit_Framework_TestResult
                    
18     */
                    
68    {
                    
69        $this->result = new \PHPUnit_Framework_TestResult;
                    
70        $this->dispatcher = new EventDispatcher();
                    
80        $this->registerSubscribers();
                    
81        $this->registerPHPUnitListeners();
                    
82
                    
82
                    
83        $printer = new PHPUnit\ResultPrinter\UI($this->dispatcher, $this->options);
                    
84        $this->runner = new PHPUnit\Runner();
                    
                
edit_index_save.class.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 236 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
122            // Check that there aren't duplicate column names
                    
123            $uniquearr = array_unique($fieldsarr);
                    
124            if (count($fieldsarr) != count($uniquearr)) {
                    
181                  <p>' . $tempindex->readableInfo() . '</p>';
                    
182            $o.= '<a href="index.php?action=edit_index&amp;index=' .$index->getName() . '&amp;table=' . $table->getName() .
                    
183                 '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)) . '">[' . $this->str['back'] . ']</a>';
                    
                
Collection.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 705 lines
                    
1<?php namespace Illuminate\Support;
                    
2
                    
538	{
                    
539		return new static(array_unique($this->items));
                    
540	}
                    
                
timecounter.php https://gitlab.com/myurd/magmi-git | PHP | 251 lines
                    
1<?php
                    
2
                    
177            array_push($this->_timingcontext, $src);
                    
178            $this->_timingcontext = array_values(array_unique($this->_timingcontext));
                    
179        }
                    
                
helpers.php https://gitlab.com/kimting254/wbms | PHP | 800 lines
                    
1<?php
                    
2
                    
371
                    
372		return array_unique($results);
                    
373	}
                    
                
Source.php https://gitlab.com/svillegas/magento2 | PHP | 351 lines
                    
1<?php
                    
2/**
                    
105     * @return $this
                    
106     * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
                    
107     */
                    
151            "cpe.{$productIdField} = dd.{$productIdField}",
                    
152            array_unique([$productIdField, 'entity_id'])
                    
153        )->where(
                    
344     * @return string
                    
345     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
                    
346     */
                    
                
FormHelper.php https://gitlab.com/x33n/ImpressPages | PHP | 219 lines
                    
1<?php
                    
2
                    
47
                    
48        $files = array_unique($files, SORT_STRING);
                    
49        sort($files);
                    
                
CommandWithUpgrade.php https://gitlab.com/Blueprint-Marketing/wp-cli | PHP | 407 lines
                    
1<?php
                    
2
                    
99	private function show_legend( $items ) {
                    
100		$statuses = array_unique( wp_list_pluck( $items, 'status' ) );
                    
101
                    
124			// Check if a URL to a remote zip file has been specified
                    
125			$url_path = parse_url( $slug, PHP_URL_PATH );
                    
126			if ( ! empty( $url_path ) && '.zip' === substr( $url_path, - 4 ) ) {
                    
                
Util.php https://gitlab.com/jeann2015/secret | PHP | 291 lines
                    
1<?php
                    
2
                    
188
                    
189        $directories = array_diff(array_unique($directories), array_unique($listedDirectories));
                    
190
                    
                
MigrationSnapshotTask.php https://gitlab.com/alexandresgv/siteentec | PHP | 277 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
200
                    
201        return array_unique($list);
                    
202    }
                    
223        $tableDir = new Folder($path);
                    
224        $tableDir = $tableDir->find('.*\.php');
                    
225        return $tableDir;
                    
237        $tables = [];
                    
238        $className = str_replace('Table.php', '', $className);
                    
239        if ($pluginName !== null) {
                    
                
SummaryOfOrganization.php https://gitlab.com/Charlesbasis/AtomicProject_CharlesValerioHowlader_136344_B35 | PHP | 282 lines
                    
1<?php
                    
2
                    
59
                    
60        Utility::redirect('create.php');
                    
61
                    
101        $STH->execute($arrData);
                    
102        Utility::redirect('index.php');
                    
103
                    
110
                    
111        Utility::redirect('index.php');
                    
112    } // end of delete(), permanent delete
                    
121
                    
122        Utility::redirect('index.php');
                    
123
                    
156
                    
157        Utility::redirect('index.php');
                    
158
                    
                
subscription.php https://gitlab.com/Rad1calDreamer/honey | PHP | 401 lines
                    
1<?php
                    
2/**
                    
35			$bitrixDirectory = \Bitrix\Main\Application::getInstance()->getPersonalRoot();
                    
36			$result = $bitrixDirectory.'/tools/sender_sub_confirm.php?sender_subscription=confirm&tag='.urlencode($tag);
                    
37		}
                    
147
                    
148		$mailingList = array_unique($mailingList);
                    
149		foreach($mailingList as $mailingId)
                    
                
ViewLookupWizardField.php https://gitlab.com/Lidbary/PHPRunner | PHP | 363 lines
                    
1<?php
                    
2class ViewLookupWizardField extends ViewControl
                    
241		$lookupValues = array();
                    
242		$lookupArr = array_unique( $lookupArr );			
                    
243		foreach($lookupArr as $lookupvalue)
                    
                
Memory.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 160 lines
                    
1<?php
                    
2/**
                    
5 * Uses OS tools to provide accurate information about factual memory consumption.
                    
6 * The PHP standard functions may return incorrect information because the process itself may have leaks.
                    
7 *
                    
41     * memory_get_usage() cannot be used because of the bug
                    
42     * @link https://bugs.php.net/bug.php?id=62467
                    
43     *
                    
114        $pow = $unitSymbol ? strpos(self::MEMORY_UNITS, $unitSymbol) : 0;
                    
115        $is32Bit = PHP_INT_SIZE == 4;
                    
116        if ($is32Bit && $pow >= 4) {
                    
141        preg_match_all('/(\D+)/', $number, $matches);
                    
142        if (count(array_unique($matches[0])) > 1) {
                    
143            throw new \InvalidArgumentException(
                    
152     *
                    
153     * @link http://php.net/manual/en/function.php-uname.php
                    
154     * @return boolean
                    
                
head.php https://gitlab.com/ricardosanchez/prueba | PHP | 249 lines
                    
1<?php
                    
2/**
                    
240
                    
241		// Output the custom tags - array_unique makes sure that we don't output the same tags twice
                    
242		foreach (array_unique($document->_custom) as $custom)
                    
                
FunctionCommentThrowTagSniff.php https://gitlab.com/yousafsyed/easternglamor | PHP | 215 lines
                    
14 * @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
                    
15 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
16 */
                    
34 * @version   Release: @package_version@
                    
35 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
36 */
                    
53     *
                    
54     * @param PHP_CodeSniffer_File $phpcsFile The file where this token was found.
                    
55     * @param int                  $stackPtr  The position where the token was found.
                    
59     */
                    
60    protected function processTokenWithinScope(PHP_CodeSniffer_File $phpcsFile, $stackPtr, $currScope)
                    
61    {
                    
93        try {
                    
94            $this->commentParser = new PHP_CodeSniffer_CommentParser_FunctionCommentParser($comment, $phpcsFile);
                    
95            $this->commentParser->parse();
                    
                
pipelines_ecrire.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 273 lines
                    
1<?php
                    
2
                    
51		));
                    
52	foreach (array_unique($jquery_plugins) as $script) {
                    
53		if ($script = find_in_path(supprimer_timestamp($script))) {
                    
122 * Branchement automatise de affiche_gauche, affiche_droite, affiche_milieu
                    
123 * pour assurer la compat avec les versions precedentes des exec en php
                    
124 * Branche de affiche_objet
                    
                
class-wc-admin-notices.php https://gitlab.com/webkod3r/tripolis | PHP | 187 lines
                    
1<?php
                    
2/**
                    
65	public static function add_notice( $name ) {
                    
66		$notices = array_unique( array_merge( get_option( 'woocommerce_admin_notices', array() ), array( $name ) ) );
                    
67		update_option( 'woocommerce_admin_notices', $notices );
                    
126	public function update_notice() {
                    
127		include( 'views/html-notice-update.php' );
                    
128	}
                    
133	public function install_notice() {
                    
134		include( 'views/html-notice-install.php' );
                    
135	}
                    
141		if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( get_option( 'template' ), wc_get_core_supported_themes() ) ) {
                    
142			include( 'views/html-notice-theme-support.php' );
                    
143		} else {
                    
179		if ( $outdated ) {
                    
180			include( 'views/html-notice-template-check.php' );
                    
181		} else {
                    
                
class.I18Nlocale.inc.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 341 lines
                    
1<?php
                    
2/**
                    
4*/
                    
5require_once 'class.I18Nbase.inc.php';
                    
6
                    
9* @author Michael Wimmer <flaimo@gmail.com>
                    
10* @category flaimo-php
                    
11* @example  ../www_root/i18n_example_script.php  i18n example script
                    
12* @license GNU General Public License v3
                    
13* @link http://code.google.com/p/flaimo-php/
                    
14* @package i18n
                    
166		if (is_array($this->languages)) {
                    
167			$this->languages = array_unique($this->languages);
                    
168		} // end if
                    
170		if (is_array($this->countries)) {
                    
171			$this->countries = array_unique($this->countries);
                    
172		} // end if
                    
                
Getlist.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 290 lines
                    
1<?php
                    
2/*
                    
161  }
                    
162  $request['params']['return'] = array_unique(array_merge($fieldsToReturn, $request['extra']));
                    
163}
                    
                
Controls.php https://gitlab.com/cmtsheikeshadi/first_app_development_project | PHP | 235 lines
                    
1<?php
                    
2/**
                    
5* @license http://opensource.org/licenses/MIT
                    
6* @link https://github.com/thephpleague/csv/
                    
7* @version 8.1.0
                    
114        };
                    
115        $delimiters = array_unique(array_filter($delimiters, [$this, 'isValidCsvControls']));
                    
116        $csv = $this->getIterator();
                    
                
Product.php https://gitlab.com/techniconline/kmc | PHP | 430 lines
                    
1<?php
                    
2
                    
3/**
                    
4 * Created by PhpStorm.
                    
5 * User: Hamid
                    
128
                    
129                $fgIds = array_unique($fgIds);
                    
130            }
                    
                
AdminPaymentController.php https://gitlab.com/staging06/myproject | PHP | 313 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/osl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
22*  @copyright  2007-2015 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
24*  International Registered Trademark & Property of PrestaShop SA
                    
91    {
                    
92        $this->toolbar_title = array_unique($this->breadcrumbs);
                    
93    }
                    
                
ModuleHandlerTest.php https://gitlab.com/guillaumev/alkarama | PHP | 321 lines
                    
1<?php
                    
2
                    
77  protected function assertModuleList(array $expected_values, $condition) {
                    
78    $expected_values = array_values(array_unique($expected_values));
                    
79    $enabled_modules = array_keys($this->container->get('module_handler')->getModuleList());
                    
                
 

Source

Language