100+ results results for 'php func_get_args repo:magedeveloper/frosted-mysql-library' (336 ms)
1<?php 2 312 { 313 $keys = is_array($name) ? $name : func_get_args(); 314 477 { 478 $keys = is_array($keys) ? $keys : func_get_args(); 479function.func-get-arg.html https://bitbucket.org/stillzhl/manuals.git | HTML | 218 lines
15 <h1 class="refname">func_get_arg</h1> 16 <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">func_get_arg</span> — <span class="dc-title">Return an item from the argument list</span></p> 17 124 <div class="example-contents"> 125<div class="phpcode"><code><span style="color: #000000"> 126<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">()<br />{<br /> </span><span style="color: #0000BB">$numargs </span><span style="color: #007700">= </span><span style="color: #0000BB">func_num_args</span><span style="color: #007700">();<br /> echo </span><span style="color: #DD0000">"Number of arguments: </span><span style="color: #0000BB">$numargs</span><span style="color: #DD0000"><br />\n"</span><span style="color: #007700">;<br /> if (</span><span style="color: #0000BB">$numargs </span><span style="color: #007700">>= </span><span style="color: #0000BB">2</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">"Second argument is: " </span><span style="color: #007700">. </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">) . </span><span style="color: #DD0000">"<br />\n"</span><span style="color: #007700">;<br /> }<br />}<br /><br /></span><span style="color: #0000BB">foo </span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">, </span><span style="color: #0000BB">2</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 138<div class="phpcode"><code><span style="color: #000000"> 139test.php<br /><span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">foo</span><span style="color: #007700">() {<br /> include </span><span style="color: #DD0000">'./fga.inc'</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">foo</span><span style="color: #007700">(</span><span style="color: #DD0000">'First arg'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Second arg'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?><br /></span><br />fga.php<br /><span style="color: #0000BB"><?php<br /><br />$arg </span><span style="color: #007700">= </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?></span> 140</span> 144 <div class="example-contents"><p> 145 Output previous to PHP 5.3: 146 </p></div> 169<div class="phpcode"><code><span style="color: #000000"> 170<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br />function </span><span style="color: #0000BB">byRef</span><span style="color: #007700">(&</span><span style="color: #0000BB">$arg</span><span style="color: #007700">) {<br /> echo </span><span style="color: #DD0000">'As passed : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br /> </span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'baz'</span><span style="color: #007700">;<br /> echo </span><span style="color: #DD0000">'After change : '</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">)), </span><span style="color: #0000BB">PHP_EOL</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">$arg </span><span style="color: #007700">= </span><span style="color: #DD0000">'bar'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">byVal</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">byRef</span><span style="color: #007700">(</span><span style="color: #0000BB">$arg</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 171</span>BaseFunctionI18n.php https://github.com/mikesname/ehri-ica-atom.git | PHP | 577 lines
1<?php 2 209 { 210 $args = func_get_args(); 211 301 302 if ("{$name}Id" == $column->getPhpName()) 303 { 423 { 424 if ('createdAt' == $column->getPhpName() || 'updatedAt' == $column->getPhpName()) 425 { 452 $columns = $table->getPrimaryKeyColumns(); 453 $this->values[$columns[0]->getPhpName()] = $this->keys[$columns[0]->getPhpName()] = $id; 454 } 494 { 495 $selectCriteria->add($column->getFullyQualifiedName(), $this->keys[$column->getPhpName()]); 496 }ImageSize.php https://github.com/ayamyau/concrete5.git | 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 "arr.php https://github.com/popovag/kohana_core.git | PHP | 457 lines
1<?php defined('SYSPATH') or die('No direct access allowed.'); 2/** 8 * @copyright (c) 2007-2009 Kohana Team 9 * @license http://kohanaphp.com/license 10 */ 200 * 201 * @deprecated Use [array_search](http://php.net/array_search) instead 202 * 234 /** 235 * Recursive version of [array_map](http://php.net/array_map), applies the 236 * same callback to all elements in an array, including sub-arrays. 266 * Merges one or more arrays recursively and preserves all keys. 267 * Note that this does not work the same as [array_merge_recursive](http://php.net/array_merge_recursive)! 268 * 364 { 365 foreach (array_slice(func_get_args(), 2) as $array2) 366 {Inflector.php https://bitbucket.org/zbahij/eprojets_app.git | PHP | 472 lines
1<?php 2/** 55 if (!is_array($options)) { 56 $options = func_get_args(); 57 $temp = array();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('*'));mysqlnduhconnection.close.html https://bitbucket.org/thncr/manuals.git | HTML | 143 lines
11 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqlnduhconnection.close" class="refentry"> 33 Failing to call the parent implementation may cause memory leaks or 34 crash PHP. This is not considered a bug. Please, keep in mind that 35 the <em>mysqlnd</em> library functions have never been designed 98<div class="phpcode"><code><span style="color: #000000"> 99<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">function </span><span style="color: #0000BB">close_type_to_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">$mapping </span><span style="color: #007700">= array(<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_DISCONNECTED </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_DISCONNECTED"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_EXPLICIT </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_EXPLICIT"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT"</span><span style="color: #007700">,<br /> </span><span style="color: #0000BB">MYSQLND_UH_MYSQLND_CLOSE_LAST </span><span style="color: #007700">=> </span><span style="color: #DD0000">"MYSQLND_UH_MYSQLND_CLOSE_IMPLICIT"<br /> </span><span style="color: #007700">);<br /> return (isset(</span><span style="color: #0000BB">$mapping</span><span style="color: #007700">[</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">])) ? </span><span style="color: #0000BB">$mapping</span><span style="color: #007700">[</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">] : </span><span style="color: #DD0000">'unknown'</span><span style="color: #007700">;<br />}<br /><br />class </span><span style="color: #0000BB">proxy </span><span style="color: #007700">extends </span><span style="color: #0000BB">MysqlndUhConnection </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">close</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$close_type</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"close_type = %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">close_type_to_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$close_type</span><span style="color: #007700">));<br /> </span><span style="color: #FF8000">/* WARNING: you must call the parent */<br /> </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">close</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$close_type</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s returns %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new </span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"root"</span><span style="color: #007700">, </span><span style="color: #DD0000">""</span><span style="color: #007700">, </span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-></span><span style="color: #0000BB">close</span><span style="color: #007700">();<br /></span><span style="color: #0000BB">?></span> 100</span> 141 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 142 <div class="home"><a href="index.html">PHP Manual</a></div> 143</div></body></html>l10n.php https://github.com/mikitracey/ifusa.git | PHP | 455 lines
1<?php 2/** 208 _deprecated_function( __FUNCTION__, '2.8', '_n()' ); 209 $args = func_get_args(); 210 return call_user_func_array('_n', $args); 260 _deprecated_function( __FUNCTION__, '2.8', '_n_noop()' ); 261 $args = func_get_args(); 262 return call_user_func_array('_n_noop', $args);Route.php https://bitbucket.org/Maxsy/adapi.git | PHP | 416 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 251 { 252 $args = func_get_args(); 253 $this->methods = $args; 269 { 270 $args = func_get_args(); 271 $this->methods = array_merge($this->methods, $args); 279 { 280 $args = func_get_args(); 281 $this->methods = array_merge($this->methods, $args); 341 * 342 * http://blog.sosedoff.com/2009/09/20/rails-like-php-url-router/ 343 *CreditCard.php https://github.com/MontmereLimited/zf2.git | PHP | 338 lines
1<?php 2/** 162 } else if (!is_array($options)) { 163 $options = func_get_args(); 164 $temp['type'] = array_shift($options);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 }WebBrowser.php https://github.com/wzs/Scrappr.git | 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 comSize.php https://bitbucket.org/sasezaki/mirror-zf1-standard-trunk-libraray-validate-dir.git | PHP | 404 lines
1<?php 2/** 24 */ 25require_once 'Zend/Validate/Abstract.php'; 26 109 } elseif (!is_array($options)) { 110 require_once 'Zend/Validate/Exception.php'; 111 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 114 if (1 < func_num_args()) { 115 $argv = func_get_args(); 116 array_shift($argv); 183 if (!is_string($min) and !is_numeric($min)) { 184 require_once 'Zend/Validate/Exception.php'; 185 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 190 if (($max !== null) && ($min > $max)) { 191 require_once 'Zend/Validate/Exception.php'; 192 throw new Zend_Validate_Exception("The minimum must be less than or equal to the maximum filesize, but $min >"Translate.php https://github.com/fracmak/mythweb.git | PHP | 349 lines
1<?php 2/** 20// point to an array containing first the user-visible name of the language, the 21// php locale for printing and finally the matching language and charset codes. 22 public static $Languages = array( 82 if (func_num_args() > 1) { 83 $a = func_get_args(); 84 array_shift($a); // shift off $str, we don't need it here 120 // Flatten arrays 121 $ab = func_get_args(); 122 $a[] = $ab[0];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 = '';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);class-wp-walker.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | 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 = '';em-locations.php https://bitbucket.org/akeda/bmw-id-hris.git | PHP | 315 lines
1<?php 2/** 115 if( is_object(current($args)) && get_class((current($args))) == 'EM_Location' ){ 116 $func_args = func_get_args(); 117 $locations = $func_args[0]; 157 } 158 //FIXME check if reference is ok when restoring object, due to changes in php5 v 4 159 $EM_Location_old= $EM_Location;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) {pages.php https://gitlab.com/gricelya/rental | 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(); 86class.json-api-links.php https://gitlab.com/hunt9310/ras | 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 );Payment.php https://gitlab.com/hunt9310/ras | 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);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) {phpzip.php https://github.com/Bigjoos/U-232-V3.git | PHP | 211 lines
1<?php 2/** 10// 11// PHPZip v1.2 by Sext (sext@neud.net) 2002-11-18 12// (Changed: 2003-03-01) 17// 18// Examples in sample1.php, sample2.php and sample3.php 19// 19// 20class PHPZip 21{ 54 if (file_exists($dir)) { 55 $args = func_get_args(); 56 $pref = $args[1]; 208 } 209} // end of the 'PHPZip' class 210Compass.php https://github.com/vivid-planet/library.git | PHP | 511 lines
1<?php 2require_once dirname(__FILE__) . '/../ExtensionInterface.php'; 198 { 199 $args = func_get_args(); 200 $files = array(); 245 246 $args = func_get_args(); 247 $list = array(); 267 { 268 $args = func_get_args(); 269 $place = array_pop($args); 289 { 290 $args = func_get_args(); 291 $list = array(); 299 { 300 $args = func_get_args(); 301 $list = self::compassList($args, ',');zend_lucene.php https://github.com/marc1706/customisation-db.git | PHP | 445 lines
1<?php 2/** 168 { 169 $args = func_get_args(); 170 $cols = ezcSearchQueryTools::arrayFlatten( $args ); 193 { 194 $args = func_get_args(); 195 $cols = ezcSearchQueryTools::arrayFlatten( $args ); 335 { 336 $args = func_get_args(); 337 if ( count( $args ) < 1 ) 363 { 364 $args = func_get_args(); 365 if ( count( $args ) < 1 )mysqlnd-uh.quickstart.how-it-works.html https://bitbucket.org/stillzhl/manuals.git | HTML | 106 lines
11 <div class="up"><a href="mysqlnd-uh.quickstart.html">Quickstart and Examples</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqlnd-uh.quickstart.how-it-works" class="section"> 31 library C functions with its own functions. Whenever a 32 PHP MySQL extension compiled to use <em>mysqlnd</em> calls 33 a mysqlnd function, the functions installed by the plugin are executed 39 <p class="para"> 40 The built-in PHP classes and their methods do nothing but call their 41 <em>mysqlnd</em> C library counterparts, to behave exactly 51 public function connect(($conn, $host, $user, $passwd, $db, $port, $socket, $mysql_flags) { 52 MYSQLND* c_mysqlnd_connection = convert_from_php_to_c($conn); 53 ... 77<div class="phpcode"><code><span style="color: #000000"> 78<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">proxy </span><span style="color: #007700">extends </span><span style="color: #0000BB">MysqlndUhConnection </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$host</span><span style="color: #007700">, </span><span style="color: #0000BB">$user</span><span style="color: #007700">, </span><span style="color: #0000BB">$passwd</span><span style="color: #007700">, </span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #0000BB">$port</span><span style="color: #007700">, </span><span style="color: #0000BB">$socket</span><span style="color: #007700">, </span><span style="color: #0000BB">$mysql_flags</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$host</span><span style="color: #007700">, </span><span style="color: #0000BB">$user</span><span style="color: #007700">, </span><span style="color: #0000BB">$passwd</span><span style="color: #007700">, </span><span style="color: #0000BB">$db</span><span style="color: #007700">, </span><span style="color: #0000BB">$port</span><span style="color: #007700">, </span><span style="color: #0000BB">$socket</span><span style="color: #007700">, </span><span style="color: #0000BB">$mysql_flags</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s returns %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new </span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"root"</span><span style="color: #007700">, </span><span style="color: #DD0000">""</span><span style="color: #007700">, </span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span> 79</span>Snapshot.php https://gitlab.com/jjpa2018/dashboard | PHP | 435 lines
1<?php declare(strict_types=1); 2/* 4 * 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> 6 * 14use function array_reverse; 15use function func_get_args; 16use function get_declared_classes; 381 { 382 if (isset(func_get_args()[1])) { 383 $processed = func_get_args()[1];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()); 302Table.php https://github.com/mkhairul/Presta.git | PHP | 440 lines
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 76 { 77 $args = func_get_args(); 78 $this->heading = (is_array($args[0])) ? $args[0] : $args; 157 { 158 $args = func_get_args(); 159 $this->rows[] = (is_array($args[0])) ? $args[0] : $args; 438 439/* End of file Table.php */ 440/* Location: ./system/libraries/Table.php */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 );class.json-api.php https://bitbucket.org/mshmsh5000/wp-demo.git | PHP | 447 lines
1<?php 2 53 function __construct() { 54 $args = func_get_args(); 55 call_user_func_array( array( $this, 'setup_inputs' ), $args ); 82 if ( is_null( $post_body ) ) { 83 $this->post_body = file_get_contents( 'php://input' ); 84 396 397 // If API called via PHP, bail: don't do our custom wp_die(). Do the normal wp_die(). 398 if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {Grammar.php https://github.com/sergiosgc/Structures_Grammar.git | PHP | 407 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker: */ 176 { 177 $symbols = func_get_args(); 178 if (count($symbols) == 0) throw new Structures_Grammar_Exception('At least one symbol is needed in a context-free grammar rule');script_combiner.php https://github.com/plastic/Cake-boilerplate.git | PHP | 325 lines
1<?php 2/** 8// Include the stand-alone configuration file if it exists. 9if (is_file(CONFIGS . 'script_combiner.php')) { 10 Configure::load('script_combiner'); 100 // Get the CSS files. 101 $cssFiles = func_get_args(); 102 181 // Get the javascript files. 182 $jsFiles = func_get_args(); 183QueryBuilder.php https://github.com/Kazuzeya/OpenFlame-Dbal.git | PHP | 546 lines
1<?php 2/** 5 * @copyright (c) 2011 openflame-project.org 6 * @license http://opensource.org/licenses/mit-license.php The MIT License 7 * @link https://github.com/OpenFlame/OpenFlame-Dbal 8 * 9 * Minimum Requirement: PHP 5.3.0 10 */ 18 * 19 * @license http://opensource.org/licenses/mit-license.php The MIT License 20 * @link https://github.com/OpenFlame/OpenFlame-Dbal 177 { 178 $args = func_get_args(); 179 279 { 280 $args = func_get_args(); 281 $statement = array_shift($args);functions.php https://gitlab.com/inglobe/mgt-clemente-css | PHP | 412 lines
9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 29 * 30 * @link http://us3.php.net/manual/en/security.magicquotes.disabling.php 31 */ 62 if (defined('COMPILER_INCLUDE_PATH')) { 63 $classFile = $class.'.php'; 64 } else { 94{ 95 return Mage::app()->getTranslator()->translate(func_get_args()); 96}cron.php https://github.com/thisduck/wordpress.git | 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.wp-cron.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 402 lines
1<?php 2// Last sync [WP12462] 140 if ( !is_array($args) ) 141 $args = array_slice( func_get_args(), 1 ); 142 226 227 @include_once(ABSPATH . 'wp-cron.php'); 228 return;DomQuery.php https://github.com/manubamba/site.git | PHP | 403 lines
22/** PHPUnit_Framework_Constraint */ 23require_once 'PHPUnit/Framework/Constraint.php'; 24 36 */ 37class Zend_Test_PHPUnit_Constraint_DomQuery extends PHPUnit_Framework_Constraint 38{ 146 if (!in_array($assertType, $this->_assertTypes)) { 147 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 148 throw new Zend_Test_PHPUnit_Constraint_Exception(sprintf('Invalid assertion type "%s" provided to %s constraint', $assertType, __CLASS__)); 170 if (3 > $argc) { 171 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 172 throw new Zend_Test_PHPUnit_Constraint_Exception('No pattern provided against which to match'); 208 { 209 require_once 'Zend/Test/PHPUnit/Constraint/Exception.php'; 210 switch ($this->_assertType) {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'; 245ResponseHeader.php https://github.com/sidealice/zf2.git | PHP | 395 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) 24 */ 25namespace Zend\Test\PHPUnit\Constraint; 26use Zend\Controller\Response; 28/** 29 * Response header PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Test\PHPUnit\Constraint\Exception\ConstraintException 34 * @package Zend_Test 35 * @subpackage PHPUnit 36 * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)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(); 156Filter.php https://bitbucket.org/larryg/powerhut.git | PHP | 565 lines
1<?php namespace Basset\Filter; 2 250 { 251 $environments = func_get_args(); 252 357 { 358 $this->arguments = array_merge($this->arguments, func_get_args()); 359class.wp-dependencies.php https://github.com/mhoofman/wordpress-heroku.git | 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) )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(); 454NestedArray.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 bothDrizzlePlatform.php https://gitlab.com/adrianjose605/SaintW | PHP | 504 lines
1<?php 2/* 54 { 55 $args = func_get_args(); 56Template.php https://github.com/BlendedByChris/pyrocms.git | PHP | 591 lines
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); 2/** 4 * 5 * An open source application development framework for PHP 4.3.2 or newer 6 * 228 // If we have some segments passed 229 if($title_segments =& func_get_args()) 230 {activeRecord.php https://github.com/melechi/Simple-Core.git | PHP | 398 lines
1<?php 2class dbtools_activeRecord_activeRecord extends overloader implements SeekableIterator 284 $selection=$this->newSelection(); 285 $args=func_get_args(); 286 for ($i=0; $i<$numArgs; $i++)capabilities.php https://github.com/itspriddle/itt-capstone.git | PHP | 421 lines
1<?php 2 229 230 $args = array_slice(func_get_args(), 1); 231 $args = array_merge(array($cap, $this->id), $args); 251function map_meta_cap($cap, $user_id) { 252 $args = array_slice(func_get_args(), 2); 253 $caps = array(); 313 314 $args = array_slice(func_get_args(), 1); 315 $args = array_merge(array($capability), $args);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/thohid44/Complete_Sumitted_Project_Without_Filter_Search | 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);Connection.php https://gitlab.com/mario.uriarte/doctrine2.5-tutorial | 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/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)) {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)) {drupal_i18n_test_case.php https://github.com/tommeir/mifgaim.git | PHP | 294 lines
1<?php 2// $Id: drupal_i18n_test_case.php,v 1.1.2.5 2010/03/31 21:13:06 jareyero Exp $ 2// $Id: drupal_i18n_test_case.php,v 1.1.2.5 2010/03/31 21:13:06 jareyero Exp $ 3// Core: Id: drupal_web_test_case.php,v 1.96 2009/04/22 09:57:10 dries Exp 4/** 11 12require_once drupal_get_path('module', 'simpletest') . '/drupal_web_test_case.php'; 13 106 // Add the specified modules to the list of modules in the default profile. 107 $args = func_get_args(); 108 // Add language and basic i18n modulesfpdf_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);ResponseHeader.php https://github.com/mrbanzai/zf2.git | PHP | 395 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) 24 */ 25namespace Zend\Test\PHPUnit\Constraint; 26use Zend\Controller\Response; 28/** 29 * Response header PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Test\PHPUnit\Constraint\Exception\ConstraintException 34 * @package Zend_Test 35 * @subpackage PHPUnit 36 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)Template.php https://bitbucket.org/flyingdog/kennel.git | PHP | 200 lines
1<?php 2 /** 176 { 177 $arguments = func_get_args(); 178 foreach ($arguments as $stylesheet) 184 { 185 $arguments = func_get_args(); 186 $lastArg = $arguments[count($arguments)-1];Mockery.php https://github.com/DocAl/mockery.git | PHP | 347 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 * 48 } 49 $args = func_get_args(); 50 return call_user_func_array(array(self::$_container, 'mock'), $args); 57 } 58 $args = func_get_args(); 59 return call_user_func_array(array(self::$_container, 'instanceMock'), $args); 136 { 137 $return = new \Mockery\Matcher\Ducktype(func_get_args()); 138 return $return; 158 { 159 $return = new \Mockery\Matcher\Contains(func_get_args()); 160 return $return;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'; 406Campaign.php https://gitlab.com/estratega.pe/cc | PHP | 309 lines
1<?php 2defined('BASEPATH') OR exit('No direct script access allowed'); 80 acl('ind_edit', null, 403); 81 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 82 $p = $this->campaign->getCampaignRow(['id_campaign' => $ID]); 142 acl('ind_show', null, 403); 143 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 144 $ID = filter_var(intval($ID),FILTER_VALIDATE_INT) ? $ID : 0; 163 acl('ind_del', null, 403); 164 $ID = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 165 $ID = filter_var(intval($ID),FILTER_VALIDATE_INT) ? $ID : 0; 194 public function getCampaigns() { 195 $format = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 196 261 } else { 262 $format = (sizeof(func_get_args()) >= 0x0001) ? func_get_arg(0): $this->uri->segment(3); 263 $ID = (sizeof(func_get_args()) >= 0x0002) ? func_get_arg(1): $this->uri->segment(4);Request.php https://github.com/Spavacz/NPG.git | 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 20208 2010-01-11 22:37:37Z lars $ 47 */ 210 $argc = func_num_args(); 211 $argv = func_get_args(); 212 if (0 == $argc) {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);Size.php https://github.com/taste/zf2.git | PHP | 401 lines
1<?php 2/** 116 if (1 < func_num_args()) { 117 $argv = func_get_args(); 118 array_shift($argv);old.php https://bitbucket.org/Red54/wallproxy.git | PHP | 393 lines
1<?php 2 39function print_notify($method, $url, $status, $content) { 40 $content = "<h2>PHP Server Fetch Info</h2><hr noshade='noshade'><p>$method '$url'</p><p>Return Code: $status</p><p>Message: $content</p>"; 41 $headers = array('content-type' => 'text/html'); 47 $headers = array('content-type' => 'text/html'); 48 $content = "<h2>PHP Server Debug Info</h2><hr noshade='noshade'>"; 49 foreach (func_get_args() as $key => $value) { 300 301 $request = @gzuncompress(@file_get_contents('php://input')); 302 if ($request === False) { 302 if ($request === False) { 303 return print_notify($method, $url, 500, 'OOPS! gzuncompress php://input error!'); 304 } 378 379 print_notify($request['method'], $request['url'], 502, 'PHP Server Fetch Failed: ' . var_export($errors, true)); 380}Request.php https://bitbucket.org/helfreire/tccsite.git | PHP | 505 lines
1<?php namespace Illuminate\Http; 2 112 { 113 foreach (func_get_args() as $pattern) 114 { 151 { 152 if (count(func_get_args()) > 1) 153 { 153 { 154 foreach (func_get_args() as $value) 155 { 201 { 202 $keys = is_array($keys) ? $keys : func_get_args(); 203 214 { 215 $keys = is_array($keys) ? $keys : func_get_args(); 216eventsearch.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", "");Inflector.php https://gitlab.com/Ltaimao/wecenter | PHP | 527 lines
1<?php 2/** 25 */ 26//require_once 'Zend/Filter.php'; 27 30 */ 31//require_once 'Zend/Loader/PluginLoader.php'; 32 77 } else if (!is_array($options)) { 78 $options = func_get_args(); 79 $temp = array(); 485 if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) { 486 //require_once 'Zend/Filter/Exception.php'; 487 throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source? Unsatisfied inflected target: ' . $inflectedTarget); 520 if (!$ruleObject instanceof Zend_Filter_Interface) { 521 //require_once 'Zend/Filter/Exception.php'; 522 throw new Zend_Filter_Exception('No class named ' . $rule . ' implementing Zend_Filter_Interface could be found');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 */class.gdn.php https://github.com/dkobia/Garden.git | PHP | 397 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 116 //$Args = array($Arg1, $Arg2, $Arg3, $Arg4, $Arg5); 117 $Args = func_get_args(); 118 array_shift($Args);ImageSize.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 379 lines
1<?php 2/** 98 99 $argv = func_get_args(); 100 array_shift($argv);Request.php https://github.com/jpratt/cal.git | PHP | 438 lines
1<?php 2/** 23 */ 24#require_once 'Zend/XmlRpc/Value.php'; 25 28 */ 29#require_once 'Zend/XmlRpc/Fault.php'; 30 45 * @license http://framework.zend.com/license/new-bsd New BSD License 46 * @version $Id: Request.php 13223 2008-12-14 11:21:31Z thomas $ 47 */ 209 $argc = func_num_args(); 210 $argv = func_get_args(); 211 if (0 == $argc) {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(); 280ResponseHeader.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) {fUpload.php https://gitlab.com/foodsharing-dev/foodsharing | PHP | 290 lines
1<?php 2 82 { 83 $args = array_slice(func_get_args(), 1); 84 259 $file_info = fFilesystem::getPathInfo($file_array['name']); 260 if (in_array(strtolower($file_info['extension']), array('php', 'php4', 'php5'))) { 261 return self::compose('The file uploaded is a PHP file, but those are not permitted');DomQuery.php https://github.com/Exercise/zf2.git | PHP | 421 lines
1<?php 2/** 16 * @package Zend_Test 17 * @subpackage PHPUnit 18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) 25 */ 26namespace Zend\Test\PHPUnit\Constraint; 27 28/** 29 * Zend_Dom_Query-based PHPUnit Constraint 30 * 30 * 31 * @uses PHPUnit_Framework_Constraint 32 * @uses \Zend\Dom\Query 32 * @uses \Zend\Dom\Query 33 * @uses \Zend\Test\PHPUnit\Constraint\Exception 34 * @category Zendxstandard.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>ImageSize.php https://github.com/grandison/budo16.git | PHP | 370 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: ImageSize.php 16971 2009-07-22 18:05:45Z mikaelkael $ 20 */ 24 */ 25// require_once 'Zend/Validate/Abstract.php'; 26 138 } 139 $argv = func_get_args(); 140 array_shift($argv); 148 } else if (!is_array($options)) { 149 // require_once 'Zend/Validate/Exception.php'; 150 throw new Zend_Validate_Exception ('Invalid options to validator provided'); 213 if (($this->_maxwidth !== null) and ($options['minwidth'] > $this->_maxwidth)) { 214 // require_once 'Zend/Validate/Exception.php'; 215 throw new Zend_Validate_Exception("The minimum image width must be less than or equal to the "AbstractDb.php https://bitbucket.org/juan_sanchez/aiyellow.git | PHP | 327 lines
1<?php 2/** 103 } elseif (func_num_args() > 1) { 104 $options = func_get_args(); 105 $firstArgument = array_shift($options);ChromePhp.php https://github.com/cazzerson/Suma.git | PHP | 437 lines
18/** 19 * Server Side Chrome PHP debugger class 20 * 33 */ 34 const HEADER_NAME = 'X-ChromePhp-Data'; 35 128 { 129 $this->_php_version = phpversion(); 130 $this->_timestamp = $this->_php_version >= 5.1 ? $_SERVER['REQUEST_TIME'] : time(); 141 if (self::$_instance === null) { 142 self::$_instance = new ChromePhp(); 143 } 151 * @param mixed value 152 * @param string severity ChromePhp::LOG || ChromePhp::WARN || ChromePhp::ERROR 153 * @return voidAbstract.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');Dispatcher.php https://gitlab.com/rmoshiur81/Larave-Grading | 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()); 412Store.php https://gitlab.com/madwanz64/laravel | PHP | 672 lines
1<?php 2 190 191 return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) use ($placeholder) { 192 return $this->get($key, $placeholder) === $placeholder; 203 { 204 return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) { 205 return is_null($this->get($key)); 396 { 397 $this->mergeNewFlashes($keys = is_array($keys) ? $keys : func_get_args()); 398Abstract.php https://gitlab.com/yousafsyed/easternglamor | 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');Request.php https://gitlab.com/pomirleanu.florentin/SMS-Client | PHP | 793 lines
1<?php namespace Illuminate\Http; 2 157 { 158 foreach (func_get_args() as $pattern) 159 { 226 { 227 $keys = is_array($key) ? $key : func_get_args(); 228 246 { 247 $keys = is_array($key) ? $key : func_get_args(); 248 301 { 302 $keys = is_array($keys) ? $keys : func_get_args(); 303 323 { 324 $keys = is_array($keys) ? $keys : func_get_args(); 325Store.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(); 443Rename.php https://github.com/gryzz/crystal_magento.git | PHP | 305 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Rename.php 16971 2009-07-22 18:05:45Z mikaelkael $ 20 */ 24 */ 25#require_once 'Zend/Filter/Interface.php'; 26 60 } elseif (!is_array($options)) { 61 #require_once 'Zend/Filter/Exception.php'; 62 throw new Zend_Filter_Exception('Invalid options argument provided to filter'); 66 trigger_error('Support for multiple arguments is deprecated in favor of a single options array', E_USER_NOTICE); 67 $argv = func_get_args(); 68 array_shift($argv); 125 } elseif (!is_array($options)) { 126 #require_once 'Zend/Filter/Exception.php'; 127 throw new Zend_Filter_Exception ('Invalid options to rename filter provided');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();Request.php https://github.com/shevron/zf2.git | PHP | 422 lines
1<?php 2/** 189 $argc = func_num_args(); 190 $argv = func_get_args(); 191 if (0 == $argc) {Inflector.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 527 lines
1<?php 2/** 25 */ 26// require_once 'Zend/Filter.php'; 27 30 */ 31// require_once 'Zend/Loader/PluginLoader.php'; 32 77 } else if (!is_array($options)) { 78 $options = func_get_args(); 79 $temp = array(); 485 if ($this->_throwTargetExceptionsOn && (preg_match('#(?='.$pregQuotedTargetReplacementIdentifier.'[A-Za-z]{1})#', $inflectedTarget) == true)) { 486 // require_once 'Zend/Filter/Exception.php'; 487 throw new Zend_Filter_Exception('A replacement identifier ' . $this->_targetReplacementIdentifier . ' was found inside the inflected target, perhaps a rule was not satisfied with a target source? Unsatisfied inflected target: ' . $inflectedTarget); 520 if (!$ruleObject instanceof Zend_Filter_Interface) { 521 // require_once 'Zend/Filter/Exception.php'; 522 throw new Zend_Filter_Exception('No class named ' . $rule . ' implementing Zend_Filter_Interface could be found');mysqlnduhconnection.queryreadresultsetheader.html https://bitbucket.org/thncr/manuals.git | HTML | 126 lines
11 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="mysqlnduhconnection.queryreadresultsetheader" class="refentry"> 84<div class="phpcode"><code><span style="color: #000000"> 85<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">proxy </span><span style="color: #007700">extends </span><span style="color: #0000BB">MysqlndUhConnection </span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">queryReadResultsetHeader</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s(%s)\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">(), </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> </span><span style="color: #0000BB">$ret </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">queryReadResultsetHeader</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">, </span><span style="color: #0000BB">$stmt</span><span style="color: #007700">);<br /> </span><span style="color: #0000BB">printf</span><span style="color: #007700">(</span><span style="color: #DD0000">"%s returns %s\n"</span><span style="color: #007700">, </span><span style="color: #0000BB">__METHOD__</span><span style="color: #007700">, </span><span style="color: #0000BB">var_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$ret</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">));<br /> return </span><span style="color: #0000BB">$ret</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">mysqlnd_uh_set_connection_proxy</span><span style="color: #007700">(new </span><span style="color: #0000BB">proxy</span><span style="color: #007700">());<br /><br /></span><span style="color: #0000BB">$mysqli </span><span style="color: #007700">= new </span><span style="color: #0000BB">mysqli</span><span style="color: #007700">(</span><span style="color: #DD0000">"localhost"</span><span style="color: #007700">, </span><span style="color: #DD0000">"root"</span><span style="color: #007700">, </span><span style="color: #DD0000">""</span><span style="color: #007700">, </span><span style="color: #DD0000">"test"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$res </span><span style="color: #007700">= </span><span style="color: #0000BB">$mysqli</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">(</span><span style="color: #DD0000">"SELECT 'Welcome mysqlnd_uh!' FROM DUAL"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">$res</span><span style="color: #007700">-></span><span style="color: #0000BB">fetch_assoc</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?></span> 86</span> 124 <div class="up"><a href="class.mysqlnduhconnection.html">MysqlndUhConnection</a></div> 125 <div class="home"><a href="index.html">PHP Manual</a></div> 126</div></body></html>mysql.php https://github.com/alvinj/Cato-CRUD-Generator.git | PHP | 120 lines
1<?php 2// +----------------------------------------------------------------------+ 2// +----------------------------------------------------------------------+ 3// | PHP versions 4 and 5 | 4// +----------------------------------------------------------------------+ 9// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB | 10// | API as well as database abstraction for PHP applications. | 11// | This LICENSE is in the BSD license style. | 44// 45// $Id: mysql.php,v 1.11 2007/01/12 11:29:12 quipo Exp $ 46// 47 48require_once 'MDB2/Driver/Function/Common.php'; 49 99 { 100 $args = func_get_args(); 101 return "CONCAT(".implode(', ', $args).")";QuarkUpload.php https://github.com/sahibalejandro/Quark-PHP-Framework.git | PHP | 294 lines
1<?php 2/** 2/** 3 * QuarkPHP Framework 4 * Copyright 2012-2013 Sahib Alejandro Jaramillo Leo 7 * @license GNU General Public License (http://www.gnu.org/licenses/gpl.html) 8 * @link http://quarkphp.com 9 */ 44 * Flag para especificar si se van a utilizar las funciones finfo_* 45 * para obtener el mime type del archivo, solo valido para PHP 5.3 o PECL finfo. 46 * El valor de este flag es establecido internamente. 88 { 89 $args = func_get_args(); 90 $this->_valid_mime_types = $args; 101 { 102 $args = func_get_args(); 103 $this->_valid_extensions = array_map('strtolower', $args);Inflector.php https://github.com/Shreef/zf2.git | PHP | 527 lines
1<?php 2/** 75 } else if (!is_array($options)) { 76 $options = func_get_args(); 77 $temp = array();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 }Subscription.php https://gitlab.com/webkod3r/tripolis | PHP | 160 lines
1<?php 2/* 50 51 $args = func_get_args(); 52 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 70 71 $args = func_get_args(); 72 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 1); 93 94 $args = func_get_args(); 95 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 112 113 $args = func_get_args(); 114 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 2); 146 147 $args = func_get_args(); 148 $authentication = Simplify_PaymentsApi::buildAuthenticationObject($authentication, $args, 1);sqlite.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 559 lines
1<?php 2/** 14 * 15 * @link https://secure.php.net/pdo 16 * @since 3.0.0 77 78 $args = func_get_args(); 79 array_shift($args);