PageRenderTime 205ms queryTime 25ms sortTime 16ms getByIdsTime 67ms findMatchingLines 28ms

100+ results results for 'php print_r repo:facebook/hiphop-php' (205 ms)

Not the results you expected?
cJSCompiler.php git://github.com/clientside/amplesdk.git | PHP | 324 lines
                    
1<?php
                    
2	class cJSCompiler
                    
306			arsort($aValuesTemp);
                    
307//			print_r($aValuesTemp);
                    
308			$aValues = array_keys($aValuesTemp);
                    
                
13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34/** PHPExcel */
                    
35include 'PHPExcel.php';
                    
36
                    
37/** PHPExcel_Calculation */
                    
38require_once 'PHPExcel/Calculation.php';
                    
39
                    
46echo date('H:i:s') . " Create new PHPExcel object\n";
                    
47$objPHPExcel = new PHPExcel();
                    
48
                    
                
13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 248 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
34/** PHPExcel */
                    
35include 'PHPExcel.php';
                    
36
                    
37/** PHPExcel_Calculation */
                    
38require_once 'PHPExcel/Calculation.php';
                    
39
                    
46echo date('H:i:s') . " Create new PHPExcel object\n";
                    
47$objPHPExcel = new PHPExcel();
                    
48
                    
                
adminPage.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 356 lines
                    
1<?php
                    
2
                    
6 * @package
                    
7 * @version $Id: adminPage.php 1903 2008-04-24 07:06:22Z ever $
                    
8 * @copyright 2003-2007 ShopEx
                    
12
                    
13require('pageFactory.php');
                    
14
                    
68                //echo "<pre>";
                    
69                //error_log(print_r($this->op->system->_in,true),3,"D:/2.txt");
                    
70                $oOpt = &$this->system->loadModel('admin/operator','config');
                    
94            if($type=='noaccount'){
                    
95                echo $url = 'index.php?ctl=passport&act=loginaccount';exit;
                    
96            }else{
                    
96            }else{
                    
97                $url = 'index.php?ctl=passport&act=login';
                    
98            }            
                    
                
Pages.php https://bitbucket.org/rightshore/saskatoon-landscape-store.git | PHP | 292 lines
                    
1<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2class Pages extends MY_Controller 
                    
89                $data['selected'] = $parent_id;
                    
90//                print_r($data);
                    
91                $this->load->view('pages/pages_list',$data);		
                    
                
fill.php http://marcoratto.googlecode.com/svn/trunk/ | PHP | 337 lines
                    
110    array_shift($argv);
                    
111    Log4GPHP::print_r(Log4GPHP::$TRACE, $argv);    
                    
112
                    
141
                    
142Log4GPHP::setLoggingLevel(Log4GPHP::$TRACE);
                    
143Log4GPHP::info("argc=$argc");
                    
149$params = parseArgs($argv);
                    
150Log4GPHP::print_r(Log4GPHP::$INFO, $params);
                    
151
                    
180if (array_key_exists('gb', $params)) {
                    
181	Log4GPHP::info("-gb setted");
                    
182	$multiplier = 1024 * 1024 * 1024;	
                    
221
                    
222// Log4GPHP::print_r(Log4GPHP::$INFO, $listOfFiles);
                    
223
                    
                
18extendedcalculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 231 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
31/** PHPExcel */
                    
32require_once '../Classes/PHPExcel.php';
                    
33
                    
34/** PHPExcel_Calculation */
                    
35require_once '../Classes/PHPExcel/Calculation.php';
                    
36
                    
43echo date('H:i:s') . " Create new PHPExcel object\n";
                    
44$objPHPExcel = new PHPExcel();
                    
45
                    
                
02_Routing.md git://github.com/silverstripe/sapphire.git | Markdown | 297 lines
                    
57
                    
58```php
                    
59// GET /teams/
                    
60
                    
61print_r($this->getRequest()->params());
                    
62
                    
71
                    
72print_r($this->getRequest()->params());
                    
73
                    
82
                    
83print_r($this->getRequest()->params());
                    
84
                    
95
                    
96```php
                    
97// GET /teams/players/1/
                    
                
Group_movement.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 323 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
84			$last_query = $this->db->last_query();
                    
85			// die(print_r($last_query));
                    
86
                    
279
                    
280            // die(print_r($data));
                    
281            $query = $this->M_group_movement->_update(array('id' => $id), $data);
                    
                
fooLoader.php http://kosimpin.googlecode.com/svn/trunk/ | PHP | 387 lines
                    
1<?php
                    
2
                    
6* Released under the MIT license, see:
                    
7* http://www.opensource.org/licenses/mit-license.php
                    
8*/
                    
50        }
                    
51        //print_r($folders);
                    
52
                    
291	 *
                    
292	 * The config/autoload.php file contains an array that permits sub-systems,
                    
293	 * libraries, plugins, and helpers to be loaded automatically.
                    
369    * Can load a view file from an absolute path and
                    
370    * relative to the CodeIgniter index.php file
                    
371    * Handy if you have views outside the usual CI views dir
                    
                
database.php git://git.savannah.nongnu.org/savane-cleanup.git | PHP | 389 lines
                    
31
                    
32  // Test the presence of php-mysql - you get a puzzling blank page
                    
33  // when it's not installed
                    
36    <ul>
                    
37      <li>Debian-based: <code>aptitude install php4-mysql</code>
                    
38        or <code>aptitude install php5-mysql</code></li>
                    
41    echo "Check the <a href='{$GLOBALS['sys_url_topdir']}/testconfig.php'>configuration
                    
42          page</a> and the <a href='http://php.net/mysql'>PHP website</a> for
                    
43          more information.<br />";
                    
55
                    
56  if (version_compare(PHP_VERSION, '5.2.3', '>='))
                    
57    {
                    
94	  . htmlspecialchars($sql) . "</code>, \$inputarr is <code>"
                    
95	  . print_r($inputarr, 1) . "</code>");
                    
96
                    
                
FEISDataAPI.php https://github.com/EOL/eol_php_code.git | PHP | 331 lines
                    
1<?php
                    
2namespace php_active_record;
                    
53                self::create_archive($rec, $habitats, $subsections);
                    
54                // print_r($rec);
                    
55            }
                    
59        $this->archive_builder->finalize(TRUE);
                    
60        if($val = $this->debug) print_r($val);
                    
61    }
                    
