PageRenderTime 2399ms queryTime 643ms sortTime 7ms getByIdsTime 144ms findMatchingLines 263ms

100+ results results for 'php func_get_arg repo:ivansoriasolis/Vidali' (2399 ms)

Not the results you expected?
Store.php https://gitlab.com/m12_team/m12 | PHP | 707 lines
                    
1<?php
                    
2
                    
312    {
                    
313        $keys = is_array($name) ? $name : func_get_args();
                    
314
                    
477    {
                    
478        $keys = is_array($keys) ? $keys : func_get_args();
                    
479
                    
                
WebBrowser.php https://gitlab.com/mvcarvalho/plataforma-e-commerce | PHP | 405 lines
                    
15	 *
                    
16	 * @param phpQueryObject $self
                    
17	 * @todo support 'reset' event
                    
29		else {
                    
30			$self->bind('click', array($location, $callback), array('phpQueryPlugin_WebBrowser', 'hadleClick'));
                    
31			$self->bind('submit', array($location, $callback), array('phpQueryPlugin_WebBrowser', 'handleSubmit'));
                    
173		self::authorizeHost($ajaxSettings['url']);
                    
174		$xhr = phpQuery::ajax(
                    
175			self::ajaxSettingsPrepare($ajaxSettings)
                    
269			if ($xhr->getLastResponse()->isSuccessful() && $callback)
                    
270				phpQuery::callbackRun($callback, array(
                    
271					self::browserReceive($xhr)
                    
323 * @return unknown
                    
324 * @link http://www.php.net/manual/en/function.parse-url.php
                    
325 * @author stevenlewis at hotmail dot com
                    
                
class-wp-walker.php https://gitlab.com/WPonEB/WPonEB | PHP | 425 lines
                    
1<?php
                    
2/**
                    
189	public function walk( $elements, $max_depth ) {
                    
190		$args = array_slice(func_get_args(), 2);
                    
191		$output = '';
                    
281
                    
282		$args = array_slice( func_get_args(), 4 );
                    
283		$output = '';
                    
                
ImageSize.php https://gitlab.com/thuan9x/zend | PHP | 364 lines
                    
1<?php
                    
2/**
                    
18 * @license   http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version   $Id: ImageSize.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25require_once 'Zend/Validate/Abstract.php';
                    
26
                    
132            }
                    
133            $argv = func_get_args();
                    
134            array_shift($argv);
                    
142        } else if (!is_array($options)) {
                    
143            require_once 'Zend/Validate/Exception.php';
                    
144            throw new Zend_Validate_Exception ('Invalid options to validator provided');
                    
207            if (($this->_maxwidth !== null) and ($options['minwidth'] > $this->_maxwidth)) {
                    
208                require_once 'Zend/Validate/Exception.php';
                    
209                throw new Zend_Validate_Exception("The minimum image width must be less than or equal to the "
                    
                
SSDB.php https://gitlab.com/dleonov/my-framework-two | PHP | 576 lines
                    
1<?php
                    
2/**
                    
7 *
                    
8 * SSDB PHP client SDK.
                    
9 */
                    
130	function request(){
                    
131		$args = func_get_args();
                    
132		$cmd = array_shift($args);
                    
216	function incr($key, $val=1){
                    
217		$args = func_get_args();
                    
218		return $this->__call(__FUNCTION__, $args);
                    
220	function decr($key, $val=1){
                    
221		$args = func_get_args();
                    
222		return $this->__call(__FUNCTION__, $args);
                    
224	function zincr($name, $key, $score=1){
                    
225		$args = func_get_args();
                    
226		return $this->__call(__FUNCTION__, $args);
                    
                
Payment.php https://gitlab.com/rubengrb/ws.vidrialum | PHP | 141 lines
                    
1<?php
                    
2/*
                    
60
                    
61		$args = func_get_args();
                    
62		$authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2);
                    
86
                    
87			$args = func_get_args();
                    
88			$authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2);
                    
105
                    
106			$args = func_get_args();
                    
107			$authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2);
                    
127
                    
128			$args = func_get_args();
                    
129			$authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 1);
                    
                
class-wp-walker.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 397 lines
                    
1<?php
                    
2/**
                    
175
                    
176		$args = array_slice(func_get_args(), 2);
                    
177		$output = '';
                    
265
                    
266		$args = array_slice( func_get_args(), 4 );
                    
267		$output = '';
                    
                
SelectExtender.php https://gitlab.com/reasonat/test8 | PHP | 536 lines
                    
1<?php
                    
2
                    
74  public function hasAllTags() {
                    
75    return call_user_func_array(array($this->query, 'hasAllTags'), func_get_args());
                    
76  }
                    
81  public function hasAnyTag() {
                    
82    return call_user_func_array(array($this->query, 'hasAnyTag'), func_get_args());
                    
83  }
                    
                
HeadLink.php https://gitlab.com/yousafsyed/easternglamor | PHP | 495 lines
                    
1<?php
                    
2/**
                    
61     *
                    
62     * Use PHP_EOL as separator
                    
63     */
                    
67
                    
68        $this->setSeparator(PHP_EOL);
                    
69    }
                    
82    {
                    
83        return call_user_func_array(array($this, '__invoke'), func_get_args());
                    
84    }
                    
                
Request.php https://gitlab.com/devtoannh/cafe | PHP | 439 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24require_once 'Zend/XmlRpc/Value.php';
                    
25
                    
28 */
                    
29require_once 'Zend/XmlRpc/Fault.php';
                    
30
                    
45 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
46 * @version $Id: Request.php 23775 2011-03-01 17:25:24Z ralph $
                    
47 */
                    
210        $argc = func_num_args();
                    
211        $argv = func_get_args();
                    
212        if (0 == $argc) {
                    
                
class-wp-admin-bar.php https://gitlab.com/puppet-br/puppet-br.org-wordpress | PHP | 474 lines
                    
77		if ( func_num_args() >= 3 && is_string( func_get_arg(0) ) )
                    
78			$args = array_merge( array( 'parent' => func_get_arg(0) ), func_get_arg(2) );
                    
79
                    
371
                    
372		?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $class ); ?>"><?php
                    
373			foreach ( $node->children as $item ) {
                    
400
                    
401		<li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $menuclass ); ?>"><?php
                    
402			if ( $has_link ):
                    
402			if ( $has_link ):
                    
403				?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php
                    
404					if ( ! empty( $node->meta['onclick'] ) ) :
                    
404					if ( ! empty( $node->meta['onclick'] ) ) :
                    
405						?> onclick="<?php echo esc_js( $node->meta['onclick'] ); ?>"<?php
                    
406					endif;
                    
                
class.json-api-links.php https://gitlab.com/memuller.web/wp_site | PHP | 269 lines
                    
1<?php
                    
2
                    
2
                    
3require_once dirname( __FILE__ ) . '/../class.json-api.php';
                    
4
                    
32	function get_link() {
                    
33		$args   = func_get_args();
                    
34		$format = array_shift( $args );
                    
                
Db.php https://gitlab.com/wuhang2003/typecho | PHP | 440 lines
                    
1<?php
                    
2/**
                    
6 * @license    GNU General Public License 2.0
                    
7 * @version    $Id: Db.php 107 2008-04-11 07:14:43Z magike.net $
                    
8 */
                    
290    {
                    
291        $args = func_get_args();
                    
292        return call_user_func_array(array($this->sql(), 'select'), $args ? $args : array('*'));
                    
                
Parametro.php https://gitlab.com/bluedrayco/Portafolio | PHP | 439 lines
                    
1<?php
                    
2
                    
26 * Listado de los Parametros
                    
27 * @param mixed func_get_args()[0] arreglo de opciones procedentes del query param
                    
28 * @return mixed objeto respuesta con los datos de los Parametros
                    
35                    'ControlEscolarCalendarioBundle:Parametro',
                    
36                    (count(func_get_args()[0]) > 0) ? func_get_args()[0] : array(),
                    
37                    null,
                    
39                    null,
                    
40                    (count(func_get_args()[0]) > 0) ? 'findByOpciones' : 'findBy'
                    
41            );
                    
                
Former.php https://gitlab.com/hatemdigify/digifyblog | PHP | 489 lines
                    
1<?php
                    
2namespace Former;
                    
300	{
                    
301		$rules = call_user_func_array('array_merge', func_get_args());
                    
302
                    
                
Request.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 445 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24#require_once 'Zend/XmlRpc/Value.php';
                    
25
                    
28 */
                    
29#require_once 'Zend/XmlRpc/Fault.php';
                    
30
                    
31/** @see Zend_Xml_Security */
                    
32#require_once 'Zend/Xml/Security.php';
                    
33
                    
34/** @see Zend_Xml_Exception */
                    
35#require_once 'Zend/Xml/Exception.php';
                    
36
                    
216        $argc = func_num_args();
                    
217        $argv = func_get_args();
                    
218        if (0 == $argc) {
                    
                
FilesystemAdapter.php https://gitlab.com/Sigpot/AirSpot | PHP | 383 lines
                    
1<?php
                    
2
                    
121     */
                    
122    public function prepend($path, $data, $separator = PHP_EOL)
                    
123    {
                    
137     */
                    
138    public function append($path, $data, $separator = PHP_EOL)
                    
139    {
                    
154    {
                    
155        $paths = is_array($paths) ? $paths : func_get_args();
                    
156
                    
                
FilesSize.php https://gitlab.com/Ltaimao/wecenter | PHP | 164 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25//require_once 'Zend/Validate/File/Size.php';
                    
26
                    
78        } elseif (!is_array($options)) {
                    
79            //require_once 'Zend/Validate/Exception.php';
                    
80            throw new Zend_Validate_Exception('Invalid options to validator provided');
                    
83        if (1 < func_num_args()) {
                    
84            $argv = func_get_args();
                    
85            array_shift($argv);
                    
106    {
                    
107        //require_once 'Zend/Loader.php';
                    
108        if (is_string($value)) {
                    
                
DateTest.php https://gitlab.com/Zinnurain/destination_finder_beta | PHP | 188 lines
                    
13        }
                    
14        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
15	}
                    
51		}
                    
52		$result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args);
                    
53		$this->assertEquals($expectedResult, $result);
                    
117		}
                    
118		$result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args);
                    
119		$this->assertEquals($expectedResult, $result);
                    
138		$expectedResult = array_pop($args);
                    
139		$result = call_user_func_array(array('PHPExcel_Shared_Date','PHPToExcel'),$args);
                    
140		$this->assertEquals($expectedResult, $result, NULL, 1E-5);
                    
178		}
                    
179		$result = call_user_func_array(array('PHPExcel_Shared_Date','ExcelToPHP'),$args);
                    
180		$this->assertEquals($expectedResult, $result);
                    
                
pages.php https://gitlab.com/RikaPM/vrindi | PHP | 330 lines
                    
1<?php
                    
2
                    
63    $collection = clone $this;
                    
64    foreach(func_get_args() as $uri) {
                    
65      if(is_array($uri) or $uri instanceof Traversable) {
                    
84
                    
85    $args = func_get_args();
                    
86
                    
                
FilesSize.php https://gitlab.com/rsilveira1987/Expresso | PHP | 164 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25require_once 'Zend/Validate/File/Size.php';
                    
26
                    
78        } elseif (!is_array($options)) {
                    
79            require_once 'Zend/Validate/Exception.php';
                    
80            throw new Zend_Validate_Exception('Invalid options to validator provided');
                    
83        if (1 < func_num_args()) {
                    
84            $argv = func_get_args();
                    
85            array_shift($argv);
                    
106    {
                    
107        require_once 'Zend/Loader.php';
                    
108        if (is_string($value)) {
                    
                
Connection.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 150 lines
                    
1<?php
                    
2/*
                    
143
                    
144        $stmt = call_user_func_array(array($this->_conn, 'query'), func_get_args());
                    
145        $stmt = new Statement($stmt, $this);
                    
                
FilesSize.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 164 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25#require_once 'Zend/Validate/File/Size.php';
                    
26
                    
78        } elseif (!is_array($options)) {
                    
79            #require_once 'Zend/Validate/Exception.php';
                    
80            throw new Zend_Validate_Exception('Invalid options to validator provided');
                    
83        if (1 < func_num_args()) {
                    
84            $argv = func_get_args();
                    
85            array_shift($argv);
                    
106    {
                    
107        #require_once 'Zend/Loader.php';
                    
108        if (is_string($value)) {
                    
                
Dispatcher.php https://gitlab.com/mdabutaleb/bitm-laravel-1 | PHP | 504 lines
                    
1<?php
                    
2
                    
347            return call_user_func_array(
                    
348                $this->createClassCallable($listener, $container), func_get_args()
                    
349            );
                    
410        return function () use ($class, $method) {
                    
411            $arguments = $this->cloneArgumentsForQueueing(func_get_args());
                    
412
                    
                
eventsearch.php https://gitlab.com/ricardosanchez/prueba | PHP | 386 lines
                    
1<?php
                    
2
                    
5 *
                    
6 * @version     $Id: eventsearch.php 3588 2012-05-02 10:40:19Z geraintedwards $
                    
7 * @package     Events
                    
18// setup for all required function and classes
                    
19$file = JPATH_SITE . '/components/com_jevents/mod.defines.php';
                    
20if (file_exists($file))
                    
22	include_once($file);
                    
23	include_once(JEV_LIBS . "/modfunctions.php");
                    
24}
                    
67	 *
                    
68	 * For php4 compatability we must not use the __constructor as a constructor for plugins
                    
69	 * because func_get_args ( void ) returns a copy of all passed arguments NOT references.
                    
143
                    
144		// See http://www.php.net/manual/en/timezones.php
                    
145		$tz = $params->get("icaltimezonelive", "");
                    
                
fpdf_tpl.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 449 lines
                    
1<?php
                    
2//
                    
135    	if (is_subclass_of($this, 'TCPDF')) {
                    
136        	$args = func_get_args();
                    
137        	return call_user_func_array(array($this, 'TCPDF::endTemplate'), $args);
                    
263        if (is_subclass_of($this, 'TCPDF')) {
                    
264        	$args = func_get_args();
                    
265        	return call_user_func_array(array($this, 'TCPDF::SetFont'), $args);
                    
289        if (is_subclass_of($this, 'TCPDF')) {
                    
290        	$args = func_get_args();
                    
291			return call_user_func_array(array($this, 'TCPDF::Image'), $args);
                    
310    	if (is_subclass_of($this, 'TCPDF')) {
                    
311        	$args = func_get_args();
                    
312        	return call_user_func_array(array($this, 'TCPDF::AddPage'), $args);
                    
325        if (is_subclass_of($this, 'TCPDF')) {
                    
326        	$args = func_get_args();
                    
327			return call_user_func_array(array($this, 'TCPDF::Link'), $args);
                    
                
xstandard.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 286 lines
                    
55		?>
                    
56  		<script type="text/javascript" src="<?php echo JURI::root() ?>/plugins/editors/xstandard/xstandard.js"></script>
                    
57		<?php
                    
158		<div style="border: 1px solid #D5D5D5">
                    
159		<object type="application/x-xstandard" id="xstandard" class="<?php echo $name ?>" width="<?php echo $width ?>" height="<?php echo $height ?>">
                    
160 			<param name="Value" value="<?php echo $content ?>" />
                    
183 			<param name="CMSCode" value="065126D6-357D-46FC-AF74-A1F5B2D5036E" />
                    
184 			<param name="CMSImageLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/imagelibrary.php" />
                    
185			<param name="CMSAttachmentLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/attachmentlibrary.php" />
                    
185			<param name="CMSAttachmentLibraryURL" value="<?php echo $url ?>plugins/editors/xstandard/attachmentlibrary.php" />
                    
186			<param name="CMSDirectoryURL" value="<?php echo $url ?>plugins/editors/xstandard/directory.php" />
                    
187			<param name="PreviewXSLT" value="<?php echo $url ?>plugins/editors/xstandard/preview.xsl" />
                    
192		</object>
                    
193 		<input type="hidden" id="<?php echo $name ?>" name="<?php echo $name ?>" value="" />
                    
194 		</div>
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
121    {
                    
122        $a = func_get_args();
                    
123        $controllerPath = $this->controller->getControllerActionPath();
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
                
functions.php https://gitlab.com/alexandresgv/siteentec | PHP | 226 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         3.0.0
                    
12 * @since         3.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
23     * @return mixed Translated string.
                    
24     * @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__
                    
25     */
                    
97     * @return string|null Plural form of translated string.
                    
98     * @link http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#__dn
                    
99     */
                    
                
RedirectResponse.php https://gitlab.com/ealexis.t/trends | PHP | 200 lines
                    
1<?php
                    
2
                    
93    {
                    
94        return $this->withInput($this->request->only(func_get_args()));
                    
95    }
                    
104    {
                    
105        return $this->withInput($this->request->except(func_get_args()));
                    
106    }
                    
                
class_image_gd.php https://gitlab.com/ilya.webcity/anna | PHP | 344 lines
                    
1<?php
                    
2
                    
9  * @copyright 2010, 2011 KCFinder Project
                    
10  *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
                    
11  *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
                    
278    protected function gdColor() {
                    
279        $args = func_get_args();
                    
280
                    
                
cron.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 400 lines
                    
1<?php
                    
2/**
                    
139		_deprecated_argument( __FUNCTION__, '3.0.0', __('This argument has changed to an array to match the behavior of the other cron functions.') );
                    
140		$args = array_slice( func_get_args(), 1 );
                    
141	}
                    
226
                    
227		WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
                    
228		return;
                    
232
                    
233	$cron_url = get_option( 'siteurl' ) . '/wp-cron.php?doing_wp_cron';
                    
234	wp_remote_post( $cron_url, array('timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters('https_local_ssl_verify', true)) );
                    
245
                    
246	// Prevent infinite loops caused by lack of wp-cron.php
                    
247	if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) )
                    
                
functions_plugins.inc.php https://gitlab.com/team_fsn/fsn-php | PHP | 451 lines
                    
5// | Copyright(C) 2008-2016 Piwigo Team                  http://piwigo.org |
                    
6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
                    
7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
                    
29/** base directory of plugins */
                    
30define('PHPWG_PLUGINS_PATH', PHPWG_ROOT_PATH.'plugins/');
                    
31/** default priority for plugins handlers */
                    
358{
                    
359  $file_name = PHPWG_PLUGINS_PATH.$plugin['id'].'/main.inc.php';
                    
360  if (file_exists($file_name))
                    
379  // try to find the filesystem version in lines 2 to 10 of main.inc.php
                    
380  $fh = fopen(PHPWG_PLUGINS_PATH.$plugin['id'].'/main.inc.php', 'r');
                    
381  $fs_version = null;
                    
404
                    
405    $maintain_file = PHPWG_PLUGINS_PATH.$plugin['id'].'/maintain.class.php';
                    
406
                    
                
DrizzlePlatform.php https://gitlab.com/adrianjose605/SaintW | PHP | 504 lines
                    
1<?php
                    
2/*
                    
54    {
                    
55        $args = func_get_args();
                    
56
                    
                
MockHandler.php https://gitlab.com/aleritty/yaitb | PHP | 163 lines
                    
1<?php
                    
2namespace GuzzleHttp\Handler;
                    
107    {
                    
108        foreach (func_get_args() as $value) {
                    
109            if ($value instanceof ResponseInterface
                    
                
class.wp-dependencies.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 509 lines
                    
1<?php
                    
2/**
                    
486	public function __construct() {
                    
487		@list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args();
                    
488		if ( ! is_array($this->deps) )
                    
                
NestedArray.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 352 lines
                    
1<?php
                    
2
                    
27   * // Do not do this! Avoid eval().
                    
28   * // May also throw a PHP notice, if the variable array keys do not exist.
                    
29   * eval('$value = $array[\'' . implode("']['", $parents) . "'];");
                    
145   *   requires the deletion of an already existing non-array parent value. If
                    
146   *   FALSE, PHP throws an error if trying to add into a value that is not an
                    
147   *   array. Defaults to FALSE.
                    
154    foreach ($parents as $parent) {
                    
155      // PHP auto-creates container arrays and NULL entries without error if $ref
                    
156      // is NULL, but throws an error if $ref is set, but not an array.
                    
264  public static function keyExists(array $array, array $parents) {
                    
265    // Although this function is similar to PHP's array_key_exists(), its
                    
266    // arguments should be consistent with getValue().
                    
274   *
                    
275   * This function is similar to PHP's array_merge_recursive() function, but it
                    
276   * handles non-array values differently. When merging values that are not both
                    
                
Store.php https://gitlab.com/zan_zan/laravel_sample | PHP | 682 lines
                    
1<?php
                    
2
                    
452    {
                    
453        $keys = is_array($keys) ? $keys : func_get_args();
                    
454
                    
                
AbstractDb.php https://gitlab.com/jalon/doadoronline | PHP | 327 lines
                    
1<?php
                    
2/**
                    
103        } elseif (func_num_args() > 1) {
                    
104            $options       = func_get_args();
                    
105            $firstArgument = array_shift($options);
                    
                
Search.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 466 lines
                    
1<?php
                    
2/*
                    
184  public static function &links() {
                    
185    $args = func_get_args();
                    
186    $hideOption = CRM_Utils_Array::value(0, $args);
                    
                
ResponseHeader.php https://gitlab.com/devtoannh/cafe | PHP | 400 lines
                    
23/** @see PHPUnit_Framework_Constraint */
                    
24require_once 'PHPUnit/Framework/Constraint.php';
                    
25
                    
124        if (!in_array($assertType, $this->_assertTypes)) {
                    
125            require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
                    
126            throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__));
                    
165                if (4 > $argc) {
                    
166                    require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
                    
167                    throw new Zend_Test_PHPUnit_Constraint_Exception('Both a header name and content to match are required for ' . __FUNCTION__);
                    
174            default:
                    
175                require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
                    
176                throw new Zend_Test_PHPUnit_Constraint_Exception('Invalid assertion type ' . __FUNCTION__);
                    
191    {
                    
192        require_once 'Zend/Test/PHPUnit/Constraint/Exception.php';
                    
193        switch ($this->_assertType) {
                    
                
FireLogger.php https://gitlab.com/paveltizek/shop | PHP | 178 lines
                    
1<?php
                    
2
                    
41		$item = array(
                    
42			'name' => 'PHP',
                    
43			'level' => $priority,
                    
50
                    
51		$args = func_get_args();
                    
52		if (isset($args[0]) && is_string($args[0])) {
                    
                
View.php https://gitlab.com/albertkeba/service | PHP | 282 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Slim - a micro PHP 5 framework
                    
4 *
                    
166    {
                    
167        $args = func_get_args();
                    
168        if (count($args) === 1 && is_array($args[0])) {
                    
                
Subject.php https://gitlab.com/judielsm/Handora | PHP | 267 lines
                    
1<?php
                    
2
                    
3/*
                    
4 * This file is part of PhpSpec, A php toolset to drive emergent
                    
5 * design by specification.
                    
13
                    
14namespace PhpSpec\Wrapper;
                    
15
                    
15
                    
16use PhpSpec\Wrapper\Subject\WrappedObject;
                    
17use PhpSpec\Wrapper\Subject\Caller;
                    
17use PhpSpec\Wrapper\Subject\Caller;
                    
18use PhpSpec\Wrapper\Subject\SubjectWithArrayAccess;
                    
19use PhpSpec\Wrapper\Subject\ExpectationFactory;
                    
19use PhpSpec\Wrapper\Subject\ExpectationFactory;
                    
20use PhpSpec\Util\Instantiator;
                    
21use ArrayAccess;
                    
                
Abstract.php https://gitlab.com/Ltaimao/wecenter | PHP | 355 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25//require_once 'Zend/Validate/Abstract.php';
                    
26
                    
110        } else if (func_num_args() > 1) {
                    
111            $options       = func_get_args();
                    
112            $temp['table'] = array_shift($options);
                    
125        if (!array_key_exists('table', $options) && !array_key_exists('schema', $options)) {
                    
126            //require_once 'Zend/Validate/Exception.php';
                    
127            throw new Zend_Validate_Exception('Table or Schema option missing!');
                    
130        if (!array_key_exists('field', $options)) {
                    
131            //require_once 'Zend/Validate/Exception.php';
                    
132            throw new Zend_Validate_Exception('Field option missing!');
                    
166            if (null === $this->_adapter) {
                    
167                //require_once 'Zend/Validate/Exception.php';
                    
168                throw new Zend_Validate_Exception('No database adapter present');
                    
                
InArray.php https://gitlab.com/yasminmostfa/thomas-site | PHP | 204 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: InArray.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
24 */
                    
25// require_once 'Zend/Validate/Abstract.php';
                    
26
                    
75        } else if (!is_array($options)) {
                    
76            // require_once 'Zend/Validate/Exception.php';
                    
77            throw new Zend_Validate_Exception('Array expected as parameter');
                    
81            if ($count > 1) {
                    
82                $temp['haystack'] = func_get_arg(0);
                    
83                $temp['strict']   = func_get_arg(1);
                    
85            } else {
                    
86                $temp = func_get_arg(0);
                    
87                if (!array_key_exists('haystack', $options)) {
                    
                
Helpers.php https://gitlab.com/paveltizek/shop | PHP | 221 lines
                    
1<?php
                    
2
                    
55	{
                    
56		$args = func_get_args();
                    
57		return preg_replace_callback('#%#', function () use (& $args, & $count) {
                    
115	{
                    
116		if (PHP_VERSION_ID < 50400) {
                    
117			return @iconv('UTF-16', 'UTF-8//IGNORE', iconv('UTF-8', 'UTF-16//IGNORE', $s)); // intentionally @
                    
                
Xml.php https://gitlab.com/devtoannh/cafe | PHP | 165 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Xml.php 24237 2011-07-13 18:22:20Z matthew $
                    
21 */
                    
23/** Zend_Log_Formatter_Abstract */
                    
24require_once 'Zend/Log/Formatter/Abstract.php';
                    
25
                    
31 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
32 * @version    $Id: Xml.php 24237 2011-07-13 18:22:20Z matthew $
                    
33 */
                    
62        } elseif (!is_array($options)) {
                    
63            $args = func_get_args();
                    
64
                    
162
                    
163        return $xml . PHP_EOL;
                    
164    }
                    
                
Abstract.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 355 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25#require_once 'Zend/Validate/Abstract.php';
                    
26
                    
110        } else if (func_num_args() > 1) {
                    
111            $options       = func_get_args();
                    
112            $temp['table'] = array_shift($options);
                    
125        if (!array_key_exists('table', $options) && !array_key_exists('schema', $options)) {
                    
126            #require_once 'Zend/Validate/Exception.php';
                    
127            throw new Zend_Validate_Exception('Table or Schema option missing!');
                    
130        if (!array_key_exists('field', $options)) {
                    
131            #require_once 'Zend/Validate/Exception.php';
                    
132            throw new Zend_Validate_Exception('Field option missing!');
                    
166            if (null === $this->_adapter) {
                    
167                #require_once 'Zend/Validate/Exception.php';
                    
168                throw new Zend_Validate_Exception('No database adapter present');
                    
                
class-wp-admin-bar.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 507 lines
                    
377
                    
378		?><div id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="ab-group-container"><?php
                    
379			foreach ( $node->children as $group ) {
                    
396
                    
397		?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $class; ?>><?php
                    
398			foreach ( $node->children as $item ) {
                    
428
                    
429		<li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $menuclass; ?>><?php
                    
430			if ( $has_link ):
                    
430			if ( $has_link ):
                    
431				?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php
                    
432					if ( ! empty( $node->meta['onclick'] ) ) :
                    
444				if ( ! empty( $node->meta['title'] ) ) :
                    
445					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
                    
446				endif;
                    
                
Filesystem.php https://gitlab.com/Sigpot/AirSpot | PHP | 514 lines
                    
1<?php
                    
2
                    
149    {
                    
150        $paths = is_array($paths) ? $paths : func_get_args();
                    
151
                    
                
ListController.php https://gitlab.com/gideonmarked/yovelife | PHP | 486 lines
                    
1<?php namespace Backend\Behaviors;
                    
2
                    
259        if (method_exists($this->controller, 'onDelete')) {
                    
260            return call_user_func_array([$this->controller, 'onDelete'], func_get_args());
                    
261        }
                    
345
                    
346        return implode(PHP_EOL, $collection);
                    
347    }
                    
                
class-social-facebook.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 482 lines
                    
1<?php
                    
2/**
                    
99
                    
100		return trim( parse_url( $admin_id, PHP_URL_PATH ), '/' );
                    
101	}
                    
190		$_SERVER['REQUEST_URI'] = remove_query_arg(
                    
191			func_get_args(),
                    
192			filter_input(
                    
243	 */
                    
244	private $admin_url = 'admin.php?page=wpseo_social';
                    
245
                    
                
rewrite.php https://gitlab.com/Gashler/dp | PHP | 1688 lines
                    
1<?php
                    
2/**
                    
71	if ( func_num_args() == 4 )
                    
72		$args['ep_mask'] = func_get_arg( 3 );
                    
73
                    
254 *
                    
255 * To remove any manually prepended /index.php/.
                    
256 *
                    
264	if ( !empty( $base ) ) {
                    
265		$base = preg_replace( '|^/index\.php/|', '', $base );
                    
266		$base = trim( $base, '/' );
                    
315
                    
316	// Strip 'index.php/' if we're not using path info permalinks
                    
317	if ( !$wp_rewrite->using_index_permalinks() )
                    
547	 */
                    
548	var $index = 'index.php';
                    
549
                    
                
plugin.php https://gitlab.com/Gashler/dp | PHP | 790 lines
                    
1<?php
                    
2/**
                    
10 * Any of the syntaxes explained in the PHP documentation for the
                    
11 * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
                    
12 * type are valid.
                    
26 * before adding it to the database or sending it to the browser screen. Plugins
                    
27 * can specify that one or more of its PHP functions is executed to
                    
28 * modify specific types of text at these times, using the Filter API.
                    
144		$wp_current_filter[] = $tag;
                    
145		$args = func_get_args();
                    
146		_wp_call_all_hook($args);
                    
166	if ( empty($args) )
                    
167		$args = func_get_args();
                    
168
                    
205		$wp_current_filter[] = $tag;
                    
206		$all_args = func_get_args();
                    
207		_wp_call_all_hook($all_args);
                    
                
list-servers.inc.php https://gitlab.com/Gashler/dp | PHP | 391 lines
                    
1<?php
                    
2/**
                    
66				*
                    
67				* @todo Integrate {@link https://labs.aweber.com/docs/php-library-walkthrough AWeber's API}.
                    
68				* @todo Add a separate option for mail debugging; or consolidate?
                    
78
                    
79						if (c_ws_plugin__s2member_list_servers::list_servers_integrated () && ($args = func_get_args ()) && $role && is_string ($role) && is_numeric ($level) && $login && is_string ($login) && is_string ($pass = (string)$pass) && $email && is_string ($email) && is_email ($email) && is_string ($fname = (string)$fname) && is_string ($lname = (string)$lname) && is_string ($ip = (string)$ip) && is_bool ($opt_in = (bool)$opt_in) && $opt_in && is_bool ($double_opt_in = (bool)$double_opt_in) && $user_id && is_numeric ($user_id) && is_object ($user = new WP_User ($user_id)) && !empty ($user->ID))
                    
80							{
                    
88										if /* Include the MailChimp® API Class here. */ (!class_exists ("NC_MCAPI"))
                    
89											include_once /* MailChimp® API (no-conflict version). */ dirname (dirname (__FILE__)) . "/externals/mailchimp/nc-mcapi.inc.php";
                    
90
                    
94											{
                    
95												$mailchimp = array ("function" => __FUNCTION__, "func_get_args" => $args, "api_method" => "listSubscribe");
                    
96
                    
149											{
                    
150												$aweber = array ("function" => __FUNCTION__, "func_get_args" => $args, "wp_mail_method" => "listSubscribe");
                    
151
                    
                
plugin.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 771 lines
                    
1<?php
                    
2/**
                    
10 * Any of the syntaxes explained in the PHP documentation for the
                    
11 * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
                    
12 * type are valid.
                    
26 * before adding it to the database or sending it to the browser screen. Plugins
                    
27 * can specify that one or more of its PHP functions is executed to
                    
28 * modify specific types of text at these times, using the Filter API.
                    
141	if ( isset($wp_filter['all']) ) {
                    
142		$args = func_get_args();
                    
143		_wp_call_all_hook($args);
                    
159	if ( empty($args) )
                    
160		$args = func_get_args();
                    
161
                    
199	if ( isset($wp_filter['all']) ) {
                    
200		$all_args = func_get_args();
                    
201		_wp_call_all_hook($all_args);
                    
                
user.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 863 lines
                    
1<?php
                    
2/**
                    
24		global $current_user, $wp_roles;
                    
25		$user_id = (int) func_get_arg( 0 );
                    
26
                    
48 *
                    
49 * Used on user-edit.php and profile.php to manage and process user options, passwords etc.
                    
50 *
                    
                
php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 233 lines
                    
97  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
98  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
                    
99  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
141      "{": function(_stream, state) {
                    
142        if (state.phpEncapsStack && state.phpEncapsStack.length > 0)
                    
143          state.phpEncapsStack[state.phpEncapsStack.length - 1]++;
                    
147        if (state.phpEncapsStack && state.phpEncapsStack.length > 0)
                    
148          if (--state.phpEncapsStack[state.phpEncapsStack.length - 1] == 0)
                    
149            state.tokenize = stringWithEscapes;
                    
156    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
157    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
158
                    
159    function dispatch(stream, state) {
                    
160      var isPHP = state.curMode == phpMode;
                    
161      if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null;
                    
                
php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 233 lines
                    
97  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
98  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once";
                    
99  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
141      "{": function(_stream, state) {
                    
142        if (state.phpEncapsStack && state.phpEncapsStack.length > 0)
                    
143          state.phpEncapsStack[state.phpEncapsStack.length - 1]++;
                    
195      startState: function() {
                    
196        var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
                    
197        return {html: html,
                    
197        return {html: html,
                    
198                php: php,
                    
199                curMode: parserConfig.startOpen ? phpMode : htmlMode,
                    
205        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
206            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
207        if (state.curMode == htmlMode) cur = htmlNew;
                    
                
Store.php https://gitlab.com/techniconline/kmc | PHP | 672 lines
                    
1<?php namespace Illuminate\Session;
                    
2
                    
441    {
                    
442        $keys = is_array($keys) ? $keys : func_get_args();
                    
443
                    
                
TextDataTest.php https://gitlab.com/Zinnurain/destination_finder_beta | PHP | 365 lines
                    
1<?php
                    
2
                    
3
                    
4require_once 'testDataFileIterator.php';
                    
5
                    
5
                    
6class TextDataTest extends PHPUnit_Framework_TestCase
                    
7{
                    
10    {
                    
11        if (!defined('PHPEXCEL_ROOT'))
                    
12        {
                    
14        }
                    
15        require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
                    
16
                    
16
                    
17        PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);
                    
18	}
                    
                
Verify.php https://gitlab.com/I-NOZex/quiz | PHP | 307 lines
                    
1<?php
                    
2namespace Codeception;
                    
3
                    
4use PHPUnit_Framework_Assert as a;
                    
5
                    
18        } else {
                    
19            $actual = func_get_args();
                    
20            $this->actual = $actual[1];
                    
                
NTLMAuthenticator.php https://gitlab.com/fiesta-framework/Documentation | PHP | 700 lines
                    
1<?php
                    
2
                    
61            // extra parameters for our unit cases
                    
62            $timestamp = func_num_args() > 3 ? func_get_arg(3) : $this->getCorrectTimestamp(bcmul(microtime(true), "1000"));
                    
63            $client = func_num_args() > 4 ? func_get_arg(4) : $this->getRandomBytes(8);
                    
                
NTLMAuthenticator.php https://gitlab.com/ealexis.t/trends | PHP | 726 lines
                    
1<?php
                    
2
                    
61            // extra parameters for our unit cases
                    
62            $timestamp = func_num_args() > 3 ? func_get_arg(3) : $this->getCorrectTimestamp(bcmul(microtime(true), '1000'));
                    
63            $client = func_num_args() > 4 ? func_get_arg(4) : $this->getRandomBytes(8);
                    
                
Functions.php https://gitlab.com/ealexis.t/trends | PHP | 1937 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 * This file is part of PHPUnit.
                    
4 *
                    
4 *
                    
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
                    
6 *
                    
14 *
                    
15 * @return PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
                    
16 *
                    
21    return call_user_func_array(
                    
22        'PHPUnit_Framework_TestCase::any',
                    
23        func_get_args()
                    
27/**
                    
28 * Returns a PHPUnit_Framework_Constraint_IsAnything matcher object.
                    
29 *
                    
                
Mock.php https://gitlab.com/ealexis.t/trends | PHP | 758 lines
                    
1<?php
                    
2/**
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to padraic@php.net so we can send you a copy immediately.
                    
14 *
                    
141    /**
                    
142     * We want to avoid constructors since class is copied to Generator.php
                    
143     * for inclusion on extending class definitions.
                    
182        $lastExpectation = \Mockery::parseShouldReturnArgs(
                    
183            $this, func_get_args(), function ($method) use ($self, $nonPublicMethods, $allowMockingProtectedMethods) {
                    
184                $rm = $self->mockery_getMethod($method);
                    
214    {
                    
215        $expectation = call_user_func_array(array($this, 'shouldReceive'), func_get_args());
                    
216        $expectation->never();
                    
                
Expectation.php https://gitlab.com/ealexis.t/trends | PHP | 757 lines
                    
1<?php
                    
2/**
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to padraic@php.net so we can send you a copy immediately.
                    
14 *
                    
221        $rm = $this->_mock->mockery_getMethod($this->_name);
                    
222        if ($rm && version_compare(PHP_VERSION, '7.0.0-dev') >= 0 && $rm->hasReturnType()) {
                    
223            $type = (string) $rm->getReturnType();
                    
372    {
                    
373        return $this->withArgs(func_get_args());
                    
374    }
                    
422    {
                    
423        $this->_returnQueue = func_get_args();
                    
424        return $this;
                    
458    {
                    
459        $this->_closureQueue = func_get_args();
                    
460        return $this;
                    
                
Container.php https://gitlab.com/ealexis.t/trends | PHP | 524 lines
                    
1<?php
                    
2/**
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to padraic@php.net so we can send you a copy immediately.
                    
14 *
                    
97        $blocks = array();
                    
98        $args = func_get_args();
                    
99
                    
                
Mockery.php https://gitlab.com/ealexis.t/trends | PHP | 739 lines
                    
1<?php
                    
2/**
                    
12 * obtain it through the world-wide-web, please send an email
                    
13 * to padraic@php.net so we can send you a copy immediately.
                    
14 *
                    
71    {
                    
72        $args = func_get_args();
                    
73
                    
81    {
                    
82        $args = func_get_args();
                    
83        return call_user_func_array(array(self::getContainer(), 'mock'), $args)->shouldIgnoreMissing();
                    
90    {
                    
91        $args = func_get_args();
                    
92
                    
102    {
                    
103        $args = func_get_args();
                    
104        $name = array_shift($args);
                    
                
Factory.php https://gitlab.com/ealexis.t/trends | PHP | 974 lines
                    
1<?php
                    
2
                    
70     */
                    
71    protected $extensions = ['blade.php' => 'blade', 'php' => 'php'];
                    
72
                    
479
                    
480            return call_user_func_array($callable, func_get_args());
                    
481        };
                    
                
helpers.php https://gitlab.com/ealexis.t/trends | PHP | 893 lines
                    
1<?php
                    
2
                    
511            (new Dumper)->dump($x);
                    
512        }, func_get_args());
                    
513
                    
                
Collection.php https://gitlab.com/ealexis.t/trends | PHP | 1170 lines
                    
1<?php
                    
2
                    
185    {
                    
186        $keys = is_array($keys) ? $keys : func_get_args();
                    
187
                    
589    {
                    
590        $keys = is_array($keys) ? $keys : func_get_args();
                    
591
                    
                
Request.php https://gitlab.com/ealexis.t/trends | PHP | 1058 lines
                    
1<?php
                    
2
                    
182    {
                    
183        foreach (func_get_args() as $pattern) {
                    
184            if (Str::is($pattern, urldecode($this->path()))) {
                    
201
                    
202        foreach (func_get_args() as $pattern) {
                    
203            if (Str::is($pattern, $url)) {
                    
268    {
                    
269        $keys = is_array($key) ? $key : func_get_args();
                    
270
                    
289    {
                    
290        $keys = is_array($key) ? $key : func_get_args();
                    
291
                    
347    {
                    
348        $keys = is_array($keys) ? $keys : func_get_args();
                    
349
                    
                
Blueprint.php https://gitlab.com/ealexis.t/trends | PHP | 1062 lines
                    
1<?php
                    
2
                    
227    {
                    
228        $columns = is_array($columns) ? $columns : (array) func_get_args();
                    
229
                    
                
Builder.php https://gitlab.com/ealexis.t/trends | PHP | 1832 lines
                    
1<?php
                    
2
                    
231    {
                    
232        $this->columns = is_array($columns) ? $columns : func_get_args();
                    
233
                    
292    {
                    
293        $column = is_array($column) ? $column : func_get_args();
                    
294
                    
                
BelongsToMany.php https://gitlab.com/ealexis.t/trends | PHP | 1297 lines
                    
1<?php
                    
2
                    
118    {
                    
119        $this->pivotWheres[] = func_get_args();
                    
120
                    
134    {
                    
135        $this->pivotWheres[] = func_get_args();
                    
136
                    
                
Container.php https://gitlab.com/ealexis.t/trends | PHP | 1237 lines
                    
1<?php
                    
2
                    
360    {
                    
361        $tags = is_array($tags) ? $tags : array_slice(func_get_args(), 1);
                    
362
                    
                
Event.php https://gitlab.com/ealexis.t/trends | PHP | 928 lines
                    
1<?php
                    
2
                    
592    {
                    
593        $days = is_array($days) ? $days : func_get_args();
                    
594
                    
643    {
                    
644        $this->environments = is_array($environments) ? $environments : func_get_args();
                    
645
                    
                
Matchers.php https://gitlab.com/ealexis.t/trends | PHP | 713 lines
                    
1<?php
                    
2
                    
21    {
                    
22        $args = func_get_args();
                    
23        return call_user_func_array(array('\Hamcrest\Arrays\IsArray', 'anArray'), $args);
                    
54    {
                    
55        $args = func_get_args();
                    
56        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInAnyOrder', 'arrayContainingInAnyOrder'), $args);
                    
63    {
                    
64        $args = func_get_args();
                    
65        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInAnyOrder', 'arrayContainingInAnyOrder'), $args);
                    
72    {
                    
73        $args = func_get_args();
                    
74        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInOrder', 'arrayContaining'), $args);
                    
81    {
                    
82        $args = func_get_args();
                    
83        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInOrder', 'arrayContaining'), $args);
                    
                
Hamcrest.php https://gitlab.com/ealexis.t/trends | PHP | 805 lines
                    
1<?php
                    
2
                    
24    {
                    
25        $args = func_get_args();
                    
26        call_user_func_array(
                    
37    {
                    
38        $args = func_get_args();
                    
39        return call_user_func_array(array('\Hamcrest\Arrays\IsArray', 'anArray'), $args);
                    
73    {
                    
74        $args = func_get_args();
                    
75        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInAnyOrder', 'arrayContainingInAnyOrder'), $args);
                    
83    {
                    
84        $args = func_get_args();
                    
85        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInAnyOrder', 'arrayContainingInAnyOrder'), $args);
                    
93    {
                    
94        $args = func_get_args();
                    
95        return call_user_func_array(array('\Hamcrest\Arrays\IsArrayContainingInOrder', 'arrayContaining'), $args);
                    
                
meekrodb.php https://gitlab.com/JoelSanchez/lampadario | PHP | 956 lines
                    
1<?php
                    
2/*
                    
66  // yes, this is ugly. __callStatic() only works in 5.3+
                    
67  public static function get() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'get'), $args); }
                    
68  public static function disconnect() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'disconnect'), $args); }
                    
68  public static function disconnect() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'disconnect'), $args); }
                    
69  public static function query() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'query'), $args); }
                    
70  public static function queryFirstRow() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFirstRow'), $args); }
                    
70  public static function queryFirstRow() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFirstRow'), $args); }
                    
71  public static function queryOneRow() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryOneRow'), $args); }
                    
72  public static function queryAllLists() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryAllLists'), $args); }
                    
72  public static function queryAllLists() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryAllLists'), $args); }
                    
73  public static function queryFullColumns() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFullColumns'), $args); }
                    
74  public static function queryFirstList() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFirstList'), $args); }
                    
74  public static function queryFirstList() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFirstList'), $args); }
                    
75  public static function queryOneList() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryOneList'), $args); }
                    
76  public static function queryFirstColumn() { $args = func_get_args(); return call_user_func_array(array(DB::getMDB(), 'queryFirstColumn'), $args); }
                    
                
rewrite.php https://gitlab.com/VTTE/sitios-vtte | PHP | 621 lines
                    
1<?php
                    
2/**
                    
210	if ( func_num_args() == 4 ) {
                    
211		$args['ep_mask'] = func_get_arg( 3 );
                    
212	}
                    
321 *
                    
322 * To remove any manually prepended /index.php/.
                    
323 *
                    
331	if ( ! empty( $base ) ) {
                    
332		$base = preg_replace( '|^/index\.php/|', '', $base );
                    
333		$base = trim( $base, '/' );
                    
479
                    
480	$url_host      = str_replace( 'www.', '', parse_url( $url, PHP_URL_HOST ) );
                    
481	$home_url_host = str_replace( 'www.', '', parse_url( home_url(), PHP_URL_HOST ) );
                    
504	// Set the correct URL scheme.
                    
505	$scheme = parse_url( home_url(), PHP_URL_SCHEME );
                    
506	$url    = set_url_scheme( $url, $scheme );
                    
                
plugin.php https://gitlab.com/VTTE/sitios-vtte | PHP | 931 lines
                    
1<?php
                    
2/**
                    
10 * Any of the syntaxes explained in the PHP documentation for the
                    
11 * {@link https://www.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
                    
12 * type are valid.
                    
24// Initialize the filter globals.
                    
25require __DIR__ . '/class-wp-hook.php';
                    
26
                    
183
                    
184	$args = func_get_args();
                    
185
                    
233		$wp_current_filter[] = $tag;
                    
234		$all_args            = func_get_args();
                    
235		_wp_call_all_hook( $all_args );
                    
387 * during execution, or when specific events occur. Plugins can specify that
                    
388 * one or more of its PHP functions are executed at these points, using the
                    
389 * Action API.
                    
                
cron.php https://gitlab.com/VTTE/sitios-vtte | PHP | 998 lines
                    
1<?php
                    
2/**
                    
207
                    
208	/** This filter is documented in wp-includes/cron.php */
                    
209	$pre = apply_filters( 'pre_schedule_event', null, $event );
                    
213
                    
214	/** This filter is documented in wp-includes/cron.php */
                    
215	$event = apply_filters( 'schedule_event', $event );
                    
386 * value which evaluates to FALSE. For information about casting to booleans see the
                    
387 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use
                    
388 * the `===` operator for testing the return value of this function.
                    
404		_deprecated_argument( __FUNCTION__, '3.0.0', __( 'This argument has changed to an array to match the behavior of the other cron functions.' ) );
                    
405		$args = array_slice( func_get_args(), 1 );
                    
406	}
                    
                
class-wp-admin-bar.php https://gitlab.com/VTTE/sitios-vtte | PHP | 640 lines
                    
1<?php
                    
2/**
                    
126		if ( func_num_args() >= 3 && is_string( $args ) ) {
                    
127			$args = array_merge( array( 'parent' => $args ), func_get_arg( 2 ) );
                    
128		}
                    
448		?>
                    
449		<div id="wpadminbar" class="<?php echo $class; ?>">
                    
450			<?php if ( ! is_admin() ) { ?>
                    
450			<?php if ( ! is_admin() ) { ?>
                    
451				<a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1"><?php _e( 'Skip to toolbar' ); ?></a>
                    
452			<?php } ?>
                    
452			<?php } ?>
                    
453			<div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="<?php esc_attr_e( 'Toolbar' ); ?>">
                    
454				<?php
                    
460			<?php if ( is_user_logged_in() ) : ?>
                    
461			<a class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e( 'Log Out' ); ?></a>
                    
462			<?php endif; ?>
                    
                
Soundcloud.php https://gitlab.com/x33n/SellCloudMusic | PHP | 942 lines
                    
1<?php
                    
2require_once 'Exception.php';
                    
2require_once 'Exception.php';
                    
3require_once 'Version.php';
                    
4
                    
11 * @copyright 2010 Anton Lindqvist <anton@qvister.se>
                    
12 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link      http://github.com/mptre/php-soundcloud
                    
205     */
                    
206    private static $_userAgent = 'PHP-SoundCloud';
                    
207
                    
518    {
                    
519        $args = func_get_args();
                    
520        $options = (is_array($args[0]))
                    
                
ProjectDataObject.class.php https://gitlab.com/x33n/ProjectPier-Core | PHP | 852 lines
                    
1<?php
                    
2
                    
340      }
                    
341      $args = array_flat(func_get_args());
                    
342      return Tags::setObjectTags($args, $this, get_class($this->manager()), $this->getProject());
                    
                
Client.php https://gitlab.com/x33n/platform | PHP | 1350 lines
                    
1<?php
                    
2namespace Dropbox;
                    
86        // The $host parameter is sort of internal.  We don't include it in the param list because
                    
87        // we don't want it to be included in the documentation.  Use PHP arg list hacks to get at
                    
88        // it.
                    
90        if (\func_num_args() == 4) {
                    
91            $host = \func_get_arg(3);
                    
92            Host::checkArgOrNull("host", $host);
                    
                
php.js https://gitlab.com/x33n/CodeMirror | JavaScript | 234 lines
                    
33  function phpString(closing, escapes) {
                    
34    return function(stream, state) { return phpString_(stream, state, closing, escapes); };
                    
35  }
                    
35  }
                    
36  function phpString_(stream, state, closing, escapes) {
                    
37    // "Complex" syntax
                    
88  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
89  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
                    
90  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
90  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
91  CodeMirror.registerHelper("wordChars", "php", /[\w$]/);
                    
92
                    
92
                    
93  var phpConfig = {
                    
94    name: "clike",
                    
                
Soundcloud.php https://gitlab.com/x33n/ampache | PHP | 1004 lines
                    
1<?php
                    
2require_once 'Soundcloud/Exception.php';
                    
2require_once 'Soundcloud/Exception.php';
                    
3require_once 'Soundcloud/Version.php';
                    
4
                    
11 * @copyright 2010 Anton Lindqvist <anton@qvister.se>
                    
12 * @license   http://www.opensource.org/licenses/mit-license.php MIT
                    
13 * @link      http://github.com/mptre/php-soundcloud
                    
206     */
                    
207    private static $_userAgent = 'PHP-SoundCloud';
                    
208
                    
519    {
                    
520        $args = func_get_args();
                    
521        $options = (is_array($args[0]))
                    
                
conditionals.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 632 lines
                    
5 *
                    
6 * This exercises both query.php and rewrite.php: urls are fed through the rewrite code,
                    
7 * then we test the effects of each url on the wp_query object.
                    
51		);
                    
52		$true = func_get_args();
                    
53
                    
138
                    
139	// '(about)/trackback/?$' => 'index.php?pagename=$matches[1]&tb=1'
                    
140	function test_page_trackback() {
                    
261	// 'about/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',
                    
262	// 'about/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
                    
263	// 'about/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',
                    
353
                    
354	// 'search/(.+)/?$' => 'index.php?s=$matches[1]',
                    
355	function test_search() {
                    
                
plugin.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 809 lines
                    
1<?php
                    
2/**
                    
10 * Any of the syntaxes explained in the PHP documentation for the
                    
11 * {@link http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}
                    
12 * type are valid.
                    
170		$wp_current_filter[] = $tag;
                    
171		$args = func_get_args();
                    
172		_wp_call_all_hook($args);
                    
192	if ( empty($args) )
                    
193		$args = func_get_args();
                    
194
                    
231		$wp_current_filter[] = $tag;
                    
232		$all_args = func_get_args();
                    
233		_wp_call_all_hook($all_args);
                    
344 * during execution, or when specific events occur. Plugins can specify that
                    
345 * one or more of its PHP functions are executed at these points, using the
                    
346 * Action API.
                    
                
class-wp-upgrader-skins.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 654 lines
                    
1<?php
                    
2/**
                    
79		if ( strpos($string, '%') !== false ) {
                    
80			$args = func_get_args();
                    
81			$args = array_splice($args, 1);
                    
123		if ( !empty($this->plugin) && !is_wp_error($this->result) && $this->plugin_active ){
                    
124			echo '<iframe style="border:0;overflow:hidden" width="100%" height="170px" src="' . wp_nonce_url('update.php?action=activate-plugin&networkwide=' . $this->plugin_network_active . '&plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin) .'"></iframe>';
                    
125		}
                    
127		$update_actions =  array(
                    
128			'activate_plugin' => '<a href="' . wp_nonce_url('plugins.php?action=activate&amp;plugin=' . urlencode( $this->plugin ), 'activate-plugin_' . $this->plugin) . '" title="' . esc_attr__('Activate this plugin') . '" target="_parent">' . __('Activate Plugin') . '</a>',
                    
129			'plugins_page' => '<a href="' . self_admin_url('plugins.php') . '" title="' . esc_attr__('Go to plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>'
                    
170		if ( strpos($string, '%') !== false ) {
                    
171			$args = func_get_args();
                    
172			$args = array_splice($args, 1);
                    
278		$update_actions =  array(
                    
279			'plugins_page' => '<a href="' . self_admin_url('plugins.php') . '" title="' . esc_attr__('Go to plugins page') . '" target="_parent">' . __('Return to Plugins page') . '</a>',
                    
280			'updates_page' => '<a href="' . self_admin_url('update-core.php') . '" title="' . esc_attr__('Go to WordPress Updates page') . '" target="_parent">' . __('Return to WordPress Updates') . '</a>'
                    
                
rewrite.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 1688 lines
                    
1<?php
                    
2/**
                    
71	if ( func_num_args() == 4 )
                    
72		$args['ep_mask'] = func_get_arg( 3 );
                    
73
                    
254 *
                    
255 * To remove any manually prepended /index.php/.
                    
256 *
                    
264	if ( !empty( $base ) ) {
                    
265		$base = preg_replace( '|^/index\.php/|', '', $base );
                    
266		$base = trim( $base, '/' );
                    
315
                    
316	// Strip 'index.php/' if we're not using path info permalinks
                    
317	if ( !$wp_rewrite->using_index_permalinks() )
                    
317	if ( !$wp_rewrite->using_index_permalinks() )
                    
318		$url = str_replace('index.php/', '', $url);
                    
319
                    
                
em-events.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 397 lines
                    
1<?php
                    
2//TODO EM_Events is currently static, better we make this non-static so we can loop sets of events, and standardize with other objects.
                    
166		//Can be either an array for the get search or an array of EM_Event objects
                    
167		$func_args = func_get_args();
                    
168		$page = 1; //default
                    
172		if( is_object(current($args)) && get_class((current($args))) == 'EM_Event' ){
                    
173			$func_args = func_get_args();
                    
174			$events = $func_args[0];
                    
222		
                    
223		//TODO check if reference is ok when restoring object, due to changes in php5 v 4
                    
224		$EM_Event = $EM_Event_old;
                    
                
simple_function_call.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 1394 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
6   +----------------------------------------------------------------------+
                    
7   | This source file is subject to version 3.01 of the PHP license,      |
                    
8   | that is bundled with this package in the file LICENSE, and is        |
                    
9   | available through the world-wide-web at the following url:           |
                    
10   | http://www.php.net/license/3_01.txt                                  |
                    
11   | If you did not receive a copy of the PHP license and are unable to   |
                    
12   | obtain it through the world-wide-web, please send a note to          |
                    
13   | license@php.net so we can mail you a copy immediately.               |
                    
14   +----------------------------------------------------------------------+
                    
16
                    
17#include "hphp/compiler/expression/simple_function_call.h"
                    
18#include <folly/Conv.h>
                    
                
php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 226 lines
                    
87  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
88  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";
                    
89  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
91
                    
92  var phpConfig = {
                    
93    name: "clike",
                    
93    name: "clike",
                    
94    helperType: "php",
                    
95    keywords: keywords(phpKeywords),
                    
149    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
150    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
151
                    
152    function dispatch(stream, state) {
                    
153      var isPHP = state.curMode == phpMode;
                    
154      if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null;
                    
                
php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 230 lines
                    
94  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
95  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once";
                    
96  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
192      startState: function() {
                    
193        var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
                    
194        return {html: html,
                    
194        return {html: html,
                    
195                php: php,
                    
196                curMode: parserConfig.startOpen ? phpMode : htmlMode,
                    
202        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
203            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
204        if (state.curMode == htmlMode) cur = htmlNew;
                    
205        else cur = phpNew;
                    
206        return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur,
                    
207                pending: state.pend
                    
                
php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 221 lines
                    
85  var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__";
                    
86  var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once";
                    
87  CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" "));
                    
183      startState: function() {
                    
184        var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode);
                    
185        return {html: html,
                    
185        return {html: html,
                    
186                php: php,
                    
187                curMode: parserConfig.startOpen ? phpMode : htmlMode,
                    
193        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
194            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
195        if (state.curMode == htmlMode) cur = htmlNew;
                    
196        else cur = phpNew;
                    
197        return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur,
                    
198                pending: state.pending};
                    
                
utils.php https://gitlab.com/Blueprint-Marketing/cli | PHP | 665 lines
                    
59    }
                    
60    $output .= $row . PHP_EOL;
                    
61  }
                    
261function is_windows() {
                    
262  $is_windows = (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN');
                    
263  return $is_windows;
                    
293
                    
294  foreach (array_slice(func_get_args(), 1) as $function) {
                    
295    $iterator->add_transform($function);
                    
341function load_command($name) {
                    
342  $path = TERMINUS_ROOT . "/php/commands/$name.php";
                    
343
                    
355  if (strpos(TERMINUS_ROOT, 'phar:') === 0) {
                    
356    require TERMINUS_ROOT . '/vendor/autoload.php';
                    
357    return;
                    
                
rewrite.php https://gitlab.com/webkod3r/tripolis | PHP | 599 lines
                    
1<?php
                    
2/**
                    
208	if ( func_num_args() == 4 )
                    
209		$args['ep_mask'] = func_get_arg( 3 );
                    
210
                    
315 *
                    
316 * To remove any manually prepended /index.php/.
                    
317 *
                    
325	if ( !empty( $base ) ) {
                    
326		$base = preg_replace( '|^/index\.php/|', '', $base );
                    
327		$base = trim( $base, '/' );
                    
489	// Set the correct URL scheme.
                    
490	$scheme = parse_url( home_url(), PHP_URL_SCHEME );
                    
491	$url = set_url_scheme( $url, $scheme );
                    
515
                    
516	// Strip 'index.php/' if we're not using path info permalinks
                    
517	if ( !$wp_rewrite->using_index_permalinks() )
                    
                
 

Source

Language