PageRenderTime 431ms queryTime 37ms sortTime 8ms getByIdsTime 64ms findMatchingLines 120ms

100+ results results for 'php ob_start repo:eryx/php-framework-benchmark' (431 ms)

Not the results you expected?
options.php https://gitlab.com/alexprowars/bitrix | PHP | 352 lines
                    
7
                    
8	IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
9	IncludeModuleLangFile(__FILE__);
                    
41	{
                    
42		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/perfmon/prolog.php");
                    
43
                    
89
                    
90		ob_start();
                    
91		$Update = $Update.$Apply;
                    
91		$Update = $Update.$Apply;
                    
92		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
93		ob_end_clean();
                    
269		$tabControl->BeginNextTab();
                    
270		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
271		$tabControl->Buttons(); ?>
                    
                
moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 483 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
91
                    
92		ob_start();
                    
93		?>
                    
152		<script type="text/javascript">
                    
153			BX.message(<?=\CUtil::PhpToJSObject($messages)?>);
                    
154			var ajaxWizardForm = new CAjaxWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>");
                    
238			$strError .= "<br /><br />".Loc::getMessage("SALE_CSM_WIZARD_MODULEINSTALLSTEP_ERROR_NOTICE", [
                    
239				"#MODULES_LINK#" => "/bitrix/admin/module_admin.php?lang=".LANGUAGE_ID
                    
240			]);
                    
350	{
                    
351		/** @noinspection PhpVariableNamingConventionInspection */
                    
352		global $DB, $APPLICATION;
                    
409
                    
410			/** @noinspection PhpVoidFunctionResultUsedInspection */
                    
411			if (!$module->InstallFiles())
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
330		if ( $stream = wp_is_stream( $filename ) ) {
                    
331			ob_start();
                    
332		} else {
                    
                
blog-layout.php https://gitlab.com/hop23typhu/list-theme | PHP | 281 lines
                    
1<?php
                    
2/**
                    
100		$post_classes = sprintf( '%s %s %s post fusion-clearfix', $post_class, $alignment_class, $thumb_class );
                    
101		ob_start();
                    
102		post_class( $post_classes );
                    
280
                    
281// Omit closing PHP tag to avoid "Headers already sent" issues.
                    
282
                    
                
theme.php https://gitlab.com/Gashler/dp | PHP | 296 lines
                    
1<?php
                    
2/**
                    
23
                    
24	ob_start();
                    
25	if ( empty( $redirect ) )
                    
25	if ( empty( $redirect ) )
                    
26		$redirect = wp_nonce_url('themes.php?action=delete&stylesheet=' . urlencode( $stylesheet ), 'delete-theme_' . $stylesheet);
                    
27	if ( false === ($credentials = request_filesystem_credentials($redirect)) ) {
                    
30		if ( ! empty($data) ){
                    
31			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
32			echo $data;
                    
32			echo $data;
                    
33			include( ABSPATH . 'wp-admin/admin-footer.php');
                    
34			exit;
                    
43		if ( ! empty($data) ) {
                    
44			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
45			echo $data;
                    
                
View.php git://github.com/concrete5/concrete5.git | PHP | 478 lines
                    
1<?php
                    
2namespace Concrete\Core\View;
                    
210        if (!$this->innerContentFile) { // will already be set in a legacy tools file
                    
211            $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle));
                    
212        }
                    
265
                    
266        ob_start();
                    
267        include $this->innerContentFile;
                    
283
                    
284        ob_start();
                    
285
                    
466
                    
467        $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php');
                    
468        $_file = $_record->getFile();
                    
                
Abstract.php https://gitlab.com/blingbang2016/shop | PHP | 385 lines
                    
1<?php
                    
2/**
                    
262        if ($this->_captureLock) {
                    
263            #require_once 'Zend/View/Helper/Placeholder/Container/Exception.php';
                    
264            $e = new Zend_View_Helper_Placeholder_Container_Exception('Cannot nest placeholder captures for the same placeholder');
                    
273        }
                    
274        ob_start();
                    
275    }
                    
336     *
                    
337     * as defined by the PHP manual
                    
338     * @return int
                    
                
Modules.php https://gitlab.com/sheldonels/pyrocms | PHP | 246 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
9
                    
10/* PHP5 spl_autoload */
                    
11spl_autoload_register('Modules::autoload');
                    
22 *
                    
23 * Install this file as application/third_party/MX/Modules.php
                    
24 *
                    
65			if (method_exists($class, $method)) {
                    
66				ob_start();
                    
67				$args = func_get_args();
                    
116		/* autoload Modular Extensions MX core classes */
                    
117		if (strstr($class, 'MX_') and is_file($location = dirname(__FILE__).'/'.substr($class, 3).'.php')) {
                    
118			include_once $location;
                    
122		/* autoload core classes */
                    
123		if (is_file($location = APPPATH.'core/'.$class.'.php')) {
                    
124			include_once $location;
                    
                
5256ddbd4aa1b361656b10a2a59d421438391591fab15dc5973b5627674eab52.php https://bitbucket.org/rubbystar/carimod.git | PHP | 199 lines
                    
1<?php
                    
2
                    
31        // line 7
                    
32        ob_start();
                    
33        // line 8
                    
119                echo "        ";
                    
120                ob_start();
                    
121                // line 27
                    
135            // line 31
                    
136            ob_start();
                    
137            // line 32
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 371 lines
                    
1<?php
                    
2
                    
11{
                    
12	/** @var CPHPCache $obCache */
                    
13	protected $obCache;
                    
81							{
                    
82								ob_start();
                    
83
                    
118					{
                    
119						ob_start();
                    
120
                    
167					{
                    
168						ob_start();
                    
169
                    
227				{
                    
228					ob_start();
                    
229
                    
                
HtmlDumperTest.php https://gitlab.com/Laolballs/evotting | PHP | 146 lines
                    
1<?php
                    
2
                    
19 */
                    
20class HtmlDumperTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
23    {
                    
24        require __DIR__.'/Fixtures/dumb-var.php';
                    
25
                    
25
                    
26        $dumper = new HtmlDumper('php://output');
                    
27        $dumper->setDumpHeader('<foo></foo>');
                    
38
                    
39        ob_start();
                    
40        $dumper->dump($data);
                    
41        $out = ob_get_clean();
                    
42        $closureLabel = PHP_VERSION_ID >= 50400 ? 'public method' : 'function';
                    
43        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
                
App.php http://dyhb-frame.googlecode.com/svn/trunk/ | PHP | 212 lines
                    
13else{
                    
14	$arrLang=(array)include(dirname(__FILE__).'/App/Zh-cn/App.lang.php');
                    
15}
                    
92	$sAppName='home';
                    
93	$sEnterPath=$sAppPath.'/index.php';
                    
94	$sOutput='';
                    
151			<?php foreach($arrListLang as $sListLang):?>
                    
152			<option value="?lang=<?php echo $sListLang;?>" <?php if(strtolower($sLang)==$sListLang):?>selected<?endif;?>><?php echo $sListLang;?></option>
                    
153			<?endforeach;?>
                    
159</div>
                    
160	 <form id="form1" name="form1" method="post" action="App.php?lang=<?php echo strtolower($sLang);?>">
                    
161		<p>
                    
207
                    
208<?php endif; ?>
                    
209<div class="footer"><?php echo $arrLang[22];?></div>
                    
                
Ajax.php https://gitlab.com/che234/adn | PHP | 183 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version   $Id: Ajax.php 10831 2013-05-29 19:32:17Z btowles $
                    
4 * @author    RocketTheme http://www.rockettheme.com
                    
71		while (@ob_end_clean()) ; // clean any pending output buffers
                    
72		ob_start(); // start a fresh one
                    
73
                    
134				echo "  Fatal error on line $errline in file $errfile";
                    
135				echo ", PHP " . PHP_VERSION . " (" . PHP_OS . ")\n";
                    
136				echo "Aborting...\n";
                    
152
                    
153		/* Don't execute PHP internal error handler */
                    
154		return true;
                    
                
CBaseController.php https://gitlab.com/zenfork/vektor | PHP | 310 lines
                    
1<?php
                    
2/**
                    
107	 * Renders a view file.
                    
108	 * This method includes the view file as a PHP script
                    
109	 * and captures the display result if required.
                    
123		{
                    
124			ob_start();
                    
125			ob_implicit_flush(false);
                    
163		{
                    
164			ob_start();
                    
165			ob_implicit_flush(false);
                    
                
job-template.php https://gitlab.com/hop23typhu/list-theme | PHP | 436 lines
                    
1<?php
                    
2if( !function_exists( 'jm_job_template_loader' ) ) :
                    
8			|| is_tax( 'job_location' ) ) {
                    
9				$template = locate_template( 'archive-noo_job.php' );
                    
10			}
                    
49				?>
                    
50				<meta property="og:image" content="<?php echo $social_share_img; ?>"/>
                    
51	    		<meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" />
                    
51	    		<meta property="og:image:secure_url" content="<?php echo $social_share_img; ?>" />
                    
52				<?php
                    
53			endif;
                    
107		$item_class[] ='noo_job';
                    
108		ob_start();
                    
109
                    
110		if( $display_style !== 'slider' ) {
                    
111			include(locate_template("layouts/noo_job-loop.php"));
                    
112		} else {
                    
                
analyzer.php git://github.com/mageekguy/atoum.git | PHP | 223 lines
                    
1<?php
                    
2
                    
4
                    
5require_once __DIR__ . '/../../../runner.php';
                    
6
                    
55					$this->function->gettype = 'array',
                    
56					$this->function->sizeof = $size = rand(1, PHP_INT_MAX)
                    
57				)
                    
68			->if(
                    
69				$this->function->ob_start->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
70				$this->function->var_dump->doesNothing(),
                    
71				$this->function->ob_get_clean = ('     ' . ($dump = uniqid()) . '        ' . PHP_EOL)
                    
72			)
                    
                
Debug.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 142 lines
                    
1<?php
                    
2/*
                    
61
                    
62        ob_start();
                    
63        var_dump($var);
                    
                
helper-functions.php https://bitbucket.org/Netbog/mormirkam.git | PHP | 406 lines
                    
1<?php
                    
2/**
                    
43
                    
44	include_once( cmb2_dir( "$path/{$class_name}.php" ) );
                    
45}
                    
274
                    
275	ob_start();
                    
276	// Get cmb form
                    
366	/**
                    
367	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
368	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
base.php https://gitlab.com/alexprowars/bitrix | PHP | 248 lines
                    
1<?php
                    
2
                    
167		global $APPLICATION;
                    
168		ob_start();
                    
169		ShowError($errorText);
                    
210		global $APPLICATION;
                    
211		ob_start();
                    
212		$APPLICATION->IncludeComponent(
                    
                
Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
                    
1<?php
                    
2
                    
155    {
                    
156        ob_start();
                    
157        $this->displayParentBlock($name, $context, $blocks);
                    
175    {
                    
176        ob_start();
                    
177        $this->displayBlock($name, $context, $blocks);
                    
247        $level = ob_get_level();
                    
248        ob_start();
                    
249        try {
                    
288     * implementation detail that has been introduced to optimize variable
                    
289     * access for versions of PHP before 5.4. This is not a way to override
                    
290     * the way to get a variable value.
                    
                
response.php https://gitlab.com/endomorphosis/OLAAaction | PHP | 294 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * @version		$Id: response.php 77 2010-10-21 06:55:09Z nikosdion $
                    
4 * @package		Joomla.Framework
                    
6 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7 * @license		GNU/GPL, see LICENSE.php
                    
8 * Joomla! is free software. This version may have been modified pursuant
                    
11 * other free or open source software licenses.
                    
12 * See COPYRIGHT.php for copyright notices and details.
                    
13 *
                    
183
                    
184			ob_start();
                    
185			foreach ($GLOBALS['_JRESPONSE']->body as $content) {
                    
                
class-walker-nav-menu-edit.php git://github.com/wordpress/wordpress.git | PHP | 313 lines
                    
120				<div class="menu-item-handle">
                    
121					<span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span>
                    
122					<span class="item-controls">
                    
187							<?php _e( 'URL' ); ?><br />
                    
188							<input type="text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" />
                    
189						</label>
                    
194						<?php _e( 'Navigation Label' ); ?><br />
                    
195						<input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" />
                    
196					</label>
                    
200						<?php _e( 'Title Attribute' ); ?><br />
                    
201						<input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" />
                    
202					</label>
                    
224						<?php _e( 'Description' ); ?><br />
                    
225						<textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea>
                    
226						<span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>
                    
                
widgets.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 164 lines
                    
88				<li class="widget-entry-title">
                    
89					<a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
                    
90					<span class="comments-link">
                    
90					<span class="comments-link">
                    
91						<?php comments_popup_link( __( '0 <span class="reply">comments &rarr;</span>', 'twentyeleven' ), __( '1 <span class="reply">comment &rarr;</span>', 'twentyeleven' ), __( '% <span class="reply">comments &rarr;</span>', 'twentyeleven' ) ); ?>
                    
92					</span>
                    
104					?>
                    
105					<a href="<?php echo esc_url( $link_url ); ?>" title="<?php printf( esc_attr__( 'Link to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?>&nbsp;<span>&rarr;</span></a>
                    
106					<span class="comments-link">
                    
157			<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'twentyeleven' ); ?></label>
                    
158			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" /></p>
                    
159
                    
160			<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'twentyeleven' ); ?></label>
                    
161			<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3" /></p>
                    
162		<?php
                    
                
ArrBDD.php https://github.com/darkredz/ArrBDD.git | PHP | 267 lines
                    
1<?php
                    
2/**
                    
5 * @author Leng Sheng Hong <darkredz@gmail.com>
                    
6 * @link http://www.doophp.com/arr-bdd
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
7 * @copyright Copyright &copy; 2011 Leng Sheng Hong
                    
8 * @license http://www.doophp.com/license
                    
9 * @since 0.1
                    
12/**
                    
13 * ArrBDD - a simple BDD library utilizing PHP associative arrays and closures
                    
14 *
                    
92            if( $includeSubject ){
                    
93                ob_start();
                    
94                $this->exportSubject($subject);
                    
127                    if( $includeSubject ){
                    
128                        ob_start();
                    
129                        $this->exportSubject($_subject);
                    
                
inputs.php https://gitlab.com/alexprowars/bitrix | PHP | 508 lines
                    
1<?php
                    
2
                    
4
                    
5require_once __DIR__.'/../internals/input.php';
                    
6
                    
343
                    
344		ob_start();
                    
345
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 134 lines
                    
5
                    
6IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
7IncludeModuleLangFile(__FILE__);
                    
69
                    
70	ob_start();
                    
71	$Update = $Update.$Apply;
                    
71	$Update = $Update.$Apply;
                    
72	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights2.php");
                    
73	ob_end_clean();
                    
121<?$tabControl->BeginNextTab();?>
                    
122<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights2.php");?>
                    
123<?$tabControl->Buttons();?>
                    
                
defaultsitestep.php https://gitlab.com/alexprowars/bitrix | PHP | 160 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
82	{
                    
83		ob_start();
                    
84
                    
97		</div>
                    
98		<?php
                    
99
                    
131	{
                    
132		ob_start();
                    
133		if ($this->GetPrevStepID() !== null)
                    
                
defaultsitestep.php https://gitlab.com/alexprowars/bitrix | PHP | 160 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
82	{
                    
83		ob_start();
                    
84
                    
97		</div>
                    
98		<?php
                    
99
                    
131	{
                    
132		ob_start();
                    
133		if ($this->GetPrevStepID() !== null)
                    
                
SimpleProcessTest.php https://gitlab.com/firastrabelsi/PiDevMoocWeb | PHP | 222 lines
                    
101    {
                    
102        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
103        parent::testSignal();
                    
132        if ($this->enabledSigchild) {
                    
133            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
134        } else {
                    
142        if ($this->enabledSigchild) {
                    
143            $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
144        } else {
                    
163    {
                    
164        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
165
                    
179    {
                    
180        $this->expectExceptionIfPHPSigchild('Symfony\Component\Process\Exception\RuntimeException', 'This PHP has been compiled with --enable-sigchild. The process can not be signaled.');
                    
181
                    
                
header.php https://gitlab.com/giumbai/fluxbb | PHP | 326 lines
                    
1<?php
                    
2
                    
55	
                    
56	if (!in_array($file_info['extension'], array('php', 'php4', 'php5', 'inc', 'html', 'txt'))) // Allow some extensions
                    
57		error(sprintf($lang_common['Pun include extension'], pun_htmlspecialchars($cur_include[0]), basename($tpl_file), pun_htmlspecialchars($file_info['extension'])));
                    
97?>
                    
98<title><?php echo generate_page_title($page_title, $p) ?></title>
                    
99<link rel="stylesheet" type="text/css" href="style/<?php echo $pun_user['style'].'.css' ?>" />
                    
169// START SUBST - <pun_page>
                    
170$tpl_main = str_replace('<pun_page>', htmlspecialchars(basename($_SERVER['PHP_SELF'], '.php')), $tpl_main);
                    
171// END SUBST - <pun_page>
                    
196if ($pun_user['g_read_board'] == '1' && $pun_user['g_search'] == '1')
                    
197	$links[] = '<li id="navsearch"'.((PUN_ACTIVE_PAGE == 'search') ? ' class="isactive"' : '').'><a href="search.php">'.$lang_common['Search'].'</a></li>';
                    
198
                    
322// START SUBST - <pun_main>
                    
323ob_start();
                    
324
                    
                
AniMonaco.skin.php https://gitlab.com/GethN7/monaco-port | PHP | 149 lines
                    
63		</div>
                    
64<?php
                    
65	}
                    
76		}
                    
77		ob_start();
                    
78		call_user_func( $egAniMonacoRightSidebarCallback, $this );
                    
100	var reddit_url = "<?php echo Xml::escapeJsString( $url ) ?>";
                    
101	var reddit_title = "<?php echo Xml::escapeJsString( "{$wgTitle->getPrefixedText()} - $wgSitename" ); ?>";
                    
102	</script>
                    
107			<td><fb:like href="<?php echo $eurl ?>" layout="box_count" width="50" font="arial"></fb:like></td>
                    
108			<td><a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo $eurl ?>" data-text="<?php echo htmlspecialchars("{$wgTitle->getPrefixedText()} on the $wgSitename"); ?>" data-count="vertical"<?php if ( $egTwitterName ) echo' data-via="'.htmlspecialchars($egTwitterName).'"'; ?>>Tweet</a></script></td>
                    
109			<td></td>
                    
114			<td><a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-url="<?php echo $eurl ?>"></a></td>
                    
115			<td><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&r=<?php htmlspecialchars(urlencode($url)) ?>"></script></td>
                    
116		</tr>
                    
                
View.php https://gitlab.com/albertkeba/service | PHP | 282 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Slim - a micro PHP 5 framework
                    
4 *
                    
276        extract($data);
                    
277        ob_start();
                    
278        require $templatePathname;
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 164 lines
                    
5
                    
6IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");
                    
7IncludeModuleLangFile(__FILE__);
                    
77	$Update = $Update.$Apply;
                    
78	ob_start();
                    
79	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
151<?$tabControl->BeginNextTab();?>
                    
152<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");?>
                    
153<?$tabControl->Buttons();?>
                    
                
DataBaseAction.class.php http://ownerpress.googlecode.com/svn/trunk/ | PHP | 417 lines
                    
1<?php
                    
2// +----------------------------------------------------------------------
                    
2// +----------------------------------------------------------------------
                    
3// | ?????????? (Build on ThinkPHP)
                    
4// +----------------------------------------------------------------------
                    
67			$this->display();
                    
68			ob_start();
                    
69			ob_end_flush(); 
                    
85		
                    
86		ob_start();
                    
87		ob_end_flush(); 
                    
93            $table_data = '$table_data = '.var_export($table_data, true).";";
                    
94			$db_table_file = $back_dir."tables.php";
                    
95			@file_put_contents($db_table_file,"<?php\n$table_data\n?>");
                    
200		$this->display();
                    
201		ob_start();
                    
202		ob_end_flush(); 
                    
                
i18n_example_script.php http://flaimo-php.googlecode.com/svn/trunk/ | PHP | 190 lines
                    
105				<h3>(current time format used: <?php echo $format_date->getTimeFormat(); ?>)</h3>
                    
106					<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#date" name="select_timeformat" id="select_timeformat">
                    
107						<select name="timeformat" id="timeformat">
                    
146				<p class="sample" id="formatnumber_sample">
                    
147					Formating ť<?php echo $money; ?>Ť <small>(currency small)</small>: <samp><?php echo $format_number->currency($money, 'full', 'gb', FALSE); ?></samp>
                    
148				</p>
                    
149				<p class="sample" id="formatnumber_sample">
                    
150					Formating ť<?php echo $money; ?>Ť <small>(currency symbol left)</small>: <samp><?php echo $format_number->currency($money, 'symbol', 'gb', TRUE, 'before'); ?></samp>
                    
151				</p>
                    
154				<h3>(current measure output format used: <?php echo $measure->getOutput(); ?>)</h3>
                    
155					<form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>#measure" name="select_measure" id="select_measure">
                    
156						<select name="measure" id="measure2">
                    
171				<p class="sample" id="formatmeasure_sample">
                    
172					Formating ť<?php echo $number; ?> mmŤ: <samp><?php echo $measure->linear($number, 0, 0) , ' ' ,  $measure->Unit(2); ?></samp>
                    
173				</p>
                    
                
serverside.php https://github.com/Patchworkx/Patchwork.git | PHP | 462 lines
                    
1<?php /*********************************************************************
                    
2 *
                    
42
                    
43		ob_start();
                    
44		try {self::loadAgent(p::resolveAgentClass($agent, $_GET), false, false);}
                    
71			{
                    
72				ob_start(array(__CLASS__, 'ob_htmlspecialchars'), 32768);
                    
73				++p::$ob_level;
                    
212			{
                    
213				ob_start();
                    
214				++p::$ob_level;
                    
246
                    
247		$ctemplate = p::getContextualCachePath('templates/' . $template, (p::$binaryMode ? 'bin' : 'html') . '.php');
                    
248		$ftemplate = 'template' . md5($ctemplate);
                    
259				p::openMeta('agent__template/' . $template, false);
                    
260				$compiler = new ptlCompiler_php($template, p::$binaryMode);
                    
261				$ftemplate = "<?php function {$ftemplate}(&\$v,&\$a,&\$g){global \$a\x9D,\$c\x9D;\$d=\$v;" . $compiler->compile() . "} {$ftemplate}(\$v,\$a,\$g);";
                    
                
InlineFragmentRendererTest.php https://github.com/symfony/symfony.git | PHP | 290 lines
                    
1<?php
                    
2
                    
13
                    
14use PHPUnit\Framework\TestCase;
                    
15use Symfony\Component\EventDispatcher\EventDispatcher;
                    
131            ->willReturn(function () {
                    
132                ob_start();
                    
133                echo 'bar';
                    
148        // simulate a main request with output buffering
                    
149        ob_start();
                    
150        echo 'Foo';
                    
                
phpt_test.php.inc git://pkgs.fedoraproject.org/php-pear-PEAR-Command-Packaging | PHP | 415 lines
                    
1<?php
                    
2@include_once 'Text/Diff.php';
                    
2@include_once 'Text/Diff.php';
                    
3@include_once 'Text/Diff/Renderer.php';
                    
4@include_once 'Text/Diff/Renderer/unified.php';
                    
4@include_once 'Text/Diff/Renderer/unified.php';
                    
5require_once 'PEAR/ErrorStack.php';
                    
6require_once 'PEAR.php';
                    
6require_once 'PEAR.php';
                    
7class PEAR_PHPTest
                    
8{
                    
10    var $_errors;
                    
11    function PEAR_PHPTest($diffonly = false, $noStackCatch = false)
                    
12    {
                    
360    {
                    
361        ob_start();
                    
362        print "dumping registry...\n";
                    
                
Rack.php https://github.com/creationix/rack-php.git | PHP | 141 lines
                    
7  
                    
8  // This converts the native PHP $_SERVER array into a rack hash and then removes the contents of
                    
9  // the $_SERVER variable.  This ensures loose coupling and allows for middleware and mock requests.
                    
49      // There must be a valid input stream in rack.input.
                    
50      'rack.input' => fopen('php://input', 'r'),
                    
51
                    
52      // There must be a valid error stream in rack.errors.
                    
53      'rack.errors' => fopen('php://stderr', 'w'),
                    
54
                    
81    $env =& static::get_env();
                    
82    ob_start();
                    
83    $result = self::runMiddleware($app, $env);
                    
97    fclose($env['rack.errors']);
                    
98    $headers['X-Powered-By'] = "rack-php ".implode('.',$env['rack.version']);
                    
99    $headers['Status'] = $status;
                    
                
class-walker-comment.php https://bitbucket.org/w1nterheart/nmm-nature-is-lit-wp.git | PHP | 400 lines
                    
239?>
                    
240		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
241			<div class="comment-body">
                    
241			<div class="comment-body">
                    
242				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
243			</div>
                    
266?>
                    
267		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
268		<?php if ( 'div' != $args['style'] ) : ?>
                    
294				</a>
                    
295				<?php
                    
296				edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' );
                    
345?>
                    
346		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
347			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
class-wp-customize-section.php https://gitlab.com/hop23typhu/list-theme | PHP | 453 lines
                    
304		?>
                    
305		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
306			<h3 class="accordion-section-title" tabindex="0">
                    
307				<?php echo esc_html( $this->title ); ?>
                    
308				<span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>
                    
309			</h3>
                    
350		?>
                    
351		<li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
352			<h3 class="accordion-section-title">
                    
352			<h3 class="accordion-section-title">
                    
353				<?php
                    
354				if ( $this->manager->is_theme_active() ) {
                    
366				<h2>
                    
367					<?php _e( 'Themes' ); ?>
                    
368					<span class="title-count theme-count"><?php echo count( $this->controls ) + 1 /* Active theme */; ?></span>
                    
                
shipwire_functions.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 188 lines
                    
1<?php
                    
2function shipwire_build_xml($log_id) {
                    
148	$OrderList = urlencode($xml);
                    
149	$shipwire_ch = curl_init("https://www.shipwire.com/exec/InventoryServices.php");
                    
150	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
152	curl_setopt ($shipwire_ch, CURLOPT_POSTFIELDS, "InventoryUpdateXML=".$OrderList);
                    
153	ob_start();
                    
154	curl_exec($shipwire_ch);
                    
162	$OrderList = urlencode($xml);
                    
163	$shipwire_ch = curl_init("https://www.shipwire.com/exec/FulfillmentServices.php");
                    
164	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
166	curl_setopt ($shipwire_ch, CURLOPT_POSTFIELDS, "InventoryUpdateXML=".$OrderList);
                    
167	ob_start();
                    
168	curl_exec($shipwire_ch);
                    
176	$OrderList = urlencode($xml);
                    
177	$shipwire_ch = curl_init("https://www.shipwire.com/exec/TrackingServices.php");
                    
178	curl_setopt ($shipwire_ch, CURLOPT_POST, 1);
                    
                
updatesystemstep.php https://gitlab.com/alexprowars/bitrix | PHP | 210 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
78
                    
79		ob_start();
                    
80		?>
                    
81		<div class="adm-bsm-site-master-paragraph-wrapper">
                    
82			<?php if ($isMarketPlace && $isUpdateSystem):?>
                    
83				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_ALL_DESCR", [
                    
83				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_ALL_DESCR", [
                    
84						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
85						"#UPDATE_SYSTEM_LINK#" => "/bitrix/admin/update_system.php?lang=".LANGUAGE_ID,
                    
87				</div>
                    
88			<?php elseif ($isMarketPlace):?>
                    
89				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_MARKET_PLACE_DESCR", [
                    
89				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_UPDATESYSTEMSTEP_MARKET_PLACE_DESCR", [
                    
90						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
91					])?>
                    
                
live-ajax.php https://gitlab.com/hop23typhu/list-theme | PHP | 198 lines
                    
1<?php
                    
2
                    
26
                    
27	ob_start();
                    
28
                    
28
                    
29	require_once( dirname( __FILE__ ) . '/css-php/layout.php' );
                    
30
                    
56
                    
57	require_once( dirname( __FILE__ ) . '/css-php/design.php' );
                    
58
                    
84
                    
85	require_once( dirname( __FILE__ ) . '/css-php/typography.php' );
                    
86
                    
112
                    
113	require_once( dirname( __FILE__ ) . '/css-php/header.php' );
                    
114
                    
                
connector.php https://xzwebshop.svn.codeplex.com/svn | PHP | 193 lines
                    
70
                    
71if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) ob_start();
                    
72outputHeaders();
                    
129		echo "Invalid resource type.";
                    
130		if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) recordOutput();
                    
131		exit(0);
                    
138	$action->run();
                    
139	if ($fckphp_config['Debug']===true && $fckphp_config['Debug_Output']) recordOutput();
                    
140	
                    
144	echo str_replace("\n","<br />",print_r($_GET,true));
                    
145	if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) recordOutput();
                    
146	exit(0);
                    
152
                    
153	if ($fckphp_config['Debug']===true  && $fckphp_config['Debug_Output']) {
                    
154		$contents=ob_get_contents();
                    
                
meagerBase.php https://github.com/mcgrew/meager.git | PHP | 547 lines
                    
1<?php
                    
2
                    
19	$modules = new ModuleHandler( );
                    
20	$modules->register( 'test', 'test.php', array( 'option1' => 'yes' ));
                    
21	$test = $modules->get( 'test' );
                    
64	function to_string( ) {
                    
65		ob_start( );
                    
66		$this->load( );
                    
184	$modules = new ModuleHandler( );
                    
185	$modules->register( 'test', 'test.php', array( 'option1' => 'yes' ));
                    
186	(end)
                    
199			name - A string containing the name for the module.
                    
200			file - A string containing the php filename for the module
                    
201			options (optional) - An associative array containing any options which the 
                    
407	if ( !file_exists( $meager_current_page )) {
                    
408		if ( file_exists( meager_config( 'doc_root' ).$meager_current_page.".php" )) $meager_current_page .= '.php';
                    
409		if ( file_exists( meager_config( 'doc_root' ).$meager_current_page.".html" )) $meager_current_page .= '.html';
                    
                
activationkeystep.php https://gitlab.com/alexprowars/bitrix | PHP | 185 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
93	{
                    
94		ob_start();
                    
95		?>
                    
127				</div>
                    
128				<?php
                    
129				$priceLink = "https://www.bitrix24.ru/prices/self-hosted.php";
                    
131				{
                    
132					$priceLink = "https://www.bitrix24.ua/prices/self-hosted.php";
                    
133				}
                    
139		</div>
                    
140		<?php
                    
141		$content = ob_get_contents();
                    
153	{
                    
154		ob_start();
                    
155		if ($this->GetNextStepID() !== null)
                    
                
resource.php https://gitlab.com/bjwbell/b3 | PHP | 119 lines
                    
1<?php
                    
2    $type = $_GET["type"];
                    
24    if ($gzip)
                    
25        ob_start("ob_gzhandler");
                    
26
                    
65}
                    
66__foo(<?php echo($jsdelay)?>);
                    
67<?php
                    
                
Util.php https://gitlab.com/TarasMasnyk/ITW | PHP | 476 lines
                    
1<?php
                    
2/**
                    
39
                    
40		ob_start();
                    
41		$wp_styles->do_items( ( array ) $handles );
                    
343	if ( 'dbDelta' == $opts['upgrade_method'] ) {
                    
344		require_once ABSPATH . 'wp-admin/includes/upgrade.php';
                    
345		dbDelta( "CREATE TABLE $full_table_name ( $columns ) $table_options" );
                    
                
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
                    
50                $this->ajaxdata=array();
                    
51                ob_start();
                    
52            }
                    
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            }            
                    
                
Helper.php https://gitlab.com/abdulhamid909/halodesaLanding | PHP | 303 lines
                    
1<?php
                    
2
                    
95
                    
96        ob_start() && extract($data, EXTR_SKIP);
                    
97
                    
                
ChangeLogController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 105 lines
                    
15use function ob_get_clean;
                    
16use function ob_start;
                    
17use function preg_replace;
                    
40                $filename,
                    
41                '<a href="https://www.phpmyadmin.net/">phpmyadmin.net</a>'
                    
42            );
                    
48        if (substr($filename, -3) === '.gz') {
                    
49            ob_start();
                    
50            readgzfile($filename);
                    
60
                    
61        $github_url = 'https://github.com/phpmyadmin/phpmyadmin/';
                    
62        $faq_url = 'https://docs.phpmyadmin.net/en/latest/faq.html';
                    
80            // PMASAentries
                    
81            '/(PMASA-[0-9]+-[0-9]+)/' => '<a href="url.php?url=https://www.phpmyadmin.net/security/\\1/">\\1</a>',
                    
82
                    
                
Modules.php https://bitbucket.org/haloweb/halogy-1.0/ | PHP | 205 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2
                    
2
                    
3/* PHP5 spl_autoload */
                    
4spl_autoload_register('Modules::autoload');
                    
6/**
                    
7 * Modular Extensions - PHP5
                    
8 *
                    
15 *
                    
16 * Install this file as application/libraries/Modules.php
                    
17 *
                    
61			if (method_exists($class, $method))	{
                    
62				ob_start();
                    
63				$args = func_get_args();
                    
                
service.php https://gitlab.com/alexprowars/bitrix | PHP | 514 lines
                    
1<?php
                    
2
                    
18	array(
                    
19		__NAMESPACE__.'\Reliability' => 'handlers/delivery/additional/ruspost/reliability/reliability.php',
                    
20		__NAMESPACE__.'\ReliabilityCollection' => 'handlers/delivery/additional/ruspost/reliability/reliabilitycollection.php',
                    
20		__NAMESPACE__.'\ReliabilityCollection' => 'handlers/delivery/additional/ruspost/reliability/reliabilitycollection.php',
                    
21		__NAMESPACE__.'\Requester' => 'handlers/delivery/additional/ruspost/reliability/requester.php'
                    
22	)
                    
342
                    
343		ob_start();
                    
344
                    
                
Route.php https://gitlab.com/mmk2410/rangitaki | PHP | 381 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * @link      https://github.com/slimphp/Slim
                    
6 * @copyright Copyright (c) 2011-2016 Josh Lockhart
                    
6 * @copyright Copyright (c) 2011-2016 Josh Lockhart
                    
7 * @license   https://github.com/slimphp/Slim/blob/3.x/LICENSE.md (MIT License)
                    
8 */
                    
342            try {
                    
343                ob_start();
                    
344                $newResponse = $handler($this->callable, $request, $response, $this->arguments);
                    
369                // prepend output buffer content
                    
370                $body = new Http\Body(fopen('php://temp', 'r+'));
                    
371                $body->write($output . $response->getBody());
                    
                
woocommerce.php https://gitlab.com/hop23typhu/list-theme | PHP | 403 lines
                    
1<?php
                    
2if ( class_exists( 'woocommerce' ) ) {
                    
44		// widget cart update
                    
45		ob_start();
                    
46		woocommerce_mini_cart();
                    
214	
                    
215	if ( is_admin() && isset( $_GET['activated'] ) && $pagenow == 'themes.php' ) {
                    
216		add_action( 'init', 'noo_woocommerce_update_product_image_size', 1 );
                    
325		
                    
326		ob_start();
                    
327		woocommerce_get_template( 'quickview.php' );
                    
348			
                    
349			return in_array( 'yith-woocommerce-wishlist/init.php', $active_plugins ) ||
                    
350				 array_key_exists( 'yith-woocommerce-wishlist/init.php', $active_plugins );
                    
365			
                    
366			return in_array( 'yith-woocommerce-compare/init.php', $active_plugins ) ||
                    
367				 array_key_exists( 'yith-woocommerce-compare/init.php', $active_plugins );
                    
                
CakeHtmlReporter.php git://github.com/hugodias/cakeStrap.git | PHP | 385 lines
                    
6 *
                    
7 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
                    
8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
15 * @link          http://cakephp.org CakePHP(tm) Project
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
16 * @since         CakePHP(tm) v 1.2.0.4433
                    
17 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
18 */
                    
104		foreach ($testCases as $testCase) {
                    
105			$title = explode(DS, str_replace('.test.php', '', $testCase));
                    
106			$title[count($title) - 1] = Inflector::camelize($title[count($title) - 1]);
                    
134 *
                    
135 * @param PHPUnit_Framework_TestResult $result Result object
                    
136 * @return void
                    
                
manage-job_applied.php https://gitlab.com/hop23typhu/list-theme | PHP | 153 lines
                    
54					<?php if($r->have_posts()):?>
                    
55						<?php 
                    
56						while ($r->have_posts()): $r->the_post();global $post;
                    
89										<div class="loop-item-content">
                    
90											<h3 class="loop-item-title"><a href="<?php echo get_permalink( $job->ID ); ?>"><?php echo esc_html($job->post_title); ?></a></h3>
                    
91										</div>
                    
121									<?php if( $post->post_status == 'pending' ) : ?>
                    
122										<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'withdraw','application_id'=>get_the_ID())), 'job-applied-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Withdraw','noo')?>"><i class="fa fa-history"></i></a>
                    
123									<?php elseif( $post->post_status == 'inactive' ) : ?>
                    
123									<?php elseif( $post->post_status == 'inactive' ) : ?>
                    
124										<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'delete','application_id'=>get_the_ID())), 'job-applied-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Delete Application','noo')?>"><i class="fa fa-trash-o"></i></a>
                    
125									<?php endif;?>
                    
145			<div class="member-manage-page pull-right">
                    
146				<?php noo_pagination(array(),$r)?>
                    
147			</div>
                    
                
comments.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 484 lines
                    
2
                    
3require dirname( __FILE__ ) . '/base.php';
                    
4
                    
217			<div id="cancel-comment-reply-link" style="display:none; float:right;"><a href="#"><?php echo esc_html( __( 'Cancel Reply', 'jetpack' ) ); ?></a></div>
                    
218			<iframe src="<?php echo esc_url( $url ); ?>" allowtransparency="<?php echo $transparent; ?>" style="width:100%; height: <?php echo $height; ?>px;border:0px;" frameBorder="0" scrolling="no" name="jetpack_remote_comment" id="jetpack_remote_comment"></iframe>
                    
219		</div>
                    
220
                    
221		<?php // Below is required for comment reply JS to work ?>
                    
222
                    
299
                    
300	<?php endif; ?>
                    
301
                    
464try {
                    
465	window.parent.location = <?php echo json_encode( $url ); ?>;
                    
466	window.parent.location.reload();
                    
                
javo-custom-fileds.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 283 lines
                    
24							<dd>
                    
25								<input type="hidden" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][name]" value="<?php echo $javo_get_custom_filed_id;?>">
                    
26								<input type="text" name="javo_ts[custom_field][<?php echo $javo_get_custom_filed_id;?>][label]" value="">
                    
141			</div>
                    
142			<input type="hidden" name="javo_custom_field[<?php echo $attributes['name'];?>][label]" value="<?php echo $label;?>">
                    
143		</div>
                    
218										<dd>
                    
219											<input name="javo_ts[custom_field][<?php echo $key;?>][value]" value="<?php echo $javo_field_string->get('value');?>">
                    
220										</dd>
                    
224										<dd>
                    
225											<input name="javo_ts[custom_field][<?php echo $key;?>][css]" value="<?php echo $javo_field_string->get('css');?>">
                    
226										</dd>
                    
250				var javo_get_custom_field_form_ajax = {
                    
251					url:'<?php echo admin_url("admin-ajax.php");?>'
                    
252					, type: 'post'
                    
                
crmgroupstep.php https://gitlab.com/alexprowars/bitrix | PHP | 429 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
97	{
                    
98		ob_start();
                    
99		?>
                    
241
                    
242		ob_start();
                    
243		?>
                    
278
                    
279		ob_start();
                    
280		?>
                    
343	{
                    
344		ob_start();
                    
345		if ($this->GetNextStepID() !== null)
                    
400			\CCrmSaleHelper::addUserToShopGroup();
                    
401			$cache = new \CPHPCache;
                    
402			$cache->CleanDir("/crm/list_crm_roles/");
                    
                
class-wp-customize-panel.php https://gitlab.com/hotrainer/zarmani | PHP | 389 lines
                    
1<?php
                    
2/**
                    
252	final public function get_content() {
                    
253		ob_start();
                    
254		$this->maybe_render();
                    
321		?>
                    
322		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
323			<?php $this->content_template(); ?>
                    
324		</script>
                    
325		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
326			<?php $this->render_template(); ?>
                    
327		</script>
                    
328        <?php
                    
329	}
                    
346				{{ data.title }}
                    
347				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
348			</h3>
                    
                
cmb-tests-base.php https://gitlab.com/plusplusminus/compassion | PHP | 108 lines
                    
1<?php
                    
2
                    
40	protected function capture_render( $cb ) {
                    
41		ob_start();
                    
42		call_user_func( $cb );
                    
82	/**
                    
83	 * Backport assertNotFalse to PHPUnit 3.6.12 which only runs in PHP 5.2
                    
84	 *
                    
84	 *
                    
85	 * @link   https://github.com/woothemes/woocommerce/blob/f5ff10711dc664f1c5ec5277634a5eea2b828765/tests/framework/class-wc-unit-test-case.php
                    
86	 *
                    
88	public static function assertNotFalse( $condition, $message = '' ) {
                    
89		if ( version_compare( phpversion(), '5.3', '<' ) ) {
                    
90			self::assertThat( $condition, self::logicalNot( self::isFalse() ), $message );
                    
96	/**
                    
97	 * Backport assertContainsOnlyInstancesOf to PHPUnit 3.6.12 which only runs in PHP 5.2
                    
98	 */
                    
                
portfolio.php https://bitbucket.org/iroshbrianskye/genteelfinal.git | PHP | 234 lines
                    
19	), $atts));
                    
20	ob_start();
                    
21	?>
                    
63	                
                    
64	        <?php if ($category == "") : ?>
                    
65	        <?php if ($show_filters == "yes") : ?>
                    
80	        <?php endif; ?>
                    
81	        <?php endif; ?>
                    
82	        
                    
197
                    
198	                    <div class="portfolio-box hidden <?php echo esc_html($portfolio_item_width); ?> <?php echo esc_html($portfolio_item_height); ?> <?php echo esc_html($term_slug_class); ?>">
                    
199	                        
                    
199	                        
                    
200	                        <a href="<?php echo get_permalink(get_the_ID()); ?>" class="portfolio-box-inner hover-effect-link" style="background-color:<?php echo esc_html($portfolio_color_option); ?>">
                    
201	                            
                    
                
css-js-in.inc.php https://gitlab.com/Gashler/dp | PHP | 201 lines
                    
1<?php
                    
2/**
                    
58
                    
59								ob_start("c_ws_plugin__s2member_utils_css::compress_css");
                    
60
                    
                
mdl.trigger.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 330 lines
                    
1<?php
                    
2require_once('shopObject.php');
                    
79    function object_fire_event($action , &$object, $member_id,&$target){
                    
80        //ob_start();'system.event_listener'
                    
81        if(false===strpos($action,':')){
                    
233            if(!function_exists('shop_match_network')){
                    
234                require(CORE_INCLUDE_DIR.'/shop/core.match_network.php');
                    
235            }
                    
                
PhutilDaemonOverseer.php git://github.com/facebook/phabricator.git | PHP | 410 lines
                    
1<?php
                    
2
                    
42    $args->setSynopsis(<<<EOHELP
                    
43**launch_daemon.php** [__options__] __daemon__
                    
44    Launch and oversee an instance of __daemon__.
                    
95    }
                    
96    $config = @file_get_contents('php://stdin');
                    
97    $config = id(new PhutilJSONParser())->parse($config);
                    
130      fclose(STDERR);
                    
131      ob_start();
                    
132
                    
                
spView.php http://student-test.googlecode.com/svn/trunk/ | PHP | 297 lines
                    
1<?php
                    
2/////////////////////////////////////////////////////////////////
                    
2/////////////////////////////////////////////////////////////////
                    
3// SpeedPHP??PHP??, Copyright (C) 2008 - 2010 SpeedPHP.com //
                    
4/////////////////////////////////////////////////////////////////
                    
24		if(FALSE == $GLOBALS['G_SP']['view']['enabled'])return FALSE;
                    
25		if(FALSE != $GLOBALS['G_SP']['view']['auto_ob_start'])ob_start();
                    
26		$this->engine = spClass($GLOBALS['G_SP']['view']['engine_name'],null,$GLOBALS['G_SP']['view']['engine_path']);
                    
149				$cachedata = $this->curl_get_file_contents($remoteurl);
                    
150				if( FALSE === $cachedata )spError("????????????????<br />1. spUrl?????????<a href='{$remoteurl}' target='_blank'>??????</a>?<br />2. ??php.ini?allow_url_fopen?On?<br />3. ??????????APACHE/PHP?????<br />4. ????CURL????");
                    
151			}
                    
                
ManagerCest.php git://github.com/phalcon/cphalcon.git | PHP | 361 lines
                    
1<?php
                    
2
                    
345
                    
346        ob_start();
                    
347        $manager->fire($eventType, $this);
                    
                
class.wpcom-json-api-comment-endpoint.php https://gitlab.com/ibnukipa/cakra | PHP | 198 lines
                    
1<?php
                    
2
                    
141				if ( 'display' === $context ) {
                    
142					ob_start();
                    
143					comment_text();
                    
                
renderer.php https://gitlab.com/JrLucena/moodle | PHP | 194 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
27global $CFG;
                    
28require_once($CFG->libdir . '/behat/classes/behat_selectors.php');
                    
29
                    
50        // Form.
                    
51        ob_start();
                    
52        $form->display();
                    
92                    $url = new moodle_url(
                    
93                        '/help.php',
                    
94                        array(
                    
136        $a->behatcommand = behat_command::get_behat_command();
                    
137        $a->behatinit = 'php admin' . DIRECTORY_SEPARATOR . 'tool' . DIRECTORY_SEPARATOR .
                    
138            'behat' . DIRECTORY_SEPARATOR . 'cli' . DIRECTORY_SEPARATOR . 'init.php';
                    
                
repeater.class.php https://gitlab.com/hop23typhu/faci-times | PHP | 128 lines
                    
1<?php
                    
2
                    
56		<div class="siteorigin-widget-field-repeater"
                    
57		     data-item-name="<?php echo esc_attr( $this->item_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
58		     data-repeater-name="<?php echo esc_attr( $this->base_name ) ?>"
                    
59		     data-element-name="<?php echo esc_attr( $this->element_name ) ?>"
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
60			<?php echo ! empty( $item_label ) ? 'data-item-label="' . esc_attr( $item_label ) . '"' : '' ?>
                    
61			<?php echo ! empty( $this->scroll_count ) ? 'data-scroll-count="' . esc_attr( $this->scroll_count ) . '"' : '' ?>
                    
62			<?php if( ! empty( $this->readonly ) ) echo 'readonly' ?>>
                    
64				<div class="siteorigin-widget-field-repeater-expand"></div>
                    
65				<h3><?php echo esc_html( $this->label ) ?></h3>
                    
66			</div>
                    
67			<div class="siteorigin-widget-field-repeater-items">
                    
68				<?php
                    
69				if( !empty( $value ) ) {
                    
                
Gateway.php https://gitlab.com/endomorphosis/suschu | PHP | 410 lines
                    
33{
                    
34	require_once(AMFPHP_BASE . "shared/util/CompatPhp5.php");
                    
35}
                    
37{
                    
38	require_once(AMFPHP_BASE . "shared/util/CompatPhp4.php");
                    
39}
                    
42require_once(AMFPHP_BASE . "shared/util/NetDebug.php");
                    
43require_once(AMFPHP_BASE . "shared/util/Headers.php");
                    
44require_once(AMFPHP_BASE . "shared/exception/MessageException.php");
                    
77			include_once(AMFPHP_BASE . "shared/app/php5Executive.php");
                    
78			include_once(AMFPHP_BASE . "shared/exception/php5Exception.php");
                    
79		}
                    
83			include_once(AMFPHP_BASE . "shared/app/php4Executive.php");
                    
84			include_once(AMFPHP_BASE . "shared/exception/php4Exception.php");
                    
85		}
                    
                
Image.php http://hppg.googlecode.com/svn/trunk/ | PHP | 362 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once 'modules/lhcaptcha/pear/Text/CAPTCHA.php';
                    
8require_once 'modules/lhcaptcha/pear/Image/Text.php';
                    
15 * 
                    
16 * @license PHP License, version 3.0
                    
17 * @author Christian Wenz <wenz@php.net>
                    
288        if (is_resource($this->_im)) {
                    
289            ob_start();
                    
290            imagepng($this->_im);
                    
315        if (is_resource($this->_im)) {
                    
316            ob_start();
                    
317            imagejpeg($this->_im);
                    
342        if (is_resource($this->_im)) {
                    
343            ob_start();
                    
344            imagegif($this->_im);
                    
                
css.php https://gitlab.com/hop23typhu/list-theme | PHP | 245 lines
                    
1<?php
                    
2
                    
9  * @copyright 2010 KCFinder Project
                    
10  *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
                    
11  *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
                    
14
                    
15require "core/autoload.php";
                    
16$mtime = @filemtime(__FILE__);
                    
19$config = $browser->config;
                    
20ob_start();
                    
21
                    
106    overflow-x: hidden;
                    
107    width: <?php echo $config['thumbWidth'] ?>px;
                    
108    float: left;
                    
114div.file .thumb {
                    
115    width: <?php echo $config['thumbWidth'] ?>px;
                    
116    height: <?php echo $config['thumbHeight'] ?>px;
                    
                
comments.php https://gitlab.com/hop23typhu/list-theme | PHP | 74 lines
                    
1<?php
                    
2/*
                    
13	<div id="comments" class="comments-container">
                    
14		<?php
                    
15		ob_start();
                    
24		<ol class="comment-list commentlist">
                    
25			<?php wp_list_comments( 'callback=avada_comment' ); ?>
                    
26		</ol><!-- .comment-list -->
                    
27
                    
28		<?php
                    
29		if( function_exists( 'the_comments_navigation' ) ) {
                    
34
                    
35<?php endif;
                    
36
                    
38
                    
39	<p class="no-comments"><?php echo __( 'Comments are closed.', 'Avada' ); ?></p>
                    
40
                    
                
wp-cache-phase2.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 328 lines
                    
1<?php
                    
2
                    
2
                    
3/** Diable here because PHP4.3 does not make the global
                    
4 Serious bug?
                    
33		return;
                    
34	$script = basename($_SERVER['PHP_SELF']);
                    
35	if (!in_array($script, $cache_acceptable_files) && 
                    
39	$wp_cache_meta_object = new CacheMeta;
                    
40	ob_start('wp_cache_ob_callback'); 
                    
41	register_shutdown_function('wp_cache_shutdown_callback');
                    
148			$store = preg_replace('|<!--mclude (.*?)-->(.*?)<!--/mclude-->|is', 
                    
149					"<!--mclude-->\n<?php include_once('" . ABSPATH . "$1'); ?>\n<!--/mclude-->", $buffer);
                    
150			$store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is', 
                    
150			$store = preg_replace('|<!--mfunc (.*?)-->(.*?)<!--/mfunc-->|is', 
                    
151					"<!--mfunc-->\n<?php $1 ;?>\n<!--/mfunc-->", $store);
                    
152			$wp_cache_meta_object->dynamic = true;
                    
                
Reporting.php https://gitlab.com/daigiangaitu91/magento | PHP | 318 lines
                    
19} else {
                    
20    include_once 'PHP/CodeSniffer.php';
                    
21}
                    
109     * 
                    
110     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
111     * @param array                $cliValues An array of command line arguments.
                    
114     */
                    
115    public function cacheFileReport(PHP_CodeSniffer_File $phpcsFile, array $cliValues)
                    
116    {
                    
232     *
                    
233     * @param PHP_CodeSniffer_File $phpcsFile The file that has been processed.
                    
234     *
                    
236     */
                    
237    public function prepareFileReport(PHP_CodeSniffer_File $phpcsFile)
                    
238    {
                    
                
index.php http://ebpls.googlecode.com/svn/trunk/ | PHP | 250 lines
                    
1<?php
                    
2/*
                    
10// application initialization
                    
11ob_start();
                    
12session_start();
                    
12session_start();
                    
13require_once "includes/config.php";
                    
14$strSetupDir = (empty($ThUserData['domain'])) ? "" : $ThUserData['domain'];
                    
16$strSetupDir = (is_dir("setup/{$strSetupDir}")) ? $strSetupDir . '/' : "";
                    
17$strSettingScript = "setup" . $strSetupDir . "setting.php";
                    
18include_once $strSettingScript;
                    
18include_once $strSettingScript;
                    
19//include_once 'ebpls5501.php';
                    
20require_once "lib/ebpls.lib.php";
                    
52
                    
53$ses = isset($_COOKIE['PHPSESSID'])?$_COOKIE['PHPSESSID']:'';  //2008.05.06
                    
54
                    
                
modulestep.php https://gitlab.com/alexprowars/bitrix | PHP | 342 lines
                    
1<?php
                    
2namespace Bitrix\Sale\BsmSiteMaster\Steps;
                    
108			$this->SetNextCaption(Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_NEXT_BUTTON"));
                    
109			ob_start();
                    
110			?>
                    
135
                    
136		ob_start();
                    
137		if ($this->GetPrevStepID() !== null)
                    
271
                    
272		ob_start();
                    
273		?>
                    
274		<div class="adm-bsm-site-master-paragraph-wrapper">
                    
275			<?php if ($isMarketPlace && $isUpdateSystem):?>
                    
276				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_ALL_DESCR", [
                    
276				<div class="adm-bsm-site-master-paragraph"><?=Loc::getMessage("SALE_BSM_WIZARD_MODULESTEP_ALL_DESCR", [
                    
277						"#MARKET_PLACE_LINK#" => "/bitrix/admin/update_system_market.php?module=bitrix.eshop&lang=".LANGUAGE_ID,
                    
278						"#UPDATE_SYSTEM_LINK#" => "/bitrix/admin/update_system.php?lang=".LANGUAGE_ID,
                    
                
FlashBase.php git://github.com/phalcon/cphalcon.git | PHP | 276 lines
                    
1<?php
                    
2
                    
87            $expected = sprintf(
                    
88                '<div%s>%s</div>' . PHP_EOL,
                    
89                $this->getClass($function),
                    
144    {
                    
145        ob_start();
                    
146        $flash->$function($message);
                    
                
%%A1^A1B^A1B35AFB%%SN1_Serial_NumberEditViewfault_description.tpl.php https://bitbucket.org/allexblacker/suitecrm.git | PHP | 401 lines
                    
1<?php /* Smarty version 2.6.29, created on 2018-03-15 01:35:35
                    
2         compiled from cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl */ ?>
                    
2         compiled from cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl */ ?>
                    
3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
                    
4smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 10, false),array('function', 'sugar_getimagepath', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 43, false),array('modifier', 'lookup', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 38, false),array('modifier', 'count', 'cache/include/InlineEditing/SN1_Serial_NumberEditViewfault_description.tpl', 143, false),)), $this); ?>
                    
6
                    
7<?php if (! isset ( $this->_tpl_vars['config']['enable_autocomplete'] ) || $this->_tpl_vars['config']['enable_autocomplete'] == false): ?>
                    
8	<select name="<?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
9" 
                    
10	id="<?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
11" 
                    
24	<?php $this->assign('field_options', $this->_tpl_vars['fields']['fault_description']['options']); ?>
                    
25	<?php ob_start(); ?><?php echo $this->_tpl_vars['fields']['fault_description']['value']; ?>
                    
26<?php $this->_smarty_vars['capture']['field_val'] = ob_get_contents(); ob_end_clean(); ?>
                    
27	<?php $this->assign('field_val', $this->_smarty_vars['capture']['field_val']); ?>
                    
28	<?php ob_start(); ?><?php echo $this->_tpl_vars['fields']['fault_description']['name']; ?>
                    
29<?php $this->_smarty_vars['capture']['ac_key'] = ob_get_contents(); ob_end_clean(); ?>
                    
                
HtmlDumperTest.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 117 lines
                    
1<?php
                    
2
                    
19 */
                    
20class HtmlDumperTest extends \PHPUnit_Framework_TestCase
                    
21{
                    
23    {
                    
24        require __DIR__.'/Fixtures/dumb-var.php';
                    
25
                    
25
                    
26        $dumper = new HtmlDumper('php://output');
                    
27        $dumper->setColors(false);
                    
39
                    
40        ob_start();
                    
41        $dumper->dump($data);
                    
42        $out = ob_get_clean();
                    
43        $closureLabel = PHP_VERSION_ID >= 50400 ? 'public method' : 'function';
                    
44        $out = preg_replace('/[ \t]+$/m', '', $out);
                    
                
ListTest.php git://github.com/tanakahisateru/pinoco.git | PHP | 273 lines
                    
1<?php
                    
2require_once dirname(__FILE__) . '/../../src/Pinoco/_bootstrap.php';
                    
3
                    
4class ListTest extends PHPUnit_Framework_TestCase
                    
5{
                    
220    {
                    
221        ob_start();
                    
222        $l = Pinoco_List::fromArray(array(1, 2, 3));
                    
                
class-wc-widget-top-rated-products.php https://gitlab.com/hotrainer/zarmani | PHP | 99 lines
                    
1<?php
                    
2
                    
60
                    
61		ob_start();
                    
62
                    
80				$r->the_post();
                    
81				wc_get_template( 'content-widget-product.php', array( 'show_rating' => true ) );
                    
82			}
                    
                
smarty_cacheresource.php https://gitlab.com/ivandevp/petshop | PHP | 442 lines
                    
1<?php
                    
2/**
                    
82        if ($_template->cached->handler->process($_template)) {
                    
83            ob_start();
                    
84            $_template->properties['unifunc']($_template);
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 173 lines
                    
1<?
                    
2require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/workflow/include.php");
                    
3$module_id = "workflow";
                    
111		$Update = $Update.$Apply;
                    
112		ob_start();
                    
113		require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
161	$tabControl->BeginNextTab();
                    
162	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");
                    
163	$tabControl->Buttons();
                    
                
shell.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2005-2011, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
funnel.html https://github.com/hank/life.git | HTML | 224 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html>
                    
158    
                    
159                <a title="Share RGraph on Facebook" href="" onclick="window.open('http://www.facebook.com/sharer.php?u=http://www.rgraph.net&t=RGraph:%20HTML5%20canvas%20graph%20library', 'facebook_window', 'width=500,height=300,top=100,left=100'); return false">
                    
160                    <img src="../images/facebook.png" width="22" height="22" alt="Post to Facebook" align="absmiddle" style="position: relative; top: -2px; border: 0" border="0"/>
                    
                
LogPluginTest.php https://gitlab.com/cuitianze/eduwind | PHP | 95 lines
                    
1<?php
                    
2
                    
69
                    
70        ob_start();
                    
71        $request->send();
                    
80    {
                    
81        $s = fopen('php://temp', 'r+');
                    
82        $client = new Client();
                    
                
Debug.php https://gitlab.com/blingbang2016/shop | PHP | 113 lines
                    
1<?php
                    
2/**
                    
40     * Get the current value of the debug output environment.
                    
41     * This defaults to the value of PHP_SAPI.
                    
42     *
                    
47        if (self::$_sapi === null) {
                    
48            self::$_sapi = PHP_SAPI;
                    
49        }
                    
54     * Set the debug ouput environment.
                    
55     * Setting a value of null causes Zend_Debug to use PHP_SAPI.
                    
56     *
                    
80        // var_dump the variable into a buffer and keep the output
                    
81        ob_start();
                    
82        var_dump($var);
                    
87        if (self::getSapi() == 'cli') {
                    
88            $output = PHP_EOL . $label
                    
89                    . PHP_EOL . $output
                    
                
customize.php git://github.com/wordpress/wordpress.git | PHP | 270 lines
                    
47		 *
                    
48		 * Because WP_Customize_Manager is not instantiated for customize.php with the `settings_previewed=false`
                    
49		 * argument, settings cannot be reliably saved. Some logic short-circuits if the current value is the
                    
62		?>
                    
63		<?php wp_print_scripts( array( 'wp-util' ) ); ?>
                    
64		<script>
                    
155<script type="text/javascript">
                    
156var ajaxurl = <?php echo wp_json_encode( admin_url( 'admin-ajax.php', 'relative' ) ); ?>,
                    
157	pagenow = 'customize';
                    
187				<span class="controls"><?php _e( 'Customize' ); ?></span>
                    
188				<span class="preview"><?php _e( 'Preview' ); ?></span>
                    
189			</button>
                    
248						?>
                    
249						<button type="button" class="<?php echo esc_attr( $class ); ?>" aria-pressed="<?php echo esc_attr( $active ); ?>" data-device="<?php echo esc_attr( $device ); ?>">
                    
250							<span class="screen-reader-text"><?php echo esc_html( $settings['label'] ); ?></span>
                    
                
radar.html https://github.com/makoto/node-websocket-activity-monitor.git | HTML | 219 lines
                    
1<?php ob_start('ob_gzhandler') ?>
                    
2<!DOCTYPE html>
                    
                
Image.php https://bitbucket.org/paulafaria/navaranda-wp.git | PHP | 329 lines
                    
1<?php
                    
2
                    
221		ob_start(); ?>
                    
222		<span class="ac-image cpac-cover" data-media-id="<?php echo esc_attr( $media_id ); ?>" style="width:<?php echo esc_attr( $width ); ?>px;height:<?php echo esc_attr( $height ); ?>px;background-size:cover;background-image:url(<?php echo esc_attr( $src ); ?>);background-position:center;"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>></span>
                    
223
                    
223
                    
224		<?php
                    
225		return ob_get_clean();
                    
235		ob_start(); ?>
                    
236		<span class="ac-image<?php echo $class; ?>" data-media-id="<?php echo esc_attr( $media_id ); ?>"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>>
                    
237			<img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>">
                    
238
                    
239			<?php if ( $add_extension ) : ?>
                    
240				<span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
                    
240				<span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>
                    
241			<?php endif; ?>
                    
242
                    
                
renderer.php https://gitlab.com/JrLucena/moodle | PHP | 175 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
52        // Form.
                    
53        ob_start();
                    
54        $form->display();
                    
117        if (isset($eventinformation['parentclass'])) {
                    
118            $url = new moodle_url('eventdetail.php', array('eventname' => $eventinformation['parentclass']));
                    
119            $html .= html_writer::tag('dt', get_string('parentevent', 'report_eventlist'));
                    
                
class-taxonomy.php https://gitlab.com/hop23typhu/faci-parkhill | PHP | 304 lines
                    
1<?php
                    
2/**
                    
148		// Wrap in output buffering to prevent shortcodes that echo stuff instead of return from breaking things.
                    
149		ob_start();
                    
150		$desc = do_shortcode( $desc );
                    
188	public static function is_term_overview( $page ) {
                    
189		return 'edit-tags.php' === $page;
                    
190	}
                    
197	public static function is_term_edit( $page ) {
                    
198		return 'term.php' === $page
                    
199		       || 'edit-tags.php' === $page; // After we drop support for <4.5 this can be removed.
                    
                
txp_auth.php http://textpattern.googlecode.com/svn/development/4.x/ | PHP | 277 lines
                    
1<?php
                    
2
                    
56
                    
57    ob_start();
                    
58}
                    
72
                    
73    include txpath.'/lib/txplib_head.php';
                    
74    $event = 'login';
                    
102            graf(
                    
103                href(gTxt('back_to_login'), 'index.php')
                    
104            , array('class' => 'login-return')).
                    
253
                    
254        include_once txpath.'/lib/txplib_admin.php';
                    
255
                    
266        if ($nonce and $confirm === pack('H*', substr(md5($nonce), 0, 10)).$name) {
                    
267            include_once txpath.'/lib/txplib_admin.php';
                    
268
                    
                
class-wc-email-customer-invoice.php https://gitlab.com/hop23typhu/list-theme | PHP | 185 lines
                    
1<?php
                    
2
                    
29
                    
30		$this->template_html 	= 'emails/customer-invoice.php';
                    
31		$this->template_plain 	= 'emails/plain/customer-invoice.php';
                    
105	function get_content_html() {
                    
106		ob_start();
                    
107		woocommerce_get_template( $this->template_html, array(
                    
120	function get_content_plain() {
                    
121		ob_start();
                    
122		woocommerce_get_template( $this->template_plain, array(
                    
                
functions.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 459 lines
                    
1<?php
                    
2//* Start the engine
                    
2//* Start the engine
                    
3include_once( get_template_directory() . '/lib/init.php' );
                    
4
                    
25//* Add Accent color to customizer
                    
26require_once( get_stylesheet_directory() . '/lib/customize.php' );
                    
27
                    
105	if ( is_active_sidebar( 'author-box-custom' ) ) {
                    
106		ob_start();
                    
107		genesis_widget_area( 'author-box-custom', array( 'before' => '<div class="author-box-custom">', 'after' => '</div>', ) );
                    
253		return $menu;
                    
254	ob_start();
                    
255	genesis_widget_area('nav-widget-area');
                    
386	 <style type="text/css">
                    
387		<?php if ( 0 < count( strlen( ( $home_top_background_image_url = get_theme_mod( 'pc_home_top_background_image' ) ) ) ) ) { ?>
                    
388			.home-top {
                    
                
class.php https://gitlab.com/alexprowars/bitrix | PHP | 228 lines
                    
1<?php
                    
2
                    
199		}
                    
200		ob_start();
                    
201		$APPLICATION->IncludeComponent($playerComponent, '', $params);
                    
                
Local.php https://gitlab.com/blingbang2016/shop | PHP | 99 lines
                    
1<?php
                    
2/**
                    
23/** Zend_Soap_Server */
                    
24#require_once 'Zend/Soap/Server.php';
                    
25
                    
26/** Zend_Soap_Client */
                    
27#require_once 'Zend/Soap/Client.php';
                    
28
                    
83        // Perform request as is
                    
84        ob_start();
                    
85        $this->_server->handle($request);
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 179 lines
                    
150	$this->setSiteTemplateId('mobile_app');
                    
151	$arParams['ACTION_URL'] = SITE_DIR.'mobile/index.php?mobile_action=calendar_livefeed';
                    
152}
                    
154{
                    
155	$arParams['ACTION_URL'] = $this->getPath().'/action.php';
                    
156}
                    
157
                    
158ob_start();
                    
159$this->IncludeComponentTemplate();
                    
                
omnisearch-posts.php https://gitlab.com/GeneralistDev/danielparker.com.au-wordpress | PHP | 136 lines
                    
1<?php
                    
2
                    
3if( ! class_exists( 'WP_List_Table' ) )
                    
4	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
                    
5
                    
28
                    
29		$search_url = esc_url( admin_url( sprintf( 'edit.php?post_type=%s&s=%s', urlencode( $this->post_type_obj->name ), urlencode( $search_term ) ) ) );
                    
30		$search_link = sprintf( ' <a href="%s" class="add-new-h2">%s</a>', $search_url, esc_html( $this->post_type_obj->labels->search_items ) );
                    
44
                    
45		ob_start();
                    
46		$this->display();
                    
                
smarty_internal_compile_block.php https://gitlab.com/dleonov/my-framework-two | PHP | 249 lines
                    
1<?php
                    
2/*
                    
123        $compiler->_cache[ 'blockParams' ][ $compiler->_cache[ 'blockNesting' ] ][ 'callsChild' ] = 'true';
                    
124        $output = "<?php \n\$this->callChild(\$_smarty_tpl);\n?>\n";
                    
125        return $output;
                    
143        $compiler->has_code = true;
                    
144        $output = "<?php \n\$this->callParent(\$_smarty_tpl);\n?>\n";
                    
145        return $output;
                    
184
                    
185        $output = "<?php\n";
                    
186        $output .= "/* {block '{$_name}'} {$compiler->template->source->type}:{$compiler->template->source->name} */\n";
                    
197        if (isset($_assign)) {
                    
198            $output .= "ob_start();\n";
                    
199        }
                    
204        $compiler->parser->current_buffer->append_subtree($compiler->parser, $_functionCode);
                    
205        $output = "<?php\n";
                    
206        if (isset($_assign)) {
                    
                
timber-twig.php https://gitlab.com/esiao/wp-timber-startertheme | PHP | 318 lines
                    
1<?php
                    
2
                    
244	function body_class( $body_classes ) {
                    
245		ob_start();
                    
246		if ( is_array( $body_classes ) ) {
                    
                
debugger.test.php git://github.com/abalonepaul/eav_behavior.git | PHP | 372 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.libs
                    
17 * @since         CakePHP(tm) v 1.2.0.5432
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
97
                    
98		$expected = '<code><span style="color: #000000">&lt;?php';
                    
99		$expected .= '</span></code>';
                    
123
                    
124		ob_start();
                    
125		Debugger::output('txt');
                    
                
functions.php http://j-ecard-28022011.googlecode.com/svn/trunk/ | PHP | 459 lines
                    
1<?php
                    
2defined('_JEXEC') or die('Restricted access'); // no direct access
                    
32
                    
33		ob_start();
                    
34?>
                    
47		
                    
48		<?php if ($hasCaption): ?>
                    
49<h2 class="art-postheader"> 
                    
49<h2 class="art-postheader"> 
                    
50		<?php echo $caption; ?>
                    
51
                    
53		
                    
54		<?php endif; ?>
                    
55		<?php if ($hasContent): ?>
                    
58		
                    
59		<?php echo artxReplaceButtons($content); ?>
                    
60
                    
                
functions.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 339 lines
                    
1<?php
                    
2/**
                    
12//* Start the engine
                    
13require_once( get_template_directory() . '/lib/init.php' );
                    
14
                    
26//* Add Color Selection to WordPress Theme Customizer
                    
27require_once( get_stylesheet_directory() . '/lib/customize.php' );
                    
28
                    
29//* Setup Theme
                    
30include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );
                    
31
                    
32//* Add Widget Spaces
                    
33require_once( get_stylesheet_directory() . '/lib/widgets.php' );
                    
34
                    
35//* Install Plugins
                    
36require_once( get_stylesheet_directory() . '/lib/plugins/tgm-plugin-activation/register-plugins.php' );
                    
37
                    
                
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'));
                    
67    if ($pb_logging) {
                    
68        ob_start();
                    
69        print_r($raw_post_data);
                    
                
Local.php https://gitlab.com/daigiangaitu91/magento | PHP | 73 lines
                    
1<?php
                    
2/**
                    
59        // Perform request as is
                    
60        ob_start();
                    
61        $this->server->handle($request);
                    
                
component.php https://gitlab.com/alexprowars/bitrix | PHP | 134 lines
                    
28
                    
29$obCache = new CPHPCache;
                    
30$cache_path = str_replace(array(":", "//"), "/", "/".SITE_ID."/".$componentName."/".$arParams["CHANNEL_SID"]."/");
                    
127$componentPage = ($bShowResult ? "result" : "form");
                    
128ob_start();
                    
129$this->IncludeComponentTemplate($componentPage);
                    
                
helper.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 301 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version		$Id: helper.php 10034 2008-02-13 21:06:54Z ian $
                    
4* @package		Joomla.Framework
                    
6* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
                    
7* @license		GNU/GPL, see LICENSE.php
                    
8* Joomla! is free software. This version may have been modified pursuant
                    
11* other free or open source software licenses.
                    
12* See COPYRIGHT.php for copyright notices and details.
                    
13*/
                    
156		$module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module);
                    
157		$path = JPATH_BASE.DS.'modules'.DS.$module->module.DS.$module->module.'.php';
                    
158
                    
165			$content = '';
                    
166			ob_start();
                    
167			require $path;
                    
                
page_4_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 290 lines
                    
1<?php ob_start();?>
                    
2<?php include("second_header.php"); ?>
                    
2<?php include("second_header.php"); ?>
                    
3	<?php
                    
4	session_start();
                    
5	$roll=$_SESSION['myValue']; 
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_4_2 WHERE roll='$roll'";
                    
34	?>
                    
35	<?php
                    
36	 include('connect.php');
                    
47	?>
                    
48	<?php
                    
49	?>
                    
49	?>
                    
50	<?php 
                    
51	if($sub1>=80){$result1=4.00;}
                    
                
page_3_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 290 lines
                    
1<?php ob_start();?>
                    
2<?php include("second_header.php"); ?>
                    
2<?php include("second_header.php"); ?>
                    
3	<?php
                    
4	session_start();
                    
5	$roll=$_SESSION['myValue']; 
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_3_2 WHERE roll='$roll'";
                    
34	?>
                    
35	<?php
                    
36	 include('connect.php');
                    
47	?>
                    
48	<?php
                    
49	?>
                    
49	?>
                    
50	<?php 
                    
51	if($sub1>=80){$result1=4.00;}
                    
                
Badge.php https://github.com/radicalsuz/amp.git | PHP | 170 lines
                    
1<?php
                    
2
                    
2
                    
3require_once( 'AMP/System/Data/Item.inc.php');
                    
4
                    
57    function getDefaultArguments( ) {
                    
58        require_once( 'AMP/Content/Page.inc.php');
                    
59        $page = AMPContent_Page::instance( );
                    
86		$output = false;
                    
87		if ($output = $this->render_php_include()) return $output;
                    
88		if ($output = $this->render_html()) return $output;
                    
96
                    
97	function render_php_include() {
                    
98		if (!($include_filename = $this->getInclude() )) return false;
                    
116		//default, just include the file
                    
117		ob_start();
                    
118		include( $include_filename );
                    
                
tasksTest.php https://github.com/openpne/OpenPNE3.git | PHP | 132 lines
                    
1<?php
                    
2
                    
3$_test_dir = realpath(__DIR__.'/..');
                    
4require_once($_test_dir.'/../lib/vendor/lime/lime.php');
                    
5require_once($_test_dir.'/../lib/util/sfToolkit.class.php');
                    
10{
                    
11  public $php_cli = null;
                    
12  public $tmp_dir = null;
                    
32
                    
33    $this->php_cli = sfToolkit::getPhpCli();
                    
34  }
                    
102// test:*
                    
103copy(__DIR__.'/fixtures/test/unit/testTest.php', $c->tmp_dir.DS.'test'.DS.'unit'.DS.'testTest.php');
                    
104
                    
119mkdir($pluginDir = $c->tmp_dir.DS.'plugins'.DS.'myFooPlugin'.DS.'lib'.DS.'task', 0777, true);
                    
120copy(__DIR__.'/fixtures/task/myPluginTask.class.php', $pluginDir.DS.'myPluginTask.class.php');
                    
121file_put_contents(
                    
                
modmanagerresponse.class.php https://github.com/pixelchutes/revolution.git | PHP | 311 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once MODX_CORE_PATH . 'model/modx/modresponse.class.php';
                    
8/**
                    
146        if (!class_exists($className)) {
                    
147            $classFile = strtolower($f).'.class.php';
                    
148            $classPath = null;
                    
151                if (!file_exists($controllersPath.$classFile)) {
                    
152                    if (file_exists($controllersPath.strtolower($f).'/index.class.php')) {
                    
153                        $classPath = $controllersPath.strtolower($f).'/index.class.php';
                    
163                $className = 'modManagerControllerDeprecated';
                    
164                $classPath = MODX_CORE_PATH.'model/modx/modmanagercontrollerdeprecated.class.php';
                    
165            }
                    
167            if (!file_exists($classPath)) {
                    
168                if (file_exists(strtolower($f).'/index.class.php')) {
                    
169                    $classPath = strtolower($f).'/index.class.php';
                    
                
ProfilerController.php https://gitlab.com/TouirMohamedMarwen/Symfony2 | PHP | 384 lines
                    
1<?php
                    
2
                    
349    /**
                    
350     * Displays the PHP info.
                    
351     *
                    
355     */
                    
356    public function phpinfoAction()
                    
357    {
                    
363
                    
364        ob_start();
                    
365        phpinfo();
                    
365        phpinfo();
                    
366        $phpinfo = ob_get_clean();
                    
367
                    
367
                    
368        return new Response($phpinfo, 200, array('Content-Type' => 'text/html'));
                    
369    }
                    
                
class-ms-view-settings-import-settings.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 465 lines
                    
1<?php
                    
2/**
                    
68
                    
69		ob_start();
                    
70		MS_Helper_Html::settings_box(
                    
376			'title' 		=> __( 'Batch size for import', 'membership2' ),
                    
377			'desc' 			=> __( 'Big batches will be processed faster but may result in PHP Memory errors.', 'membership2' ),
                    
378			'value' 		=> 10,
                    
                
manage-resume.php https://gitlab.com/hop23typhu/list-theme | PHP | 142 lines
                    
39		?>
                    
40			<em><strong><?php _e('Note:','noo')?></strong> <?php echo esc_html( $note_text ); ?></em>
                    
41		<?php endif; ?>
                    
74									<?php if( $status == 'publish' ) : ?>
                    
75										<a href="<?php the_permalink()?>"><strong><?php the_title()?></strong></a>
                    
76									<?php else : ?>
                    
116									<a href="<?php echo Noo_Member::get_edit_resume_url($post->ID)?>" class="member-manage-action" data-toggle="tooltip" title="<?php esc_attr_e('Edit Resume','noo')?>"><i class="fa fa-pencil"></i></a>
                    
117									<a href="<?php echo wp_nonce_url( add_query_arg(array('action'=>'delete','resume_id'=>$post->ID)), 'resume-manage-action' );?>" class="member-manage-action action-delete" data-toggle="tooltip" title="<?php esc_attr_e('Delete Resume','noo')?>"><i class="fa fa-trash-o"></i></a>
                    
118								</td>
                    
125				<div class="member-manage-page pull-left">
                    
126					<a href="<?php echo Noo_Member::get_post_resume_url(); ?>" class="btn btn-primary"><?php _e('Create New Resume', 'noo'); ?></a>
                    
127				</div>
                    
135		<p>
                    
136			<a href="<?php echo Noo_Member::get_post_resume_url(); ?>" class="btn btn-primary"><?php _e('Post Resume', 'noo')?></a>
                    
137		</p>
                    
                
ControlTest.php git://github.com/nella/framework.git | PHP | 137 lines
                    
1<?php
                    
2/**
                    
108
                    
109		ob_start();
                    
110		$this->control->render();
                    
                
Function.php https://gitlab.com/devtoannh/cafe | PHP | 179 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Function.php 23775 2011-03-01 17:25:24Z ralph $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Cache/Core.php';
                    
28
                    
103            // A cache is not available (or not valid for this frontend)
                    
104            ob_start();
                    
105            ob_implicit_flush(false);
                    
                
category_items.php http://flexicontent.googlecode.com/svn/trunk/ | PHP | 338 lines
                    
135
                    
136			<?php if ($catid!=$currcatid) { ?> <a class='fc_cat_title' href="<?php echo JRoute::_( FlexicontentHelperRoute::getCategoryRoute($sub->slug) ); ?>"> <?php } else { echo "<span class='fc_cat_title'>"; } ?>
                    
137				<!-- BOF subcategory title -->
                    
185					?>
                    
186					<li id="faqlist_cat_<?php echo $catid; ?>item_<?php echo $i; ?>" class="<?php echo $fc_item_classes; ?>">
                    
187						
                    
205									<?php if ( isset($this->comments[ $item->id ]->total) ) : ?>
                    
206									<div class="fc_comments_count_nopad hasTip" alt="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>" title="<?php echo JText::_('FLEXI_NUM_OF_COMMENTS');?>::<?php echo JText::_('FLEXI_NUM_OF_COMMENTS_TIP');?>">
                    
207										<?php echo $this->comments[ $item->id ]->total; ?>
                    
266									<?php if ($field->label) : ?>
                    
267									<span class="flexi label field_<?php echo $field->name; ?>"><?php echo $field->label; ?></span>
                    
268									<?php endif; ?>
                    
279								<li class="flexi-field">
                    
280									<div class="flexi value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></div>
                    
281								</li>
                    
                
 

Source

Language