115                                        {
                    
116                                            print_r($temp);
                    
117                                            echo "\nindex[$index]\n";
                    
                
Type.php git://github.com/eryx/php-framework-benchmark.git | PHP | 303 lines
                    
38 * @subpackage Util
                    
39 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
40 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
51 * @author     Sebastian Bergmann <sebastian@phpunit.de>
                    
52 * @copyright  2001-2012 Sebastian Bergmann <sebastian@phpunit.de>
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
53 * @license    http://www.opensource.org/licenses/BSD-3-Clause  The BSD 3-Clause License
                    
54 * @link       http://www.phpunit.de/
                    
55 * @since      Class available since Release 3.0.0
                    
159            // There seems to be no other way to check arrays for recursion
                    
160            // http://www.php.net/manual/en/language.types.array.php#73936
                    
161            preg_match_all('/\n            \[(\w+)\] => Array\s+\*RECURSION\*/', print_r($value, TRUE), $matches);
                    
290        // above (fast) mechanism nor with reflection
                    
291        // Format the output similarly to print_r() in this case
                    
292        if ($object instanceof SplObjectStorage) {
                    
                
oauthlogintokens.php git://github.com/Dolibarr/dolibarr.git | PHP | 409 lines
                    
28require_once DOL_DOCUMENT_ROOT.'/core/lib/oauth.lib.php'; // This define $list
                    
29require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
                    
30use OAuth\Common\Storage\DoliStorage;
                    
156			$shortscope = 'user,public_repo';
                    
157			$urltorenew = $urlwithroot.'/core/modules/oauth/github_oauthcallback.php?shortscope='.$shortscope.'&state='.$shortscope.'&backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
158			$urltodelete = $urlwithroot.'/core/modules/oauth/github_oauthcallback.php?action=delete&token='.newToken().'&backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
169			$urltorenew = $urlwithroot.'/core/modules/oauth/google_oauthcallback.php?shortscope='.$shortscope.'&state='.$shortscope.'&backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
170			$urltodelete = $urlwithroot.'/core/modules/oauth/google_oauthcallback.php?action=delete&token='.newToken().'&backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
171			$urltocheckperms = 'https://security.google.com/settings/security/permissions';
                    
173			$OAUTH_SERVICENAME = 'StripeTest';
                    
174			$urltorenew = $urlwithroot.'/core/modules/oauth/stripetest_oauthcallback.php?backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
175			$urltodelete = '';
                    
178			$OAUTH_SERVICENAME = 'StripeLive';
                    
179			$urltorenew = $urlwithroot.'/core/modules/oauth/stripelive_oauthcallback.php?backtourl='.urlencode(DOL_URL_ROOT.'/admin/oauthlogintokens.php');
                    
180			$urltodelete = '';
                    
                
Base.php https://bitbucket.org/ed47/epfl-smart-move.git | PHP | 437 lines
                    
1<?php
                    
2/**
                    
128                    'property' => $property,
                    
129                    'value'    => print_r($value, true)
                    
130                )
                    
                
language.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 245 lines
                    
1<?php
                    
2/*
                    
3+-----------------------------------------------------------------------------+
                    
4| $Id: language.php 2010-05-24 12:37:44Z Bleakwind $
                    
5| Manage language
                    
23    $error = false;
                    
24    //$ajax_response->alert(print_r($value, true)); $ajax_response->assign($submit,"disabled",false); return $ajax_response;
                    
25
                    
                
checkbox.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 262 lines
                    
1<?php
                    
2/**
                    
130#		print $current_value; exit;
                    
131#		print_r($this->props); exit;
                    
132		#print_r($def); exit;
                    
                
TpDb.php http://turbophp.googlecode.com/svn/trunk/ | PHP | 383 lines
                    
1<?php
                    
2
                    
3# +----------------------------------------------------------------------+
                    
4# | TurboPhp 4 - TpDb
                    
5# | Version 4.0 Beta                                                     |
                    
8# +----------------------------------------------------------------------+
                    
9# | This source file is subject to the terms of the TurboPhp license,    |
                    
10# | that is bundled with this package in the file LICENSE.TXT, and is    |
                    
11# | available at through the world-wide-web at                           |
                    
12# | http://www.turbophp.com/turbophp/license.txt                         |
                    
13# +----------------------------------------------------------------------+
                    
55    if ($this->ConfigFile == '')
                    
56      $this->ConfigFile = $tpSupportPath . "$this->Name.conf.php";
                    
57    if (!$this->ConnectManually)
                    
219    {
                    
220      print_r($this->Params);
                    
221      echo "<br>";
                    
                
BasesfGuardPermissionPeer.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 470 lines
                    
1<?php
                    
2
                    
37	private static $fieldNames = array (
                    
38		BasePeer::TYPE_PHPNAME => array ('Id', 'Name', 'Description', ),
                    
39		BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'name', 'description', ),
                    
46	private static $fieldKeys = array (
                    
47		BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Name' => 1, 'Description' => 2, ),
                    
48		BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'name' => 1, 'description' => 2, ),
                    
67		if ($key === null) {
                    
68			throw new PropelException("'$name' could not be found in the field names of type '$fromType'. These are: " . print_r(self::$fieldKeys[$fromType], true));
                    
69		}
                    
74
                    
75	static public function getFieldNames($type = BasePeer::TYPE_PHPNAME)
                    
76	{
                    
77		if (!array_key_exists($type, self::$fieldNames)) {
                    
78			throw new PropelException('Method getFieldNames() expects the parameter $type to be one of the class constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME, BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM. ' . $type . ' was given.');
                    
79		}
                    
                
aws_s3.php git://github.com/gallery/gallery3-contrib.git | PHP | 330 lines
                    
1<?php defined("SYSPATH") or die("No direct script access.");
                    
2
                    
12        if (!self::$_s3) {
                    
13            require_once(MODPATH . "aws_s3/lib/s3.php");
                    
14            S3::setAuth(module::get_var("aws_s3", "access_key"), module::get_var("aws_s3", "secret_key"));
                    
60        else
                    
61            $item = print_r($item, true);
                    
62
                    
234    static function validate_access_details($access_key, $secret_key, $bucket_name) {
                    
235        require_once(MODPATH . "aws_s3/lib/s3.php");
                    
236        S3::setAuth($access_key, $secret_key);
                    
                
Ini.php git://github.com/snytkine/LampCMS.git | PHP | 399 lines
                    
1<?php
                    
2/**
                    
113    {
                    
114        if (\substr(PHP_SAPI, 0, 3) === 'cli') {
                    
115            $ret = $this->__get('LOG_DIR') . DIRECTORY_SEPARATOR . 'cli-php';
                    
115            $ret = $this->__get('LOG_DIR') . DIRECTORY_SEPARATOR . 'cli-php';
                    
116        } elseif ((\substr(PHP_SAPI, 0, 3) === 'cgi')) {
                    
117            $ret = $this->__get('LOG_DIR') . DIRECTORY_SEPARATOR . 'cgi-php';
                    
118        } else {
                    
119            $ret = $this->__get('LOG_DIR') . DIRECTORY_SEPARATOR . 'php';
                    
120        }
                    
141        if (!$this->offsetExists('CONSTANTS')) {
                    
142            throw new IniException('"CONSTANTS" section is missing in !config.ini file: ' . $this->iniFile . ' config: ' . \print_r($this->getArrayCopy(), true));
                    
143        }
                    
233            case 'LOG_FILE_PATH':
                    
234                if (\substr(PHP_SAPI, 0, 3) === 'cli') {
                    
235                    $ret = $this->__get('LOG_DIR') . DIRECTORY_SEPARATOR . 'cli-php';
                    
                
buzzParser.php http://buzz-php-client.googlecode.com/svn/trunk/ | PHP | 363 lines
                    
1<?php
                    
2/*
                    
17
                    
18require_once "models/buzzStream.php";
                    
19require_once "models/buzzLink.php";
                    
19require_once "models/buzzLink.php";
                    
20require_once "models/buzzPost.php";
                    
21require_once "models/buzzComment.php";
                    
21require_once "models/buzzComment.php";
                    
22require_once "models/buzzPerson.php";
                    
23require_once "models/buzzAttachment.php";
                    
23require_once "models/buzzAttachment.php";
                    
24require_once "models/buzzObject.php";
                    
25require_once "models/buzzTarget.php";
                    
191    if (empty($decoded) || !isset($decoded['data'])) {
                    
192      throw new buzzException("Invalid stream format: ".print_r($decoded, true));
                    
193    }
                    
                
category.php http://lzwblog.googlecode.com/svn/trunk/ | PHP | 416 lines
                    
1<?php 
                    
2require(dirname(__FILE__) . '/includes/init.php');
                    
54  	$filter_attr=$_GET['filter_attr'];
                    
55  	//$filter_arprint_r($filter_ar);
                    
56  }else{
                    
87  $brand_filter_arr=$db->getAll($sql);
                    
88  //print_r($brand_filter_arr);
                    
89  foreach($brand_filter_arr as $key=>$val)
                    
93  	$brand_filter_arr[$tem_key]['brand_name']=$val['brand_name'];
                    
94  	$brand_filter_arr[$tem_key]['b_url']='category.php?id='.$cat_id."&brand=".$val['brand_id']."&price_min=".$price_min."&price_max=".$price_max."&page=1";
                    
95  	if($brand == $val['brand_id'])
                    
101  }
                    
102  //print_r($brand_filter_arr);
                    
103  $brand_filter_arr[0]['brand_name']=$_LANG['all_attribute'];
                    
103  $brand_filter_arr[0]['brand_name']=$_LANG['all_attribute'];
                    
104  $brand_filter_arr[0]['b_url']='category.php?id='.$cat_id."&price_min=".$price_min."&price_max=".$price_max."&page=1";
                    
105  $brand_filter_arr[0]['selected'] = empty($brand) ? 1 : 0;
                    
                
README.md git://github.com/Respect/Validation.git | Markdown | 311 lines
                    
7
                    
8```php
                    
9use Respect\Validation\Validator as v;
                    
15
                    
16```php
                    
17$number = 123;
                    
25
                    
26```php
                    
27$usernameValidator = v::alnum()->noWhitespace()->length(1, 15);
                    
34
                    
35```php
                    
36$user = new stdClass;
                    
42
                    
43```php
                    
44$userValidator = v::attribute('name', v::stringType()->length(1,32))
                    
                
Structure_marketing.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 312 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
83            $last_query = $this->db->last_query();
                    
84            // die(print_r($last_query));
                    
85
                    
273
                    
274            // die(print_r($data));
                    
275            $query = $this->M_level_marketing->_update(array('id' => $id), $data);
                    
                
install-helper.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 226 lines
                    
1<?php
                    
2/**
                    
49/** Load WordPress Bootstrap */
                    
50require_once(dirname(dirname(__FILE__)).'/wp-load.php');
                    
51
                    
194	foreach ($results as $row ) {
                    
195		if ($debug > 1) print_r($row);
                    
196
                    
                
CoralsOfTheWorldAPI.php https://github.com/EOL/eol_php_code.git | PHP | 247 lines
                    
1<?php
                    
2namespace php_active_record;
                    
38        $this->archive_builder->finalize(TRUE);
                    
39        // print_r($this->debug);
                    
40    }
                    
                
Vanilla.Control.DiscussionForm.php http://lussumo-vanilla.googlecode.com/svn/trunk/ | PHP | 287 lines
                    
1<?php
                    
2/**
                    
126					$Redirect = GetUrl(
                    
127						$this->Context->Configuration, 'comments.php', '', 'DiscussionID',
                    
128						$ResultDiscussion->DiscussionID, '', '', $Suffix);
                    
158					// Saved successfully, so send back to the discussion
                    
159					// print_r($this->Discussion);
                    
160					$Suffix = CleanupString($this->Discussion->Name).'/';
                    
160					$Suffix = CleanupString($this->Discussion->Name).'/';
                    
161					$Url = GetUrl($this->Context->Configuration, 'comments.php', '', 'DiscussionID', $ResultComment->DiscussionID, $this->Discussion->LastPage, ($ResultComment->CommentID > 0 ? '#Comment_'.$ResultComment->CommentID:'#pgbottom'), $Suffix);
                    
162					$UrlParts = explode("?", $Url);
                    
210
                    
211		include(ThemeFilePath($this->Context->Configuration, 'comment_form.php'));
                    
212
                    
246
                    
247		include(ThemeFilePath($this->Context->Configuration, 'discussion_form.php'));
                    
248
                    
                
CityController.php http://commonshell.googlecode.com/svn/trunk/ | PHP | 183 lines
                    
1<?php
                    
2
                    
112        while($item = $cursor->getNext()) {
                    
113            //print_r($item);
                    
114            $tmp[$item['name']] = $item['cid'];
                    
                
Editapp.php git://github.com/snytkine/LampCMS.git | PHP | 317 lines
                    
1<?php
                    
2/**
                    
125        if ($this->Form->isSubmitted() && $this->Form->validate()) {
                    
126            d('$this->oApi: ' . print_r($this->oApi->getArrayCopy(), 1));
                    
127            $this->save();
                    
209        $vals     = $this->Form->getSubmittedValues();
                    
210        d('vals: ' . print_r($vals, 1));
                    
211
                    
                
Debug.class.php https://bitbucket.org/multimedium/bob361.git | PHP | 525 lines
                    
1<?php 
                    
2class M_Debug extends M_Object {
                    
167	 *
                    
168	 * In maintenance mode all traffic will be redirected to maintenance.php,
                    
169	 * and a header 302 will be sent (temporary redirect).
                    
229			echo "<pre>";
                    
230			print_r((array)$array);
                    
231			echo"</pre>";
                    
                
browser_kernel.php https://gestion001.svn.codeplex.com/svn | PHP | 293 lines
                    
1<?php
                    
2
                    
68        //echo $entidad_def;
                    
69        //print_r($row_rs_def);
                    
70        $keys = array_keys($row_rs_def[$entidad_def]);
                    
195        }
                    
196        $this->currentPage = $_SERVER["PHP_SELF"];
                    
197
                    
                
VCardProducer.php http://sabre-zarafa.googlecode.com/svn/trunk/ | PHP | 337 lines
                    
1<?php
                    
2/*
                    
27// Logging
                    
28include_once ("log4php/Logger.php");
                    
29Logger::configure("log4php.xml");
                    
30 
                    
31require_once "vcard/IVCardProducer.php";
                    
32require_once "config.inc.php";
                    
34// PHP-MAPI
                    
35require_once("mapi/mapi.util.php");
                    
36require_once("mapi/mapicode.php");
                    
36require_once("mapi/mapicode.php");
                    
37require_once("mapi/mapidefs.php");
                    
38require_once("mapi/mapitags.php");
                    
38require_once("mapi/mapitags.php");
                    
39require_once("mapi/mapiguid.php");
                    
40	
                    
                
Fields.php https://bitbucket.org/wallindev/wallindev-wp.git | PHP | 371 lines
                    
1<?php if ( ! defined( 'ABSPATH' ) ) exit;
                    
2
                    
163    {
                    
164        //print_r($field);
                    
165        $hidden_field_types = apply_filters( 'nf_sub_hidden_field_types', array() );
                    
324        }
                    
325        //print_r($subject);
                    
326
                    
335            if( ! isset($merge_tag[ 'callback' ])) continue;
                    
336            //print_r($merge_tag);
                    
337            //echo( ' = ' );
                    
339            $replace = ( is_callable( array( $this, $merge_tag[ 'callback' ] ) ) ) ? $this->{$merge_tag[ 'callback' ]}(array('calc' => true)) : '0';
                    
340            //print_r($replace);
                    
341            //echo('  myspace  ');
                    
                
mysql.php https://code.google.com/p/prjtest00/ | PHP | 307 lines
                    
1<?php
                    
2############################################################################
                    
63 $this->logger->WriteLog(trace,"SQLCore",$this->version,"I0003","Importing Configuration file...");
                    
64 require "config/config.inc.php";
                    
65
                    
178  echo "<p>Valid Pools:";
                    
179  print_r($this->conf["pool"]);
                    
180  echo "</p>\n";
                    
202	echo "<p>Valid Pools:";
                    
203	print_r($this->conf["pool"]);
                    
204	echo "</p>\n";
                    
                
cache.php http://cartonbank.googlecode.com/svn/trunk/ | PHP | 504 lines
                    
1<?php
                    
2/**
                    
411	 * The $expire parameter is not used, because the cache will automatically
                    
412	 * expire for each time a page is accessed and PHP finishes. The method is
                    
413	 * more for cache plugins which use files.
                    
459			echo "<pre>";
                    
460			print_r($cache);
                    
461			echo "</pre>";
                    
465	/**
                    
466	 * PHP4 constructor; Calls PHP 5 style constructor
                    
467	 *
                    
476	/**
                    
477	 * Sets up object properties; PHP 5 style constructor
                    
478	 *
                    
483		/**
                    
484		 * @todo This should be moved to the PHP4 style constructor, PHP5
                    
485		 * already calls __destruct()
                    
                
oracle.php http://mootoolstools.googlecode.com/svn/trunk/ | PHP | 315 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Oracle??????????PHP5
                    
4 * 
                    
11$nrows = ocifetchstatement ( $parsed, $results );
                    
12echo "Oracle PHP Test";
                    
13echo "<br /> <br />";
                    
69	 * ??????
                    
70	 * @param		TableName		??				????????????????????/include/config.inc.php???????
                    
71	 * @param		ArrField		????		??????????
                    
210		while ( $row = oci_fetch_array ( $statement, OCI_BOTH ) ) {
                    
211//						print_r($row);echo '<hr>';
                    
212			$this->ResultArr [] = $row;			
                    
255		
                    
256		$this->Thispage=$_SERVER ['PHP_SELF'];
                    
257	
                    
                
vpn_ssl_config.php http://windowsfw.googlecode.com/svn/trunk/ | PHP | 321 lines
                    
1<?php
                    
2session_start();
                    
2session_start();
                    
3include_once("function_right.php");
                    
4if(!JudgeUserRight()) return FALSE;
                    
42</head>
                    
43<?php
                    
44include_once "function_net_snmp.php";
                    
47?>
                    
48<body class=bianju onload="changeShowVersion('priv'),changeShowNoObj('<?php echo $sl ?>')">
                    
49	<table width=460 border=0 cellpadding=0 cellspacing=0 >
                    
56      	<tr>
                    
57        <td width=80 class=ttitle01><div align="center"><a href="vpn_ssl_config.php">????</a></div></td>
                    
58        <td width=10 ></td>
                    
58        <td width=10 ></td>
                    
59        <td width=80 class=ttitle><div align="center"><a href="vpn_ssl_server_config.php">????</a></div></td>
                    
60        <td width=10 ></td>
                    
                
PodioObject.php git://github.com/podio/podio-php.git | PHP | 357 lines
                    
1<?php
                    
2
                    
36                // we can construct using both the API format when receiving responses
                    
37                // and the much simpler podio-php format when constructing manually.
                    
38                if ($name == 'values' && !$has_api_values) {
                    
117    {
                    
118        return print_r($this->as_json(false), true);
                    
119    }
                    
                
BCDClass.php http://openirudi.googlecode.com/svn/trunk/ | PHP | 223 lines
                    
1<?php
                    
2
                    
130                    default :
                    
131                        exceptionHandlerClass::saveMessage( "WRONG VALUE obj:: $obj k2: <pre> ".print_r($newVal,1). "</pre>");
                    
132                        return;
                    
                
connector.php https://xzwebshop.svn.codeplex.com/svn | PHP | 193 lines
                    
70
                    
71if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) ob_start();
                    
72outputHeaders();
                    
109	if ($fckphp_config['auth']['Req']) {
                    
110		require_once "./Auth/".$fckphp_config['auth']['HandlerClass'].".php";
                    
111		
                    
121</Connector><?php
                    
122			if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) recordOutput();
                    
123			exit(0);
                    
152
                    
153	if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) {
                    
154		$contents=ob_get_contents();
                    
159				if ($fckphp_config['Debug_GET']) fwrite($fh,"\n\$_GET::\n".print_r($_GET,true)."\n");
                    
160				if ($fckphp_config['Debug_POST']) fwrite($fh,"\n\$_POST::\n".print_r($_POST,true)."\n");
                    
161				if ($fckphp_config['Debug_SERVER']) fwrite($fh,"\n\$_SERVER::\n".print_r($_SERVER,true)."\n");
                    
                
SingularValueDecomposition.php https://PHPExcel.svn.codeplex.com/svn | PHP | 503 lines
                    
1<?php
                    
2/**
                    
16* @author  Paul Meagher
                    
17* @license PHP v3.0
                    
18* @version 1.1
                    
409    echo "<pre>";
                    
410    print_r($this->U);        
                    
411    echo "</pre>";
                    
414    echo "<pre>";
                    
415    print_r($this->V);        
                    
416    echo "</pre>";    
                    
419    echo "<pre>";
                    
420    print_r($this->s);        
                    
421    echo "</pre>";    
                    
                
xPDOFileVehicle.php https://github.com/modxcms/xpdo.git | PHP | 223 lines
                    
1<?php
                    
2/**
                    
93                if (!$this->resolve($transport, $object, $vOptions)) {
                    
94                    $transport->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not resolve vehicle for object: ' . print_r($object, true));
                    
95                    if ($transport->xpdo->getDebug() === true) $transport->xpdo->log(xPDO::LOG_LEVEL_DEBUG, 'Could not resolve vehicle: ' . print_r($vOptions, true));
                    
97            } else {
                    
98                $transport->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not validate vehicle for object: ' . print_r($object, true));
                    
99                if ($transport->xpdo->getDebug() === true) $transport->xpdo->log(xPDO::LOG_LEVEL_DEBUG, 'Could not validate vehicle: ' . print_r($vOptions, true));
                    
156                if (!$this->resolve($transport, $object, $vOptions)) {
                    
157                    $transport->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not resolve vehicle for object: ' . print_r($object, true));
                    
158                    if ($transport->xpdo->getDebug() === true) $transport->xpdo->log(xPDO::LOG_LEVEL_DEBUG, 'Could not resolve vehicle: ' . print_r($vOptions, true));
                    
160            } else {
                    
161                $transport->xpdo->log(xPDO::LOG_LEVEL_ERROR, 'Could not validate vehicle for object: ' . print_r($object, true));
                    
162                if ($transport->xpdo->getDebug() === true) $transport->xpdo->log(xPDO::LOG_LEVEL_DEBUG, 'Could not validate vehicle: ' . print_r($vOptions, true));
                    
                
fx_config.php http://comet.googlecode.com/svn/trunk/ | PHP | 506 lines
                    
1<?php
                    
2	
                    
135			}
                    
136			//print_r (get_class_methods($config_document));
                    
137			//Traverse On XML Document
                    
146			$this->setDocument($config_document);
                    
147			//print_r($this->_data);
                    
148			return $this;
                    
                
XWebDebugRouter.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 500 lines
                    
347		{
                    
348			$phpSession = array();
                    
349			$sessKeyLen = null;
                    
358			}
                    
359			$values['PHP']['Data'] = $phpSession;
                    
360		}
                    
388		$values = array(
                    
389			'php'			=> phpversion(),
                    
390			'os'			=> php_uname(),
                    
398			{
                    
399				$values['extensions'][$key] = phpversion($extension) ? sprintf('%s (%s)', $extension, phpversion($extension)) : $extension;
                    
400			}
                    
440		$result['content'] .= self::formatArrayAsHtml('session', self::sessionAsArray(), true);
                    
441		$result['content'] .= self::formatArrayAsHtml('php', self::phpInfoAsArray(), true);
                    
442		$result['content'] .= self::formatArrayAsHtml('request', self::requestAsArray(), true);
                    
                
Hooks.php https://bitbucket.org/carloskikea/helpet.git | PHP | 269 lines
                    
1<?php
                    
2
                    
79    {
                    
80        include CLOUDFLARE_PLUGIN_DIR.'index.php';
                    
81    }
                    
84    {
                    
85        $links[] = '<a href="'.get_admin_url(null, 'options-general.php?page=cloudflare').'">Settings</a>';
                    
86
                    
161                $isOK = ($isOK) ? 'succeeded' : 'failed';
                    
162                $this->logger->debug("List of URLs purged are: " . print_r($urls, true));
                    
163                $this->logger->debug("purgeCacheByRevelantURLs " . $isOK);
                    
258    /*
                    
259     * php://input can only be read once before PHP 5.6, try to grab it ONLY if the request
                    
260     * is coming from the cloudflare proxy.  We store it in a global so \CF\WordPress\Proxy
                    
265        if (isset($_GET['action']) && $_GET['action'] === self::WP_AJAX_ACTION) {
                    
266            $GLOBALS[self::CLOUDFLARE_JSON] = file_get_contents('php://input');
                    
267        }
                    
                
SimpleMenuLogger.php https://bitbucket.org/GraphicFusion/crafti-landing.git | PHP | 385 lines
                    
1<?php
                    
2
                    
66		//add_action("wp_delete_nav_menu", array($this, "on_wp_delete_nav_menu"), 10, 1 );
                    
67		add_action("load-nav-menus.php", array($this, "on_load_nav_menus_page_detect_delete"));
                    
68
                    
99		// so we can't detect changes
                    
100		add_action("load-nav-menus.php", array($this, "on_load_nav_menus_page_detect_update"));
                    
101
                    
113		// Detect meny location change in "manage locations"
                    
114		add_action("load-nav-menus.php", array($this, "on_load_nav_menus_page_detect_locations_update"));
                    
115	}
                    
123		/*
                    
124		http://playground-root.ep/wp-admin/nav-menus.php?menu=22&action=delete&0=http%3A%2F%2Fplayground-root.ep%2Fwp-admin%2F&_wpnonce=f52e8a31ba
                    
125		$_REQUEST:
                    
172				"menu_term_id" => $menu_term_id,
                    
173				"menu" => print_r($menu, true),
                    
174				"request" => print_r($_REQUEST, true),
                    
                
tpl_ins_scad.php http://gevion.googlecode.com/svn/trunk/ | PHP | 133 lines
                    
36</SCRIPT>
                    
37<?php 
                    
38if ((isset($error)) and (!empty($error))) {
                    
60		<td class="FacetFieldCaptionTD">Induzione Errore</td>
                    
61		<td class="FacetDataTD"><pre><?=print_r($error['trace'])?></pre></td>
                    
62	</tr>
                    
                
StudeaWSController.php https://bitbucket.org/wizzmedia/nexity-generateur.git | PHP | 369 lines
                    
1<?php
                    
2
                    
35
                    
36        $client = new \SoapClient('http://10.nexity.fr/app_dev.php/ws/Studea', $soapOptions);
                    
37
                    
76        if (strtolower($this->getParameter('srv_env')) == 'local') {
                    
77            $client = new \SoapClient('http://127.nexity/app_dev.php/ws/Studea', $soapOptions);
                    
78            //$client = new \SoapClient('http://wwwq.nexity-studea.com/WSStudea/StudeaService.php?wsdl', $soapOptions);
                    
84            $nouveauxDossiers = $client->getNouveauxDossiers(0);
                    
85            echo '$nouveauxDossiers<pre>'; print_r($nouveauxDossiers);echo '</pre>';
                    
86
                    
87            $detailsDossier = $client->getDetailDossier('Z-92');//$nouveauxDossiers->item[0]->NumeroDossier);
                    
88            echo '$detailsDossier<pre>'; print_r($detailsDossier);echo '</pre>';
                    
89            //header("Content-Type:text/xml; charset=utf-8'");
                    
96//        $detailsDossier = $client->getDetailDossier($nouveauxDossiers->item[0]->NumeroDossier);
                    
97//        echo '$detailsDossier<pre>'; print_r($detailsDossier);echo '</pre>';
                    
98        
                    
                
db_functions.php http://otpauth.googlecode.com/svn/trunk/ | PHP | 306 lines
                    
1<?php
                    
2
                    
277        while ($entry = sqlite_fetch_array($res)) {
                    
278		print_r($entry);
                    
279        }
                    
288        while ($entry = sqlite_fetch_array($res)) {
                    
289		print_r($entry);
                    
290        }
                    
299        while ($entry = sqlite_fetch_array($res)) {
                    
300		print_r($entry);
                    
301        }
                    
                
class-wcs-cached-data-manager.php https://bitbucket.org/tristangemus/tribe-demo.git | PHP | 306 lines
                    
1<?php
                    
2/**
                    
163
                    
164		$this->log( 'In the clearing, key being purged is this: ' . print_r( $key, true ) );
                    
165
                    
                
fuel_calculator.php http://pos-tracker-temar.googlecode.com/svn/trunk/ | PHP | 289 lines
                    
1<?php
                    
2/*
                    
6*
                    
7* PHP version 5
                    
8*
                    
27* @package    POS-Tracker2
                    
28* @version    SVN: $Id: fuel_calculator.php 243 2009-04-26 16:10:33Z stephenmg $
                    
29* @link       https://sourceforge.net/projects/pos-tracker2/
                    
35
                    
36include_once 'includes/pos_val.php';
                    
37
                    
265
                    
266	//echo '<pre>';print_r($fuel); echo '</pre>';exit;
                    
267
                    
                
scheduler.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 225 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
5 *
                    
6 * PHP version 5
                    
7 * LICENSE: This source file is subject to LGPL license
                    
86		{
                    
87			//print_r($_POST);
                    
88			$post = Validation::factory( $_POST );
                    
                
pop_plate_show.php http://prohits.googlecode.com/svn/trunk/ | PHP | 364 lines
                    
48
                    
49require("../common/site_permission.inc.php");
                    
50require("classes/bait_class.php");
                    
50require("classes/bait_class.php");
                    
51require("classes/experiment_class.php");
                    
52require("classes/gel_class.php");
                    
52require("classes/gel_class.php");
                    
53require("classes/lane_class.php");
                    
54require("classes/band_class.php");
                    
54require("classes/band_class.php");
                    
55require("classes/plate_class.php");
                    
56require("classes/plateWell_class.php");
                    
56require("classes/plateWell_class.php");
                    
57require("classes/hits_class.php"); 
                    
58require("../common/page_counter_class.php");
                    
                
class.model.php https://github.com/ghoppe/Garden.git | PHP | 481 lines
                    
1<?php if (!defined('APPLICATION')) exit();
                    
2/*
                    
19 * @copyright 2009 Mark O'Sullivan
                    
20 * @license http://www.opensource.org/licenses/gpl-2.0.php GPL
                    
21 * @package Garden
                    
167         if (is_array($this->PrimaryKey)) {
                    
168            //print_r($this->PrimaryKey);
                    
169            $this->PrimaryKey = $this->PrimaryKey[0];
                    
                
surveyBuilder.php http://records-authority.googlecode.com/svn/ | PHP | 315 lines
                    
1<?php
                    
2/**
                    
158		} else {
                    
159			print_r($_POST);
                    
160			echo "<br /><br /><br /><br />";
                    
                
register.php http://wowroster.googlecode.com/svn/trunk/ | PHP | 362 lines
                    
1<?php
                    
2
                    
4{
                    
5include_once ($addon['inc_dir'] . 'conf.php');
                    
6}
                    
12	echo '<pre>';
                    
13	print_r($_POST);
                    
14	echo '</pre>';
                    
180						$.ajax({
                    
181							url: 'index.php?p=user-user-ajaxcvar',
                    
182							//url: 'index.php?p=ajaxcvar',
                    
                
xml.class.php http://wikiplot.googlecode.com/svn/trunk/ | PHP | 398 lines
                    
1<?php
                    
2/*
                    
30 * <code>
                    
31 * <?php
                    
32 * $xml_data = "<root> 
                    
38 * $xml = new XMLParser($xml_data);
                    
39 * print_r($xml->CreateInputArray());
                    
40 * ?>  
                    
213    *
                    
214    * The function uses xml_parse() function from XML Parser Functions in PHP
                    
215    * and parses only the first tag in the given XML data and ignores
                    
                
simplexlsx.php https://gitlab.com/miechuliv/livesell.git | PHP | 397 lines
                    
1<?php
                    
2
                    
2
                    
3// SimpleXLSX php class v0.4
                    
4// MS Excel 2007 workbooks reader
                    
6//   $xlsx = new SimpleXLSX('book.xlsx');
                    
7//   print_r( $xlsx->rows() );
                    
8// Example 2: 
                    
9//   $xlsx = new SimpleXLSX('book.xlsx');
                    
10//   print_r( $xlsx->rowsEx() );
                    
11// Example 3: 
                    
12//   $xlsx = new SimpleXLSX('book.xlsx');
                    
13//   print_r( $xlsx->rows(2) ); // second worksheet
                    
14//
                    
18class SimpleXLSX {
                    
19	// Don't remove this string! Created by Sergey Schuchkin from http://www.sibvison.ru - professional php developers team 2010-2011
                    
20	private $sheets;
                    
                
listing-info.php https://bitbucket.org/OverSite/capstone-demo.git | PHP | 216 lines
                    
68    <!-- BEGIN TEMPLATE default-css.php INCLUDE -->
                    
69    <?php include "./templates-oh/default-css.php" ?>
                    
70    <!-- END TEMPLATE default-css.php INCLUDE -->
                    
76    <!-- BEGIN TEMPLATE header.php INCLUDE -->
                    
77    <?php include "./templates-oh/header.php" ?>
                    
78    <!-- END TEMPLATE header.php INCLUDE -->
                    
80    <!-- BEGIN TEMPLATE nav.php INCLUDE -->
                    
81    <?php include "./templates-oh/nav.php" ?>
                    
82    <!-- END TEMPLATE nav.php INCLUDE -->
                    
207<!-- BEGIN TEMPLATE default-footer.php INCLUDE -->
                    
208<?php include "./templates-oh/default-footer.php" ?>
                    
209<!-- END TEMPLATE default-footer.php INCLUDE -->
                    
211<!-- BEGIN TEMPLATE default-js.php INCLUDE -->
                    
212<?php include "./templates-oh/default-js.php" ?>
                    
213<!-- END TEMPLATE default-js.php INCLUDE -->
                    
                
Googlestoragejson.php https://bitbucket.org/saltwaterdev/offshorefinancial.com.git | PHP | 418 lines
                    
1<?php
                    
2/**
                    
3 * Akeeba Engine
                    
4 * The modular PHP5 site backup engine
                    
5 *
                    
133
                    
134				Factory::getLog()->log(LogLevel::DEBUG, __CLASS__ . '::' . __METHOD__ . " - Got uploadPart result " . print_r($result, true));
                    
135			}
                    
326		{
                    
327			$this->setWarning('The PHP module for OpenSSL integration is not enabled or openssl_sign() is disabled. Please contact your host and ask them to fix this issue for the version of PHP you are currently using on your site (PHP reports itself as version ' . PHP_VERSION . ').');
                    
328
                    
335		{
                    
336			$this->setWarning('The PHP module for OpenSSL integration does not support the sha256WithRSAEncryption signature algorithm. Please ask your host to compile BOTH a newer version of the OpenSSL library AND the OpenSSL module for PHP against this (new) OpenSSL library for the version of PHP you are currently using on your site (PHP reports itself as version ' . PHP_VERSION . ').');
                    
337
                    
                
class-wc-connect-options.php https://bitbucket.org/spirulineteam/spiruline.git | PHP | 338 lines
                    
1<?php
                    
2
                    
136			if ( ! self::is_valid( $names ) ) {
                    
137				trigger_error( sprintf( 'Invalid WooCommerce Services option names: %s', print_r( $names, 1 ) ), E_USER_WARNING );
                    
138				return false;
                    
                
function.html_select_date.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 270 lines
                    
1<?php
                    
2/*
                    
20 * Taken from the original Smarty
                    
21 * http://smarty.php.net
                    
22 * -------------------------------------------------------------
                    
25{
                    
26    require_once("shared.make_timestamp.php");
                    
27    require_once("function.html_options.php");
                    
44    $reverse_years   = false;
                    
45    /* Should the select boxes be part of an array when returned from PHP?
                    
46       e.g. setting it to "birthday", would create "birthday[Day]",
                    
143                                                            'selected'   => $month_values[$time[1]-1],
                    
144                                                            'print_result' => false),
                    
145                                                      $template_object);
                    
182                                                          'selected'   => $time[2],
                    
183                                                          'print_result' => false),
                    
184                                                    $template_object);
                    
                
mysql.php http://mootoolstools.googlecode.com/svn/trunk/ | PHP | 276 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * MySQL?????????PHP4
                    
4 * 
                    
58	 * ??????
                    
59	 * @param		TableName		??				????????????????????/include/config.inc.php???????
                    
60	 * @param		ArrField		????		??????????
                    
170		while ( $row = mysql_fetch_array ( $temp_query ) ) {
                    
171			//			print_r($row);
                    
172			//			echo '<hr>';
                    
216		
                    
217		$ThisPage = $_SERVER ['PHP_SELF'];
                    
218		
                    
263	function error_alert($Type, $Source, $Message) {
                    
264		$ThisPage = $_SERVER ['PHP_SELF'];
                    
265		
                    
                
bitly.php https://github.com/igorescobar/Bitly-PHP.git | PHP | 411 lines
                    
1<?php
                    
2/**
                    
6 *
                    
7 * Copyright (c) 2010 Igor Escobar, Bitly-PHP
                    
8 * 
                    
28 * 
                    
29 * PHP Library to use the RESTfull API of Bit.ly
                    
30 * 
                    
35 * If possible, always work with the json return. 
                    
36 * The PHP has natively the functions to care of this type of data.
                    
37 * If you want use a XML return, the library was return the entire response data in the XML format,
                    
42 * @uses  
                    
43 *  		http://wiki.github.com/igorescobar/Bitly-PHP/
                    
44 *
                    
404		echo "<pre>"; 
                    
405		print_r( $this->return ); 
                    
406		echo "</pre>";
                    
                
Group_manivest.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 332 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
83			$last_query = $this->db->last_query();
                    
84			// die(print_r($last_query));
                    
85
                    
244
                    
245            // die(print_r($data));
                    
246            $query = $this->M_group_manivest->_update(array('id' => $id), $data);
                    
                
export.php http://airscore.googlecode.com/svn/trunk/ | PHP | 373 lines
                    
1<?php
                    
2require 'authorisation.php';
                    
15    $fieldarr = array();
                    
16    #print_r($valmap);
                    
17    foreach ($valmap as $key => $val)
                    
348);
                    
349#print_r($taskmap);
                    
350foreach ($taskresult as $resPk => $row)
                    
                
amqp_channel.c git://pkgs.fedoraproject.org/php-pecl-amqp | C | 478 lines
                    
4  +----------------------------------------------------------------------+
                    
5  | Copyright (c) 1997-2007 The PHP Group                                |
                    
6  +----------------------------------------------------------------------+
                    
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          |
                    
44
                    
45#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
                    
46HashTable *amqp_channel_object_get_debug_info(zval *object, int *is_temp TSRMLS_DC) {
                    
51	
                    
52	/* Super magic make shit work variable. Seriously though, without this using print_r and/or var_dump will either cause memory leak or crash. */
                    
53	*is_temp = 1;
                    
111	
                    
112#if 0 && PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
                    
113	zend_object_handlers *handlers;
                    
                
NaukaTestController.php http://htdocstest.googlecode.com/svn/trunk/ | PHP | 228 lines
                    
1<?php
                    
2
                    
71		$post->save();
                    
72		print_r($post->nazwa);
                    
73
                    
                
AbstractSearch.php git://github.com/egeniq/adapto.git | PHP | 280 lines
                    
1<?php
                    
2
                    
76
                    
77        Adapto_Util_Debugger::debug('tableExists checking table: ' . $this->m_table . ' exists : ' . print_r($this->m_table_exists, true));
                    
78
                    
                
RequestOptionsTest.php git://github.com/stripe/stripe-php.git | PHP | 172 lines
                    
1<?php
                    
2
                    
8 */
                    
9final class RequestOptionsTest extends \PHPUnit\Framework\TestCase
                    
10{
                    
160        $opts = RequestOptions::parse(['api_key' => 'sk_test_1234567890abcdefghijklmn']);
                    
161        $debugInfo = \print_r($opts, true);
                    
162        static::assertContains('[apiKey] => sk_test_********************klmn', $debugInfo);
                    
164        $opts = RequestOptions::parse(['api_key' => 'sk_1234567890abcdefghijklmn']);
                    
165        $debugInfo = \print_r($opts, true);
                    
166        static::assertContains('[apiKey] => sk_********************klmn', $debugInfo);
                    
168        $opts = RequestOptions::parse(['api_key' => '1234567890abcdefghijklmn']);
                    
169        $debugInfo = \print_r($opts, true);
                    
170        static::assertContains('[apiKey] => ********************klmn', $debugInfo);
                    
                
fix_wikipedia.php https://github.com/EOL/eol_php_code.git | PHP | 287 lines
                    
1<?php
                    
2namespace php_active_record;
                    
2namespace php_active_record;
                    
3include_once(dirname(__FILE__) . "/../config/environment.php");
                    
4$mysqli = &$GLOBALS['db_connection'];
                    
13$guids_of_curated_objects = get_guids_of_curated_objects($data_object_guids);
                    
14print_r($guids_of_curated_objects);
                    
15// check_revision_history(array_keys($guids_of_curated_objects));
                    
                
dumper.php git://github.com/campaignmonitor/createsend-php.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
22    /**
                    
23     *    Renders a variable in a shorter form than print_r().
                    
24     *    @param mixed $value      Variable to render as a string.
                    
347     *    @param mixed $variable    Variable to display.
                    
348     *    @return string            Output from print_r().
                    
349     *    @access public
                    
353        ob_start();
                    
354        print_r($variable);
                    
355        $formatted = ob_get_contents();
                    
                
dumper.php https://github.com/mkassaei/Moodle-Question-Engine-2.git | PHP | 363 lines
                    
1<?php
                    
2    /**
                    
22        /**
                    
23         *    Renders a variable in a shorter form than print_r().
                    
24         *    @param mixed $value      Variable to render as a string.
                    
350         *    @param mixed $variable    Variable to display.
                    
351         *    @return string            Output from print_r().
                    
352         *    @access public
                    
356            ob_start();
                    
357            print_r($variable);
                    
358            $formatted = ob_get_contents();
                    
                
createNewProject.php http://marcel-as3-framework.googlecode.com/svn/trunk/ | PHP | 326 lines
                    
1<?php
                    
2/**
                    
279	<body onload="updatePackageName();updateUIList();">
                    
280		<?php
                    
281		if (!isset($_POST["go"]))
                    
284		<form action="" method="POST">
                    
285		New Project path: <input name="destFolderContainer" style="width:300px;" value="<?php echo str_replace('\\', '/', realpath('../')); ?>/client_YYYYMMDD_project">
                    
286		<br><br>
                    
291		<br>
                    
292		<?php
                    
293		for ($i = 0; $i < 10; $i++) {
                    
294		?>
                    
295		<input id="ui_id_<?php echo $i;?>" name="ui_id_<?php echo $i;?>" value="name_ui" onkeyup="updateUIList();">
                    
296		<span id="span_<?php echo $i;?>">clientproj.</span><input name="ui_class_<?php echo $i;?>" value="uis.UI">
                    
297		<input type="checkbox" name="ui_<?php echo $i;?>_form_cb" id="ui_<?php echo $i;?>_form_cb" /><label for="ui_<?php echo $i;?>_form_cb"> contains form</label>
                    
298		<input type="checkbox" name="ui_<?php echo $i;?>_video_cb" id="ui_<?php echo $i;?>_video_cb" /><label for="ui_<?php echo $i;?>_video_cb"> contains video</label>
                    
299		<br/>
                    
                
Sites.php https://bitbucket.org/Naked_Yoshi/tiktrack_beta.git | PHP | 243 lines
                    
1<?php
                    
2defined('BASEPATH') OR exit('No direct script access allowed');
                    
28			$arraysite = json_decode($_POST["obj"],true);
                    
29			print_r($arraysite);
                    
30			$this->models->company = 3;
                    
                
functions.php http://section-cms.googlecode.com/svn/trunk/ | PHP | 292 lines
                    
1<?php
                    
2// Buffer Function
                    
80    echo '<pre>';
                    
81    print_r($i);
                    
82    echo '</pre>';
                    
132{
                    
133    // Define Vars so PHP Would not Print Errors
                    
134    $build = '';
                    
241            
                    
242            if($file != '.' && $file != '..' && $file != 'modinit.php' && $pos === false)
                    
243            {
                    
246                $trap[] = array(
                    
247                    0 => 'modules/'.$tmp[0].'.php',
                    
248                    1 => $tmp[0]
                    
                
msql_meta_module.inc http://scalr.googlecode.com/svn/ | PHP | 499 lines
                    
1<?php
                    
2/**
                    
23	{
                    
24		include_once(ADODB_DIR."/adodb-error.inc.php");
                    
25		if ($err === false)
                    
32	{
                    
33		include_once(ADODB_DIR."/adodb-error.inc.php");
                    
34		return adodb_errormsg($errno);
                    
193			$retarr = array();
                    
194			while (!$rs->EOF) { //print_r($rs->fields);
                    
195				$fld = new ADOFieldObject();
                    
360			
                    
361		// php_mysql extension always returns 'blob' even if 'text'
                    
362		// so we have to check whether binary...
                    
451		'LONG' => 'N', // interbase is numeric, oci8 is blob
                    
452		'BIGINT' => 'N', // this is bigger than PHP 32-bit integers
                    
453		'DECIMAL' => 'N',
                    
                
MapSearch.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 217 lines
                    
1<?php
                    
2
                    
158            } catch (KurogoDataServerException $e) {
                    
159                Kurogo::log(LOG_WARNING, 'encountered KurogoDataServerException for feed config: ' . print_r($feedData, true) . $e->getMessage(), 'maps');
                    
160            }
                    
206                } catch (KurogoDataServerException $e) {
                    
207                    Kurogo::log(LOG_WARNING,'encountered KurogoDataServerException for feed config: ' . print_r($feedData, true) .  $e->getMessage(), 'maps');
                    
208                }
                    
                
dumper.php https://github.com/pvalencia/CoordinaChile.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
22	/**
                    
23	 *    Renders a variable in a shorter form than print_r().
                    
24	 *    @param mixed $value      Variable to render as a string.
                    
347	 *    @param mixed $variable    Variable to display.
                    
348	 *    @return string            Output from print_r().
                    
349	 *    @access public
                    
353		ob_start();
                    
354		print_r($variable);
                    
355		$formatted = ob_get_contents();
                    
                
function.html_select_time.php http://quicky.googlecode.com/svn/trunk/ | PHP | 169 lines
                    
1<?php
                    
2function quicky_function_html_select_time($params,$quicky)
                    
15    $second_interval    = 1;
                    
16    /* Should the select boxes be part of an array when returned from PHP?
                    
17       e.g. setting it to "birthday", would create "birthday[Hour]",
                    
82                                                           'selected'      => strftime($hour_fmt, $time),
                    
83                                                           'print_result' => false),
                    
84                                                     $quicky);
                    
109                                                           'selected'      => $selected,
                    
110                                                           'print_result' => false),
                    
111                                                     $quicky);
                    
137                                                           'selected'      => $selected,
                    
138                                                           'print_result' => false),
                    
139                                                     $quicky);
                    
161                                                           'selected'      => strtolower(strftime('%p', $time)),
                    
162                                                           'print_result' => false),
                    
163                                                     $quicky);
                    
                
payment.php https://github.com/shivaas/TMWL.git | PHP | 319 lines
                    
1<?php
                    
2class Payment extends Controller {
                    
129		#echo "<pre>";
                    
130		#print_r($_SESSION);
                    
131		#exit;
                    
134		{
                    
135			//header('Location: error.php');
                    
136			redirect('payment/error?type=1&ack=' . $paypalresult['ACK']);
                    
162		#echo "<pre>";
                    
163		#print_r($_SESSION);
                    
164		#echo "</pre>";
                    
246		#echo "<pre>";
                    
247		#print_r($_SESSION);
                    
248		#echo "</pre>";
                    
                
ShopifyCatalogFeedFileGenerator.php https://bitbucket.org/cdelacruz_sft/hitch.git | PHP | 322 lines
                    
1<?php
                    
2
                    
302                if (is_null($sku['barcode']) || $sku['barcode'] == '') {
                    
303                    throw new Exception("SKU " . print_r($sku, TRUE) . " doesn't have a valid barcode.");
                    
304                }
                    
305                if (isset($barcodes[$sku['barcode']])) {
                    
306                    throw new Exception("SKU " . print_r($sku, TRUE) . " doesn't have a unique barcode.");
                    
307                } else {
                    
                
function_sec_filter.php http://windowsfw.googlecode.com/svn/trunk/ | PHP | 543 lines
                    
1<?php
                    
2include_once "function_obj_analyse.php";
                    
2include_once "function_obj_analyse.php";
                    
3include_once "function_base_xml_class.php";
                    
4
                    
96			else {
                    
97				include_once "function_obj_protocol.php";
                    
98				$pro = new CProtocol ();
                    
108			$srv_list = GetServiceList($value_xml);
                    
109			//print_r($srv_list);
                    
110
                    
115			$src_list = GetSourceIpList($value_xml);
                    
116			//print_r($src_list);
                    
117			// ------ Des address ------
                    
121			$dst_list = GetDestIpList($value_xml);
                    
122			//print_r($dst_list);
                    
123
                    
                
dumper.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 395 lines
                    
1<?php
                    
2/**
                    
5 * @subpackage UnitTester
                    
6 * @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
24    /**
                    
25     * Renders a variable in a shorter form than print_r().
                    
26     * @param mixed $value      Variable to render as a string.
                    
381     * @param mixed $variable    Variable to display.
                    
382     * @return string            Output from print_r().
                    
383     * @access public
                    
388        ob_start();
                    
389        print_r($variable);
                    
390        $formatted = ob_get_contents();
                    
                
Schedule_group_movement.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 291 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
67            $last_query = $this->db->last_query();
                    
68            // die(print_r($last_query));
                    
69
                    
208
                    
209            // die(print_r($data));
                    
210            $query = $this->M_movement->_update(array('id' => $id), $data);
                    
                
Xmlrpcs.php https://github.com/stormlab/Stormlab.git | PHP | 503 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
17{	
                    
18	show_error('Your PHP installation does not support XML');
                    
19}
                    
204			{
                    
205				$plist .= "$i - " .  print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
                    
206				
                    
                
13calculation.php https://PHPExcel.svn.codeplex.com/svn | PHP | 245 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHPExcel
                    
4 *
                    
22 * @package    PHPExcel
                    
23 * @copyright  Copyright (c) 2006 - 2007 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/lgpl.txt	LGPL
                    
34/** PHPExcel */
                    
35include 'PHPExcel.php';
                    
36
                    
37/** PHPExcel_Calculation */
                    
38require_once 'PHPExcel/Calculation.php';
                    
39
                    
46echo date('H:i:s') . " Create new PHPExcel object\n";
                    
47$objPHPExcel = new PHPExcel();
                    
48
                    
                
APIBikeCompareListController.php https://bitbucket.org/ramesh_systimanx/bikehp-repo.git | PHP | 303 lines
                    
1<?php
                    
2namespace App\Http\Controllers\Api;
                    
87            }
                    
88            $inputs = file_get_contents("php://input");
                    
89            if ($this->encryption_enable == 1) {
                    
105            $Updated_by = $auth_user->id;
                    
106            //echo "<pre>";print_r($data);exit;
                    
107            if(isset($data->vehicleType) && isset($data->brandId) && isset($data->modelId) && isset($data->cbrandId) && isset($data->cmodelId) && isset($data->cstatus)){
                    
172            }
                    
173            $inputs = file_get_contents("php://input");
                    
174            if ($this->encryption_enable == 1) {
                    
189            $Updated_by = $auth_user->id;
                    
190            //echo "<pre>";print_r($data);exit;
                    
191            if(isset($data->vehicleType) && isset($data->bikecomID) && isset($data->brandId) && isset($data->modelId) && isset($data->cbrandId) && isset($data->cmodelId) && isset($data->cstatus)){
                    
256            }
                    
257            $inputs = file_get_contents("php://input");
                    
258            if ($this->encryption_enable == 1) {
                    
                
Endpoint.php git://github.com/basdenooijer/solarium.git | PHP | 305 lines
                    
1<?php
                    
2/**
                    
300                . 'timeout: ' . $this->getTimeout() . "\n"
                    
301                . 'authentication: ' . print_r($this->getAuthentication(), 1);
                    
302
                    
                
volunteer.php https://github.com/azeckoski/az-php-sandbox.git | PHP | 369 lines
                    
146		 }  else {
                    
147		 		$EXTRA_LINKS .= "<a href='$CONFADMIN_URL/admin/draft_schedule.php'>Schedule</a>";
                    
148	
                    
175</script>
                    
176<?php include $ACCOUNTS_PATH.'include/header.php'; ?>
                    
177<form name="adminform" method="post" action="<?=$_SERVER['PHP_SELF']; ?>" style="margin:0px;">
                    
183	<?php if(!$User->pk) { ?>	
                    
184		<div style="font-size:1.1em;">	&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;<strong>You must <a style="color:red" href="<?=$ACCOUNTS_URL?>/login.php?ref=/conference/volunteer.php">login</a>
                    
185		 in order to volunteer for a session</strong><br/><br/></div>
                    
318			</label>
                    
319<?php } else { ?>
                    
320			<label title="Volunteer to convene this session">
                    
368<br/>
                    
369<?php include $TOOL_PATH.'include/admin_footer.php'; ?>
                    
370
                    
                
FirePhp.php https://code.google.com/p/ecartcommerce/ | PHP | 254 lines
                    
1<?php
                    
2/**
                    
31 */
                    
32class Ecart_FirePhp
                    
33{
                    
51    /**
                    
52     * FirePhp logger
                    
53     *
                    
76        self::log($args[0]);
                    
77        print_r($headers['X-Requested-With']);
                    
78        if ((isset($headers['X_REQUESTED_WITH']) && $headers['X_REQUESTED_WITH'] == 'XMLHttpRequest') ||
                    
82
                    
83            print_r($args[0]);
                    
84            return;
                    
156    /**
                    
157     * @copyright http://anton.shevchuk.name/php/debug-zend-framework-application-with-firephp/
                    
158     * @static
                    
                
shell.php http://bassshell.googlecode.com/svn/source/ | PHP | 157 lines
                    
8<?php
                    
9include("funciones.php");
                    
10	$uname = " ".php_uname();
                    
21	if (!ereg("PHP/".phpversion(),$SRV)) $SRV.=". PHP/".phpversion();
                    
22	$SRV = str_replace("PHP/".phpversion(),"<a href='?phpinfo' class='BS_link' target='_blank'><b><u>PHP/".phpversion()."</u></b></a>",htmlspecialchars($SRV));
                    
23
                    
29	}	
                    
30define("BassShell",basename($_SERVER['PHP_SELF']));
                    
31define("_DS_",DIRECTORY_SEPARATOR);
                    
102<td>
                    
103<a href="<?php echo ($des==0)?"$me?s=1n":"$me?s=0n"; ?>" class="sort">
                    
104Nombre &nbsp;
                    
104Nombre &nbsp;
                    
105<? if($_GET['s'][1]=='n'){?><img src="imagenes/iconos/<?php echo ($des==0)?"down":"up";?>.gif" id=sortn border="none"/><? } ?>
                    
106</a>
                    
                
libvirt.examples.html https://gitlab.com/libvirt/libvirt-php.git | HTML | 74 lines
                    
7 <body><div class="manualnavbar" style="text-align: center;">
                    
8 <div class="prev" style="text-align: left; float: left;"><a href="libvirt.longlong.html">Interger ranges between libvirt and PHP</a></div>
                    
9 <div class="next" style="text-align: right; float: right;"><a href="ref.libvirt.html">Libvirt Functions</a></div>
                    
10 <div class="up"><a href="book.libvirt.html">Libvirt</a></div>
                    
11 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
12</div><hr /><div>
                    
21<div class="phpcode"><code><span style="color: #000000">
                    
22<span style="color: #0000BB">&lt;?php<br />$uri</span><span style="color: #007700">=</span><span style="color: #DD0000">"qemu+tcp:///system"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$credentials</span><span style="color: #007700">=Array(</span><span style="color: #0000BB">VIR_CRED_AUTHNAME</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">"fred"</span><span style="color: #007700">,</span><span style="color: #0000BB">VIR_CRED_PASSPHRASE</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">"fred"</span><span style="color: #007700">);<br />echo&nbsp;(</span><span style="color: #DD0000">"Connecting&nbsp;to&nbsp;libvirt&nbsp;(URI:$uri)\n"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">$conn</span><span style="color: #007700">=</span><span style="color: #0000BB">libvirt_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$uri</span><span style="color: #007700">,</span><span style="color: #0000BB">false</span><span style="color: #007700">,</span><span style="color: #0000BB">$credentials</span><span style="color: #007700">);<br />if&nbsp;(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">==</span><span style="color: #0000BB">false</span><span style="color: #007700">)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;(</span><span style="color: #DD0000">"Libvirt&nbsp;last&nbsp;error:&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_get_last_error</span><span style="color: #007700">().</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;exit;<br />}<br />else<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$hostname</span><span style="color: #007700">=</span><span style="color: #0000BB">libvirt_get_hostname</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;(</span><span style="color: #DD0000">"hostname:$hostname\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;(</span><span style="color: #DD0000">"Domain&nbsp;count:&nbsp;Active&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_get_active_domain_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">).</span><span style="color: #DD0000">",Inactive&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_get_inactive_domain_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">).</span><span style="color: #DD0000">",&nbsp;Total&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_get_domain_count</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">).</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$domains</span><span style="color: #007700">=</span><span style="color: #0000BB">libvirt_list_domains</span><span style="color: #007700">(</span><span style="color: #0000BB">$conn</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;(</span><span style="color: #0000BB">$domains&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$dom</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo&nbsp;(</span><span style="color: #DD0000">"Name:\t"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_domain_get_name</span><span style="color: #007700">(</span><span style="color: #0000BB">$dom</span><span style="color: #007700">).</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo(</span><span style="color: #DD0000">"UUID:\t"</span><span style="color: #007700">.</span><span style="color: #0000BB">libvirt_domain_get_uuid_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$dom</span><span style="color: #007700">).</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$dominfo</span><span style="color: #007700">=</span><span style="color: #0000BB">libvirt_domain_get_info</span><span style="color: #007700">(</span><span style="color: #0000BB">$dom</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$dominfo</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br /></span><span style="color: #0000BB">?&gt;</span>
                    
23</span>
                    
69<hr /><div class="manualnavbar" style="text-align: center;">
                    
70 <div class="prev" style="text-align: left; float: left;"><a href="libvirt.longlong.html">Interger ranges between libvirt and PHP</a></div>
                    
71 <div class="next" style="text-align: right; float: right;"><a href="ref.libvirt.html">Libvirt Functions</a></div>
                    
72 <div class="up"><a href="book.libvirt.html">Libvirt</a></div>
                    
73 <div class="home"><a href="index.html">PHP Manual</a></div>
                    
74</div></body></html>
                    
                
createcontent.php https://github.com/paragjagdale/people-aggregator.git | PHP | 343 lines
                    
1<?php
                    
2/** !
                    
12?>
                    
13<?php
                    
14//TO DO: while saving content save function should be called once
                    
16
                    
17require_once "api/BlogPost/BlogPost.php";
                    
18require_once "api/Contribution/Contribution.php";
                    
18require_once "api/Contribution/Contribution.php";
                    
19require_once "api/Suggestion/Suggestion.php";
                    
20require_once "web/includes/functions/auto_email_notify.php";
                    
20require_once "web/includes/functions/auto_email_notify.php";
                    
21require_once "api/Activities/Activities.php";
                    
22require_once "api/api_constants.php";
                    
23
                    
24// echo "_POST <pre>".print_r($_POST,1)."</pre>"; exit;
                    
25
                    
                
Init.php git://github.com/forkcms/forkcms.git | PHP | 173 lines
                    
1<?php
                    
2/*
                    
23 */
                    
24require_once CKFINDER_CONNECTOR_LIB_DIR . "/CommandHandler/XmlCommandHandlerBase.php";
                    
25
                    
114        if ($_aTypesSize) {
                    
115            $phpMaxSize = 0;
                    
116            $max_upload = CKFinder_Connector_Utils_Misc::returnBytes(ini_get('upload_max_filesize'));
                    
121            if ($max_post) {
                    
122              $phpMaxSize = $phpMaxSize ? min($phpMaxSize, $max_post) : $max_post;
                    
123            }
                    
126            if ($memory_limit && $memory_limit != -1) {
                    
127              $phpMaxSize = $phpMaxSize ? min($phpMaxSize, $memory_limit) : $memory_limit;
                    
128            }
                    
157                    if ($phpMaxSize) {
                    
158                      $maxSize = $maxSize ? min($maxSize, $phpMaxSize) : $phpMaxSize;
                    
159                    }
                    
                
login.php http://firmkernel.googlecode.com/svn/trunk/ | PHP | 158 lines
                    
1<?php
                    
2/*
                    
3+-----------------------------------------------------------------------------+
                    
4| $Id: login.php 2010-05-24 12:37:44Z Bleakwind $
                    
5| Member Login
                    
22    $ajax_response = new xajaxResponse();
                    
23    //$ajax_response->alert(print_r($value, true)); $ajax_response->assign($submit,"disabled",false); return $ajax_response;
                    
24
                    
                
TwitterOAuthTest.php https://bitbucket.org/JuarezJuarezItandehui/juarezjuarezitandehui.bitbucket.io.git | PHP | 264 lines
                    
1<?php
                    
2/**
                    
8
                    
9class TwitterOAuthTest extends \PHPUnit_Framework_TestCase
                    
10{
                    
54            $this->assertEquals('foo', substr($accessToken->access_token, 0, 75));
                    
55            $this->assertEquals('foo', print_r($result, true));
                    
56        }
                    
                
M_pmc.php https://bitbucket.org/nando123/unj-iamperform.git | PHP | 278 lines
                    
1<?php
                    
2	class M_pmc extends CI_Model {
                    
162			$kegiatan = $data['kegiatan'];
                    
163			// print_r($kegiatan);
                    
164			$sql = " INSERT INTO master_pmc (pmc_id,detail_id_pmc,created_user_id,atlet_id,created_dttm)"
                    
                
Memcached.php http://phpmemcacheadmin.googlecode.com/svn/trunk/ | PHP | 288 lines
                    
1<?php
                    
2/**
                    
17 *
                    
18 * Sending command to memcache server via PECL memcache API http://pecl.php.net/package/memcache
                    
19 *
                    
140        {
                    
141            return print_r($item, true);
                    
142        }
                    
                
admin_league.php https://bitbucket.org/DarkMantis/pfb | PHP | 308 lines
                    
1<?php
                    
2//*******************************************************
                    
3//
                    
4//  File:       admin_league.php
                    
5//  Author:     Gavin Uttley
                    
15    if(defined("__DEBUG__")) {
                    
16        print_r($_POST);
                    
17    }
                    
18
                    
19    include("fixtures.inc.php");
                    
20    include("db.php");
                    
106
                    
107            //header("Location: index.php?page=admin_league&lid=$lid");
                    
108        }
                    
115
                    
116            //header("Location: index.php?page=admin_league&lid=$lid");
                    
117        }
                    
                
UsersController.php https://bitbucket.org/fastestsolution/chachar_cz.git | PHP | 486 lines
                    
1<?php
                    
2namespace App\Controller;
                    
81		$result = curl_exec ($ch);
                    
82		//print_r($result);
                    
83		curl_close ($ch);
                    
110		$result = curl_exec ($ch);
                    
111		//print_r($result);
                    
112		curl_close ($ch);
                    
                
Workarea.php https://bitbucket.org/bo_hmb/bo_hmb.git | PHP | 319 lines
                    
1<?php defined('BASEPATH') OR exit('No direct script access allowed');
                    
2
                    
84			$last_query = $this->db->last_query();
                    
85			// die(print_r($last_query));
                    
86
                    
259
                    
260            // die(print_r($data));
                    
261            $query = $this->M_workarea->_update(array('id' => $id), $data);
                    
                
GroupsController.php https://github.com/xemle/phtagr.git | PHP | 340 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * PHP versions 5
                    
4 *
                    
46    CakeLog::error("The security component denied action {$this->action}. Reason: $type");
                    
47    CakeLog::debug(print_r($this->request->data, true));
                    
48    $this->redirect(null, '404');
                    
59    $this->request->data = $this->Group->find('all', array('conditions' => array('GroupsUser.user_id' => $userId)));
                    
60    CakeLog::debug(print_r($this->request->data, true));
                    
61  }
                    
                
DBMysqli.class.php http://xe-core.googlecode.com/svn/trunk/ | PHP | 448 lines
                    
1<?php
                    
2
                    
2
                    
3require_once('DBMysql.class.php');
                    
4
                    
102	{
                    
103		if(version_compare(PHP_VERSION, "5.9.0", "<") && get_magic_quotes_gpc())
                    
104		{
                    
149					{
                    
150						$this->setError(-1, "Invalid arguments: $query" . mysqli_error($connection) . PHP_EOL . print_r($args, true));
                    
151					}
                    
158				{
                    
159					$this->setError(-1, "Prepared statement failed: $query" . mysqli_error($connection) . PHP_EOL . print_r($args, true));
                    
160				}
                    
445}
                    
446/* End of file DBMysqli.class.php */
                    
447/* Location: ./classes/db/DBMysqli.class.php */
                    
                
forum_insert.php https://bitbucket.org/re_al_/real.test.spip.git | PHP | 193 lines
                    
1<?php
                    
2
                    
19
                    
20// Ce fichier est inclus par dist/formulaires/forum.php
                    
21
                    
30function tracer_erreur_forum($type = '') {
                    
31	spip_log("erreur forum ($type): " . print_r($_POST, true));
                    
32
                    
37			"erreur sur le forum ($type) :\n\n" .
                    
38			'$_POST = ' . print_r($_POST, true) . "\n\n" .
                    
39			'$_SERVER = ' . print_r($_SERVER, true));
                    
                
xmlelement.php http://joomla-in-eve.googlecode.com/svn/trunk/ | PHP | 397 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version $Id: xmlelement.php 215 2010-05-14 20:27:33Z kovalikp $
                    
4 * @license GNU/LGPL, see COPYING and COPYING.LESSER
                    
4 * @license GNU/LGPL, see COPYING and COPYING.LESSER
                    
5 * This file is part of Ale - PHP API Library for EVE.
                    
6 *
                    
31 * @example
                    
32 * <?php
                    
33 * $data = $api->char->CharacterSheet(); //get character sheet
                    
191				$keys = $key ? explode(',', $key) : array();
                    
192				//print_r($keys);
                    
193				$tmp = &$result;
                    
                
W3br.php https://gitlab.com/leandro.chaves/w3br.git | PHP | 296 lines
                    
1<?php
                    
2
                    
19    public static function import() {
                    
20        self::loadFile(W3BR_PATH . 'SingletonList.php');
                    
21        self::loadFile(W3BR_PATH . 'DirList.php');
                    
21        self::loadFile(W3BR_PATH . 'DirList.php');
                    
22        self::loadFile(W3BR_PATH . 'StarterList.php');
                    
23        self::loadFile(W3BR_PATH . 'AutoLoadList.php');
                    
90        $dirList = DirList::getInstance();
                    
91//        print_r($dirList->get());
                    
92        foreach ($dirList->get() as $dir) {
                    
92        foreach ($dirList->get() as $dir) {
                    
93            $address = $dir . "/" . $class . '.php';
                    
94            if (is_file($address)) {
                    
198        }
                    
199        //print_r($url);
                    
200        // Page on mantenance
                    
                
comment.php git://github.com/s9y/Serendipity.git | PHP | 237 lines
                    
1<?php
                    
2# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
                    
6
                    
7include('serendipity_config.inc.php');
                    
8include S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
                    
10header('Content-Type: text/html; charset=' . LANG_CHARSET);
                    
11$raw_post_data = file_get_contents("php://input");
                    
12
                    
34    );
                    
35    include S9Y_INCLUDE_PATH . 'include/genpage.inc.php';
                    
36    $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath'));
                    
48    );
                    
49    include S9Y_INCLUDE_PATH . 'include/genpage.inc.php';
                    
50    $serendipity['smarty']->display(serendipity_getTemplateFile('index.tpl', 'serendipityPath'));
                    
68        ob_start();
                    
69        print_r($raw_post_data);
                    
70        $tmp = ob_get_contents();
                    
                
gunzip.php http://hm2k.googlecode.com/svn/trunk/ | PHP | 452 lines
                    
1<?php
                    
2
                    
14	}
                    
15	//print_r($contentList); //debug
                    
16	
                    
332 * Example:
                    
333 * using php functions:
                    
334 * $fp = fopen('filename', 'wb');
                    
                
BaseFafaclibPeer.php https://github.com/cidesa/roraima.git | PHP | 433 lines
                    
1<?php
                    
2
                    
67	
                    
68	private static $phpNameMap = null;
                    
69
                    
72	private static $fieldNames = array (
                    
73		BasePeer::TYPE_PHPNAME => array ('Reffac', 'Fecfac', 'Numfac', 'Numctr', 'Codcli', 'Totfac', 'Valfob', 'Venexec', 'Venexon', 'Basimp', 'Poriva', 'Crefis', 'Moniva', 'Numcom', 'Id', ),
                    
74		BasePeer::TYPE_COLNAME => array (FafaclibPeer::REFFAC, FafaclibPeer::FECFAC, FafaclibPeer::NUMFAC, FafaclibPeer::NUMCTR, FafaclibPeer::CODCLI, FafaclibPeer::TOTFAC, FafaclibPeer::VALFOB, FafaclibPeer::VENEXEC, FafaclibPeer::VENEXON, FafaclibPeer::BASIMP, FafaclibPeer::PORIVA, FafaclibPeer::CREFIS, FafaclibPeer::MONIVA, FafaclibPeer::NUMCOM, FafaclibPeer::ID, ),
                    
80	private static $fieldKeys = array (
                    
81		BasePeer::TYPE_PHPNAME => array ('Reffac' => 0, 'Fecfac' => 1, 'Numfac' => 2, 'Numctr' => 3, 'Codcli' => 4, 'Totfac' => 5, 'Valfob' => 6, 'Venexec' => 7, 'Venexon' => 8, 'Basimp' => 9, 'Poriva' => 10, 'Crefis' => 11, 'Moniva' => 12, 'Numcom' => 13, 'Id' => 14, ),
                    
82		BasePeer::TYPE_COLNAME => array (FafaclibPeer::REFFAC => 0, FafaclibPeer::FECFAC => 1, FafaclibPeer::NUMFAC => 2, FafaclibPeer::NUMCTR => 3, FafaclibPeer::CODCLI => 4, FafaclibPeer::TOTFAC => 5, FafaclibPeer::VALFOB => 6, FafaclibPeer::VENEXEC => 7, FafaclibPeer::VENEXON => 8, FafaclibPeer::BASIMP => 9, FafaclibPeer::PORIVA => 10, FafaclibPeer::CREFIS => 11, FafaclibPeer::MONIVA => 12, FafaclibPeer::NUMCOM => 13, FafaclibPeer::ID => 14, ),
                    
89	{
                    
90		include_once 'lib/model/map/FafaclibMapBuilder.php';
                    
91		return BasePeer::getMapBuilder('lib.model.map.FafaclibMapBuilder');
                    
93	
                    
94	public static function getPhpNameMap()
                    
95	{
                    
                
Crypt.php https://bitbucket.org/aswinvk28/smartpan-stock-drupal.git | PHP | 130 lines
                    
1<?php
                    
2
                    
18   * This function is better than simply calling mt_rand() or any other built-in
                    
19   * PHP function because it can return a long string of bytes (compared to < 4
                    
20   * bytes normally from mt_rand()) and uses the best available pseudo-random
                    
32    // user-specific and system information that varies a little with each page.
                    
33    // Further initialize with the somewhat random PHP process ID.
                    
34    if (!isset($random_state)) {
                    
34    if (!isset($random_state)) {
                    
35      $random_state = print_r($_SERVER, TRUE) . getmypid();
                    
36      $bytes = '';
                    
41      if ($fh = @fopen('/dev/urandom', 'rb')) {
                    
42        // PHP only performs buffered reads, so in reality it will always read
                    
43        // at least 4096 bytes. Thus, it costs nothing extra to read and store
                    
                
FormhandlerController.php https://bitbucket.org/sydney-apps/web-divinemotions.co.uk-v0.0.git | PHP | 117 lines
                    
1<?php
                    
2
                    
52                    
                    
53                    //print_r($message);die;
                    
54                    $response = new GenericBaseResponse(Config::get('constants.status.validation_failure'), Config::get('constants.msg.validation_failure'), $a);
                    
                
 

Source

Language