PageRenderTime 530ms queryTime 73ms sortTime 9ms getByIdsTime 135ms findMatchingLines 160ms

100+ results results for 'php ob_start repo:parweb/cakephp' (530 ms)

Not the results you expected?
ui.class.php https://gitlab.com/x33n/ampache | PHP | 355 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
46        header("HTTP/1.1 403 $error");
                    
47        require_once AmpConfig::get('prefix') . '/templates/show_denied.inc.php';
                    
48        exit;
                    
58    {
                    
59        ob_start();
                    
60        require AmpConfig::get('prefix') . '/templates/' . $template;
                    
276    {
                    
277        require_once AmpConfig::get('prefix') . '/templates/header.inc.php';
                    
278    }
                    
289        }
                    
290        require_once AmpConfig::get('prefix') . '/templates/footer.inc.php';
                    
291        if (isset($_REQUEST['profiling'])) {
                    
302    {
                    
303        require AmpConfig::get('prefix') . '/templates/show_box_top.inc.php';
                    
304    }
                    
                
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(); ?>
                    
                
CaptureCache.php https://gitlab.com/faisaliqbal/mytripsorter | PHP | 387 lines
                    
1<?php
                    
2/**
                    
28
                    
29        ob_start(function ($content) use ($pageId) {
                    
30            $this->set($content, $pageId);
                    
31
                    
32            // http://php.net/manual/function.ob-start.php
                    
33            // -> If output_callback  returns FALSE original input is sent to the browser.
                    
                
HtmlDumperTest.php https://gitlab.com/Laolballs/cbtapp | 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);
                    
                
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/Blueprint-Marketing/wordpress-unit-tests | 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;
                    
                
class-walker-nav-menu-edit.php https://gitlab.com/VTTE/sitios-vtte | 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>
                    
                
ExportToGoogleLiveData.php https://gitlab.com/digaotinfo/agenciaabear.com.br | PHP | 192 lines
                    
36        $pluginUrlDir = $plugin->getPluginDirUrl();
                    
37        $scriptLink = $pluginUrlDir . 'CFDBGoogleSSLiveData.php';
                    
38        $imageUrlDir = $pluginUrlDir . "help";
                    
122                        <a href="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png">
                    
123                            <img src="<?php echo $imageUrlDir ?>/GooglePasteScriptEditor.png" alt="Paste script text" height="68px" width="100px"/>
                    
124
                    
133                    <p><?php _e('<strong>Copy</strong> the text from ', 'contact-form-7-to-database-extension'); ?>
                    
134                        <a target="_gscript" href="<?php echo($scriptLink) ?>"><?php echo htmlspecialchars(__('THIS SCRIPT FILE', 'contact-form-7-to-database-extension')); ?></a>
                    
135                        <?php _e('and <strong>paste</strong> it into the Google script editor', 'contact-form-7-to-database-extension'); ?></p>
                    
168                        <br/><?php echo htmlspecialchars(__('Enter in the cell the formula:', 'contact-form-7-to-database-extension')); ?>
                    
169                        <br/><span style="background-color: yellow"><code><?php echo("=cfdbdata(\"$siteUrl\", \"$formName\", \"$userName\", \"&lt;password&gt;\")") ?></code></span>
                    
170                        <br/><?php _e('Replace <strong>&lt;password&gt;</strong> with your <em>WordPress</em> password', 'contact-form-7-to-database-extension'); ?>
                    
175                    <p>
                    
176                        <a href="<?php echo $scBuilderPageUrl ?>" target="sc"><?php echo htmlspecialchars(__('Customize the output by creating a Google Spreadsheet Function call with additional options', 'contact-form-7-to-database-extension')); ?></a>
                    
177                    </p>
                    
                
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;
                    
                
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();
                    
                
functions.php https://gitlab.com/VTTE/sitios-vtte | PHP | 334 lines
                    
1<?php
                    
2namespace GuzzleHttp;
                    
48        default:
                    
49            ob_start();
                    
50            var_dump($input);
                    
91
                    
92    return fopen('php://output', 'w');
                    
93}
                    
139        }
                    
140        $defaultAgent .= ' PHP/' . PHP_VERSION;
                    
141    }
                    
298 * @throws Exception\InvalidArgumentException if the JSON cannot be decoded.
                    
299 * @link http://www.php.net/manual/en/function.json-decode.php
                    
300 */
                    
321 * @throws Exception\InvalidArgumentException if the JSON cannot be encoded.
                    
322 * @link http://www.php.net/manual/en/function.json-encode.php
                    
323 */
                    
                
form.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 411 lines
                    
1<?php
                    
2/**
                    
92	public function render() {
                    
93		ob_start();
                    
94		try {
                    
                
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
                    
                
SimpleProcessTest.php https://gitlab.com/matijabelec/bigpandadev | 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
                    
                
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
                    
                
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'
                    
                
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
                    
                
class-wp-customize-panel.php https://gitlab.com/webkod3r/tripolis | 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>
                    
                
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>
                    
                
Debug.php https://gitlab.com/randydanniswara/website | PHP | 142 lines
                    
1<?php
                    
2/*
                    
61
                    
62        ob_start();
                    
63        var_dump($var);
                    
                
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;
                    
                
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();
                    
                
HtmlDumperTest.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 153 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);
                    
43        $var['file'] = htmlspecialchars($var['file'], ENT_QUOTES, 'UTF-8');
                    
44        $intMax = PHP_INT_MAX;
                    
45        preg_match('/sf-dump-\d+/', $out, $dumpId);
                    
                
CBaseController.php https://gitlab.com/Griffolion/Final-Year-Project | 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);
                    
                
smarty_cacheresource.php https://gitlab.com/staging06/myproject | PHP | 442 lines
                    
1<?php
                    
2/**
                    
82        if ($_template->cached->handler->process($_template)) {
                    
83            ob_start();
                    
84            $_template->properties['unifunc']($_template);
                    
                
class-taxonomy.php https://gitlab.com/ngochuynh1991/cuacuon | 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.
                    
                
DebugClassLoaderTest.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 296 lines
                    
1<?php
                    
2
                    
17
                    
18class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
                    
19{
                    
63    {
                    
64        if (PHP_VERSION_ID >= 70000) {
                    
65            $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
                    
70
                    
71        ob_start();
                    
72
                    
87        // the ContextErrorException must not be loaded to test the workaround
                    
88        // for https://bugs.php.net/65322.
                    
89        if (class_exists('Symfony\Component\Debug\Exception\ContextErrorException', false)) {
                    
113            $this->assertStringStartsWith(__FILE__, $exception->getFile());
                    
114            if (PHP_VERSION_ID < 70000) {
                    
115                $this->assertRegExp('/^Runtime Notice: Declaration/', $exception->getMessage());
                    
                
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			)
                    
                
helper-functions.php https://gitlab.com/ripontopu/uswo | PHP | 352 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
221
                    
222	ob_start();
                    
223	// Get cmb form
                    
312	/**
                    
313	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
314	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
show_playlist.inc.php https://gitlab.com/x33n/ampache | PHP | 123 lines
                    
52            <a onclick="submitNewItemsOrder('<?php echo $playlist->id; ?>', 'reorder_playlist_table', 'track_',
                    
53                                            '<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=set_track_numbers&playlist_id=<?php echo $playlist->id; ?>', 'refresh_playlist_songs')">
                    
54                <?php echo UI::get_icon('save', T_('Save Tracks Order')); ?>
                    
58        <li>
                    
59            <a href="<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=sort_tracks&playlist_id=<?php echo $playlist->id; ?>"><?php echo UI::get_icon('sort',_('Sort Tracks by Artist, Album, Song')); ?>
                    
60            &nbsp;&nbsp;<?php echo T_('Sort Tracks by Artist, Album, Song'); ?></a>
                    
62        <li>
                    
63            <a href="<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=remove_duplicates&playlist_id=<?php echo $playlist->id; ?>"><?php echo UI::get_icon('wand',_('Remove duplicates')); ?>
                    
64            &nbsp;&nbsp;<?php echo T_('Remove duplicates'); ?></a>
                    
68        <li>
                    
69            <a rel="nohtml" href="<?php echo AmpConfig::get('web_path'); ?>/batch.php?action=playlist&amp;id=<?php echo $playlist->id; ?>">
                    
70                <?php echo UI::get_icon('batch_download', T_('Batch Download')); ?>
                    
104        <li>
                    
105            <a href="javascript:NavigateTo('<?php echo AmpConfig::get('web_path'); ?>/playlist.php?action=delete_playlist&playlist_id=<?php echo $playlist->id; ?>');" onclick="return confirm('<?php echo T_('Do you really want to delete the playlist?'); ?>');">
                    
106                <?php echo UI::get_icon('delete'); ?>
                    
                
resource.php https://gitlab.com/jonnialva90/iridium-browser | 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
                    
                
Helper.php https://gitlab.com/ntphuc/BackendFeedy | PHP | 303 lines
                    
1<?php
                    
2
                    
95
                    
96        ob_start() && extract($data, EXTR_SKIP);
                    
97
                    
                
widgets.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | 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
                    
                
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
                    
                
smarty_internal_parsetree.php https://gitlab.com/oytunistrator/jobberbase | PHP | 393 lines
                    
85        $var = sprintf('$_tmp%d', ++Smarty_Internal_Templateparser::$prefix_number);
                    
86        $this->parser->compiler->prefix_code[] = sprintf('<?php ob_start();?>%s<?php %s=ob_get_clean();?>', $this->data, $var);
                    
87
                    
118     */
                    
119    public function to_smarty_php()
                    
120    {
                    
188            } else {
                    
189                $more_php = $subtree->to_smarty_php();
                    
190            }
                    
191
                    
192            $code .= $more_php;
                    
193
                    
292            if (substr($code, -1) == '<') {
                    
293                $subtree = $this->subtrees[$key]->to_smarty_php();
                    
294                if (substr($subtree, 0, 1) == '?') {
                    
                
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.
                    
                
class.redux_filesystem.php https://gitlab.com/websumon/tosnib | PHP | 285 lines
                    
1<?php
                    
2
                    
30                    'type'    => 'error',
                    
31                    'msg'     => '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please check your permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%s" target="_blank">outlined here</a>.', 'redux-framework' ), 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' ),
                    
32                    'id'      => 'redux-wp-login',
                    
59                    echo '<div class="wrap"><div class="error"><p>';
                    
60                    echo '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please ensure that <code>%1s</code> has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%2s" target="_blank">outlined here</a>.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' );
                    
61                    echo '</p></div><h2></h2>' . '</div>';
                    
71
                    
72                ob_start();
                    
73
                    
105                if ( self::$direct === null ) {
                    
106                    require_once ABSPATH . '/wp-admin/includes/class-wp-filesystem-base.php';
                    
107                    require_once ABSPATH . '/wp-admin/includes/class-wp-filesystem-direct.php';
                    
269                        'type'    => 'error',
                    
270                        'msg'     => '<strong>' . __( 'File Permission Issues', 'redux-framework' ) . '</strong><br/>' . sprintf( __( 'We were unable to modify required files. Please ensure that <code>%1s</code> has the proper read-write permissions, or modify your wp-config.php file to contain your FTP login credentials as <a href="%2s" target="_blank">outlined here</a>.', 'redux-framework' ), Redux_Helpers::cleanFilePath( trailingslashit( WP_CONTENT_DIR ) ) . '/uploads/', 'https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants' ),
                    
271                        'id'      => 'redux-wp-login',
                    
                
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) {
                    
                
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;}
                    
                
class-wc-widget-top-rated-products.php https://gitlab.com/webkod3r/tripolis | 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			}
                    
                
cron.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 409 lines
                    
1<?php
                    
2/**
                    
231
                    
232		ob_start();
                    
233		wp_redirect( add_query_arg('doing_wp_cron', $doing_wp_cron, stripslashes($_SERVER['REQUEST_URI'])) );
                    
239
                    
240		WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
                    
241		return;
                    
246
                    
247	$cron_url = site_url( 'wp-cron.php?doing_wp_cron=' . $doing_wp_cron );
                    
248	wp_remote_post( $cron_url, array( 'timeout' => 0.01, 'blocking' => false, 'sslverify' => apply_filters( 'https_local_ssl_verify', true ) ) );
                    
259
                    
260	// Prevent infinite loops caused by lack of wp-cron.php
                    
261	if ( strpos($_SERVER['REQUEST_URI'], '/wp-cron.php') !== false || ( defined('DISABLE_WP_CRON') && DISABLE_WP_CRON ) )
                    
                
Util.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 197 lines
                    
1<?php
                    
2
                    
25
                    
26		ob_start();
                    
27		$wp_styles->do_items( ( array ) $handles );
                    
                
comments.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 159 lines
                    
9		<div id="loading" style="display:none">
                    
10			<input type="hidden" id="reload_url" value="<?php echo esc_url(home_url('index.php?social_controller=auth&social_action=reload_form&redirect_to='.get_permalink(get_the_ID()).'&post_id='.get_the_ID())); ?>" />
                    
11			<?php _e('Logging In...', 'social'); ?>
                    
37	<div id="social-tabs-comments">
                    
38		<?php 
                    
39		if (have_comments()): 
                    
89		<ul class="social-nav social-clearfix">
                    
90			<li class="social-all social-tab-main<?php echo (!isset($_GET['social_tab']) ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-all"><span><?php comments_number(__('0 Replies', 'social'), __('1 Reply', 'social'), __('% Replies', 'social')); ?></span></a></li>
                    
91			<li class="social-wordpress<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'wordpress') ? ' social-current-tab' : ''); ?>"><a href="#" rel="wordpress"><span><?php printf(_n('1 Comment', '%1$s Comments', (isset($groups['wordpress']) ? $groups['wordpress'] : 0), 'social'), (isset($groups['wordpress']) ? $groups['wordpress'] : 0)); ?></span></a></li>
                    
91			<li class="social-wordpress<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'wordpress') ? ' social-current-tab' : ''); ?>"><a href="#" rel="wordpress"><span><?php printf(_n('1 Comment', '%1$s Comments', (isset($groups['wordpress']) ? $groups['wordpress'] : 0), 'social'), (isset($groups['wordpress']) ? $groups['wordpress'] : 0)); ?></span></a></li>
                    
92			<li class="social-twitter<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-twitter') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-twitter"><span><?php printf(_n('1 Tweet', '%1$s Tweets', (isset($groups['social-twitter']) ? $groups['social-twitter'] : 0), 'social'), (isset($groups['social-twitter']) ? $groups['social-twitter'] : 0)); ?></span></a></li>
                    
93			<li class="social-facebook<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-facebook') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-facebook"><span><?php printf(_n('1 Facebook', '%1$s Facebook', (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0), 'social'), (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0)); ?></span></a></li>
                    
93			<li class="social-facebook<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-facebook') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-facebook"><span><?php printf(_n('1 Facebook', '%1$s Facebook', (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0), 'social'), (isset($groups['social-facebook']) ? $groups['social-facebook'] : 0)); ?></span></a></li>
                    
94			<li class="social-pingback<?php echo ((isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-pingback') ? ' social-current-tab' : ''); ?>"><a href="#" rel="social-pingback"><span><?php printf(_n('1 Pingback', '%1$s Pingbacks', (isset($groups['pingback']) ? $groups['pingback'] : 0), 'social'), (isset($groups['pingback']) ? $groups['pingback'] : 0)); ?></span></a></li>
                    
95		</ul>
                    
                
download_3_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 276 lines
                    
1<?php ob_start();?>
                    
2<?php session_start();
                    
5
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_3_2 WHERE roll='$roll'";
                    
30?>
                    
31<?php
                    
32	 include('connect.php');
                    
43	?>
                    
44	<?php 
                    
45	if($sub1>=80){$result1=4.00;}
                    
176	?>
                    
177<?php
                    
178require("fpdf/fpdf.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 ) ) {
                    
                
comments.php https://gitlab.com/webkod3r/tripolis | 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
                    
                
helper-functions.php https://gitlab.com/websumon/tosnib | PHP | 308 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
221
                    
222	ob_start();
                    
223	// Get cmb form
                    
                
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);
                    
                
PMA_SetupIndex_test.php https://gitlab.com/luyxtran264/myproject | PHP | 397 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
3/**
                    
4 * tests for methods under setup/lib/index.lib.php
                    
5 *
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
14
                    
15require_once 'libraries/sanitizing.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
16require_once 'libraries/config/config_functions.lib.php';
                    
17require_once 'setup/lib/index.lib.php';
                    
18require_once 'libraries/sanitizing.lib.php';
                    
20/**
                    
21 * tests for methods under setup/lib/index.lib.php
                    
22 *
                    
                
Reporting.php https://gitlab.com/yousafsyed/easternglamor | 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    {
                    
                
em-event-post.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 289 lines
                    
1<?php
                    
2/**
                    
39	/**
                    
40	 * Overrides the default post format of an event and can display an event as a page, which uses the page.php template.
                    
41	 * @param string $template
                    
46		if( !locate_template('single-'.EM_POST_TYPE_EVENT.'.php') && $post->post_type == EM_POST_TYPE_EVENT ){
                    
47			$template = locate_template(array('page.php','index.php'),false);
                    
48		}
                    
74					$EM_Event = em_get_event($post);
                    
75					ob_start();
                    
76					em_locate_template('templates/event-single.php',true);
                    
                
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();?>
                    
                
cron.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 464 lines
                    
1<?php
                    
2/**
                    
77	$event = (object) array( 'hook' => $hook, 'timestamp' => $timestamp, 'schedule' => $recurrence, 'args' => $args, 'interval' => $schedules[$recurrence]['interval'] );
                    
78	/** This filter is documented in wp-includes/cron.php */
                    
79	$event = apply_filters( 'schedule_event', $event );
                    
250
                    
251		ob_start();
                    
252		wp_redirect( add_query_arg( 'doing_wp_cron', $doing_wp_cron, wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
                    
258
                    
259		WP_DEBUG ? include_once( ABSPATH . 'wp-cron.php' ) : @include_once( ABSPATH . 'wp-cron.php' );
                    
260		return;
                    
285	$cron_request = apply_filters( 'cron_request', array(
                    
286		'url'  => add_query_arg( 'doing_wp_cron', $doing_wp_cron, site_url( 'wp-cron.php' ) ),
                    
287		'key'  => $doing_wp_cron,
                    
290			'blocking'  => false,
                    
291			/** This filter is documented in wp-includes/class-http.php */
                    
292			'sslverify' => apply_filters( 'https_local_ssl_verify', true )
                    
                
wysiwyg.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 97 lines
                    
1<?php
                    
2// Prevent loading this file directly
                    
52			// Using output buffering because wp_editor() echos directly
                    
53			ob_start();
                    
54
                    
                
class-lp-email-rejected-course.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 83 lines
                    
1<?php
                    
2
                    
17
                    
18		$this->template_html  = 'emails/rejected-course.php';
                    
19		$this->template_plain = 'emails/plain/rejected-course.php';
                    
28	function admin_options( $obj ) {
                    
29		$view = learn_press_get_admin_view( 'settings/emails/rejected-course.php' );
                    
30		include_once $view;
                    
59	function get_content_html() {
                    
60		ob_start();
                    
61		learn_press_get_template( $this->template_html, $this->get_template_data( 'html' ) );
                    
65	function get_content_plain() {
                    
66		ob_start();
                    
67		learn_press_get_template( $this->template_plain, $this->get_template_data( 'plain' ) );
                    
                
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)
                    
                
utils.php https://gitlab.com/aristath/maera | PHP | 174 lines
                    
1<?php
                    
2/**
                    
21
                    
22	ob_start();
                    
23	$function( $args );
                    
82        // parameters and trigger errors exactly as the built-in array_column()
                    
83        // does in PHP 5.5.
                    
84        $argc = func_num_args();
                    
                
index.php https://gitlab.com/seckmaster/Cloud-password | PHP | 114 lines
                    
1<?php
                    
2	// Start the session
                    
9
                    
10	ob_start();
                    
11
                    
16
                    
17	include "../database.php";
                    
18?>
                    
50			</a>
                    
51			<a href="login/index.php" class="txt">Sign Up</a>
                    
52			<a href="about.php" class="txt">About</a>
                    
                
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
                    
                
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);
                    
                
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>
                    
                
PageCache.php https://gitlab.com/Sang240892/ecommerce | PHP | 270 lines
                    
1<?php
                    
2/**
                    
27 *
                    
28 * ```php
                    
29 * public function behaviors()
                    
74     *
                    
75     * ```php
                    
76     * [
                    
94     *
                    
95     * ```php
                    
96     * [
                    
162        $response = Yii::$app->getResponse();
                    
163        ob_start();
                    
164        ob_implicit_flush(false);
                    
                
omnisearch-core.php https://gitlab.com/ibnukipa/cakra | PHP | 228 lines
                    
129					<?php foreach( $results as $label => $result ) : ?>
                    
130						<a href="#result-<?php echo sanitize_title( $label ); ?>"><?php echo esc_html( $label ); ?></a>
                    
131					<?php endforeach; ?>
                    
201
                    
202		<form action="<?php echo esc_url( admin_url( 'admin.php' ) ); ?>" method="get" class="<?php echo $form_class; ?>" id="<?php echo $form_id; ?>">
                    
203			<input type="hidden" name="page" value="omnisearch" />
                    
203			<input type="hidden" name="page" value="omnisearch" />
                    
204			<input name="s" type="search" class="<?php echo $search_class; ?>" id="<?php echo $search_id; ?>" value="<?php echo $search_value; ?>" placeholder="<?php echo $search_placeholder; ?>" />
                    
205			<?php if ( $alternate_submit ) : ?>
                    
205			<?php if ( $alternate_submit ) : ?>
                    
206				<button type="submit" class="<?php echo $submit_class; ?>"><span><?php echo $submit_value; ?></span></button>
                    
207			<?php else : ?>
                    
207			<?php else : ?>
                    
208				<input type="submit" class="<?php echo $submit_class; ?>" value="<?php echo $submit_value; ?>" />
                    
209			<?php endif; ?>
                    
                
VarCloner.php https://gitlab.com/kimting254/wbms | PHP | 300 lines
                    
1<?php
                    
2
                    
143                    case 'object':
                    
144                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
145                            $stub = new Stub();
                    
159                                } else {
                    
160                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
161                                }
                    
276        $obj = (object) array();
                    
277        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
278        self::$hashMask = -1;
                    
282        } else {
                    
283            // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below
                    
284            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
284            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
285            foreach (debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS : false) as $frame) {
                    
286                if (isset($frame['function'][0]) && !isset($frame['class']) && 'o' === $frame['function'][0] && in_array($frame['function'], $obFuncs)) {
                    
                
PageCache.php https://gitlab.com/aintenebris/memoria | PHP | 270 lines
                    
1<?php
                    
2/**
                    
74     *
                    
75     * ```php
                    
76     * [
                    
162        $response = Yii::$app->getResponse();
                    
163        ob_start();
                    
164        ob_implicit_flush(false);
                    
                
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();?>
                    
                
class-walker-nav-menu-edit.php https://gitlab.com/websumon/tosnib | PHP | 241 lines
                    
143						</span>
                    
144						<a class="item-edit" id="edit-<?php echo $item_id; ?>" title="<?php esc_attr_e('Edit Menu Item'); ?>" href="<?php
                    
145							echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? admin_url( 'nav-menus.php' ) : add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) );
                    
155							<?php _e( 'URL' ); ?><br />
                    
156							<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 ); ?>" />
                    
157						</label>
                    
168						<?php _e( 'Title Attribute' ); ?><br />
                    
169						<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 ); ?>" />
                    
170					</label>
                    
173					<label for="edit-menu-item-target-<?php echo $item_id; ?>">
                    
174						<input type="checkbox" id="edit-menu-item-target-<?php echo $item_id; ?>" value="_blank" name="menu-item-target[<?php echo $item_id; ?>]"<?php checked( $item->target, '_blank' ); ?> />
                    
175						<?php _e( 'Open link in a new tab' ); ?>
                    
224						'delete-menu_item_' . $item_id
                    
225					); ?>"><?php _e( 'Remove' ); ?></a> <span class="meta-sep hide-if-no-js"> | </span> <a class="item-cancel submitcancel hide-if-no-js" id="cancel-<?php echo $item_id; ?>" href="<?php echo esc_url( add_query_arg( array( 'edit-menu-item' => $item_id, 'cancel' => time() ), admin_url( 'nav-menus.php' ) ) );
                    
226						?>#menu-item-settings-<?php echo $item_id; ?>"><?php _e('Cancel'); ?></a>
                    
                
functions.php https://gitlab.com/ealexis.t/trends | PHP | 330 lines
                    
1<?php
                    
2namespace GuzzleHttp;
                    
49        default:
                    
50            ob_start();
                    
51            var_dump($input);
                    
92
                    
93    return fopen('php://output', 'w');
                    
94}
                    
140        }
                    
141        $defaultAgent .= ' PHP/' . PHP_VERSION;
                    
142    }
                    
296 * @throws \InvalidArgumentException if the JSON cannot be decoded.
                    
297 * @link http://www.php.net/manual/en/function.json-decode.php
                    
298 */
                    
318 * @throws \InvalidArgumentException if the JSON cannot be encoded.
                    
319 * @link http://www.php.net/manual/en/function.json-encode.php
                    
320 */
                    
                
smarty_internal_parsetree.php https://gitlab.com/staging06/myproject | PHP | 394 lines
                    
93        $var = sprintf('$_tmp%d', ++Smarty_Internal_Templateparser::$prefix_number);
                    
94        $this->parser->compiler->prefix_code[] = sprintf('<?php ob_start();?>%s<?php %s=ob_get_clean();?>', $this->data, $var);
                    
95
                    
125     */
                    
126    public function to_smarty_php()
                    
127    {
                    
194            } else {
                    
195                $more_php = $subtree->to_smarty_php();
                    
196            }
                    
197
                    
198            $code .= $more_php;
                    
199
                    
296            if (substr($code, - 1) == '<') {
                    
297                $subtree = $this->subtrees[$key]->to_smarty_php();
                    
298                if (substr($subtree, 0, 1) == '?') {
                    
                
Controller.php https://gitlab.com/kiliman6aro/core | PHP | 145 lines
                    
1<?php
                    
2
                    
80    {
                    
81        ob_start();
                    
82        ob_implicit_flush(false);
                    
95        //присвоить расширение по умолчанию если его нет
                    
96        $file = $file.'.php';
                    
97
                    
                
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>
                    
                
gf_wysiwyg_class.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 229 lines
                    
1<?php
                    
2
                    
101      </script>
                    
102      <?php
                    
103    }
                    
122          
                    
123          ob_start();
                    
124          wp_editor('', $input_id, $args);
                    
160            <label for="field_enable_wysiwyg" class="inline">
                    
161                <?php _e("Enable WYSIWYG", "gravityforms"); ?>
                    
162            </label>
                    
162            </label>
                    
163            <?php gform_tooltip("form_field_enable_wysiwyg") ?><br />
                    
164        </li>
                    
164        </li>
                    
165      <?php
                    
166      }
                    
                
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);";
                    
                
class-woo-product-slider.php https://gitlab.com/webkod3r/tripolis | PHP | 217 lines
                    
1<?php
                    
2
                    
140							if ( $show_price ) {
                    
141								ob_start();
                    
142								woocommerce_get_template( 'loop/price.php' );
                    
                
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';
                    
                
class-wc-widget-products.php https://gitlab.com/webkod3r/tripolis | PHP | 190 lines
                    
1<?php
                    
2
                    
168
                    
169		ob_start();
                    
170
                    
177				$products->the_post();
                    
178				wc_get_template( 'content-widget-product.php', array( 'show_rating' => false ) );
                    
179			}
                    
                
AuthSub.php https://gitlab.com/luisrepo/ClienteWS | PHP | 246 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: AuthSub.php 23775 2011-03-01 17:25:24Z ralph $
                    
22 */
                    
26 */
                    
27require_once 'Zend/Gdata/HttpClient.php';
                    
28
                    
31 */
                    
32require_once 'Zend/Version.php';
                    
33
                    
120        } catch (Zend_Http_Client_Exception $e) {
                    
121            require_once 'Zend/Gdata/App/HttpException.php';
                    
122            throw new Zend_Gdata_App_HttpException($e->getMessage(), $e);
                    
136        } else {
                    
137            require_once 'Zend/Gdata/App/AuthException.php';
                    
138            throw new Zend_Gdata_App_AuthException(
                    
                
Run.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 408 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Whoops - php errors for cool kids
                    
4 * @author Filipe Dobreira <http://github.com/filp>
                    
110            // Workaround PHP bug 42098
                    
111            // https://bugs.php.net/bug.php?id=42098
                    
112            class_exists("\\Whoops\\Exception\\ErrorException");
                    
241        // or return it silently.
                    
242        ob_start();
                    
243
                    
295    /**
                    
296     * Converts generic PHP errors to \ErrorException
                    
297     * instances, before passing them off to be handled.
                    
382                // First argument must be a real header.
                    
383                // If it is empty, PHP will ignore the third argument.
                    
384                // If it is invalid, such as a single space, Apache will handle it well,
                    
                
smarty_internal_compile_include.php https://gitlab.com/ilya.webcity/anna | PHP | 215 lines
                    
1<?php
                    
2/**
                    
154                        // remove header code
                    
155                        $compiled_code = preg_replace("/(<\?php \/\*%%SmartyHeaderCode:{$tpl->properties['nocache_hash']}%%\*\/(.+?)\/\*\/%%SmartyHeaderCode%%\*\/\?>\n)/s", '', $compiled_code);
                    
156                        if ($tpl->has_nocache_code) {
                    
188            $_hash = $compiler->smarty->merged_templates_func[$tpl_name]['nocache_hash'];
                    
189            $_output = "<?php /*  Call merged included template \"" . $tpl_name . "\" */\n";
                    
190            $_output .= "\$_tpl_stack[] = \$_smarty_tpl;\n";
                    
192            if (isset($_assign)) {
                    
193                $_output .= 'ob_start(); ';
                    
194            }
                    
205        if (isset($_assign)) {
                    
206            $_output = "<?php \$_smarty_tpl->tpl_vars[$_assign] = new Smarty_variable(\$_smarty_tpl->getSubTemplate ($include_file, $_cache_id, $_compile_id, $_caching, $_cache_lifetime, $_vars, $_parent_scope));?>\n";;
                    
207        } else {
                    
207        } else {
                    
208            $_output = "<?php echo \$_smarty_tpl->getSubTemplate ($include_file, $_cache_id, $_compile_id, $_caching, $_cache_lifetime, $_vars, $_parent_scope);?>\n";
                    
209        }
                    
                
Util.php https://gitlab.com/stevie007/cinostaging | 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" );
                    
                
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";
                    
                
VarCloner.php https://gitlab.com/hatemdigify/digifyblog | PHP | 300 lines
                    
1<?php
                    
2
                    
143                    case 'object':
                    
144                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
145                            $stub = new Stub();
                    
159                                } else {
                    
160                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
161                                }
                    
276        $obj = (object) array();
                    
277        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
278        self::$hashMask = -1;
                    
282        } else {
                    
283            // check if we are nested in an output buffering handler to prevent a fatal error with ob_start() below
                    
284            $obFuncs = array('ob_clean', 'ob_end_clean', 'ob_flush', 'ob_end_flush', 'ob_get_contents', 'ob_get_flush');
                    
291            if (!empty($frame['line'])) {
                    
292                ob_start();
                    
293                debug_zval_dump($obj);
                    
                
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;
                    
                
download_3_1.php https://gitlab.com/optimistic_mamun/project1 | PHP | 277 lines
                    
1<?php ob_start();?>
                    
2<?php session_start();
                    
5
                    
6	include('connect.php');
                    
7	 $query = "SELECT * FROM ice_3_1 WHERE roll='$roll'";
                    
31?>
                    
32<?php
                    
33	 include('connect.php');
                    
44	?>
                    
45	<?php 
                    
46	if($sub1>=80){$result1=4.00;}
                    
177	?>
                    
178<?php
                    
179require("fpdf/fpdf.php");
                    
                
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-date-time-control.php https://gitlab.com/VTTE/sitios-vtte | PHP | 282 lines
                    
128				<div class="day-fields clear">
                    
129					<?php ob_start(); ?>
                    
130					<label for="{{ idPrefix }}date-time-month" class="screen-reader-text"><?php esc_html_e( 'Month' ); ?></label>
                    
142					</select>
                    
143					<?php $month_field = trim( ob_get_clean() ); ?>
                    
144
                    
144
                    
145					<?php ob_start(); ?>
                    
146					<label for="{{ idPrefix }}date-time-day" class="screen-reader-text"><?php esc_html_e( 'Day' ); ?></label>
                    
149
                    
150					<?php ob_start(); ?>
                    
151					<label for="{{ idPrefix }}date-time-year" class="screen-reader-text"><?php esc_html_e( 'Year' ); ?></label>
                    
154
                    
155					<?php printf( $date_format, $year_field, $month_field, $day_field ); ?>
                    
156				</div>
                    
                
class-wp-customize-panel.php https://gitlab.com/VTTE/sitios-vtte | PHP | 394 lines
                    
1<?php
                    
2/**
                    
257	final public function get_content() {
                    
258		ob_start();
                    
259		$this->maybe_render();
                    
324		?>
                    
325		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
326			<?php $this->content_template(); ?>
                    
327		</script>
                    
328		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
329			<?php $this->render_template(); ?>
                    
330		</script>
                    
331		<?php
                    
332	}
                    
348				{{ data.title }}
                    
349				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
350			</h3>
                    
                
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					])?>
                    
                
page_2_2.php https://gitlab.com/optimistic_mamun/project1 | PHP | 270 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_2_2 WHERE roll='$roll'";
                    
33	?>
                    
34	<?php
                    
35	 include('connect.php');
                    
46	?>
                    
47	<?php
                    
48	?>
                    
48	?>
                    
49	<?php 
                    
50	if($sub1>=80){$result1=4.00;}
                    
                
index.ajax.php https://gitlab.com/x33n/ampache | PHP | 308 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
32        if (count($albums) AND is_array($albums)) {
                    
33            ob_start();
                    
34            require_once AmpConfig::get('prefix') . '/templates/show_random_albums.inc.php';
                    
41                if (count($catalogs) == 0) {
                    
42                    $results['random_selection'] = sprintf(T_('No catalog configured yet. To start streaming your media, you now need to %s add a catalog %s'), '<a href="' . AmpConfig::get('web_path') . '/admin/catalog.php?action=show_add_catalog">', '</a>.<br /><br />');
                    
43                }
                    
49        if (count($videos) AND is_array($videos)) {
                    
50            ob_start();
                    
51            require_once AmpConfig::get('prefix') . '/templates/show_random_videos.inc.php';
                    
65            }
                    
66            ob_start();
                    
67            require_once AmpConfig::get('prefix') . '/templates/show_artist_info.inc.php';
                    
85            }
                    
86            ob_start();
                    
87            require_once AmpConfig::get('prefix') . '/templates/show_recommended_artists.inc.php';
                    
                
localplay.ajax.php https://gitlab.com/x33n/ampache | PHP | 201 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
43        // We should also refesh the sidebar
                    
44        ob_start();
                    
45        require_once AmpConfig::get('prefix') . '/templates/sidebar.inc.php';
                    
75                // We actually want to refresh something here
                    
76                ob_start();
                    
77                $objects = $localplay->get();
                    
77                $objects = $localplay->get();
                    
78                require_once AmpConfig::get('prefix') . '/templates/show_localplay_status.inc.php';
                    
79                $results['localplay_status'] = ob_get_contents();
                    
83                $localplay->delete_all();
                    
84                ob_start();
                    
85                $browse = new Browse();
                    
96                $objects = $localplay->get();
                    
97                ob_start();
                    
98                $browse = new Browse();
                    
                
playlist.ajax.php https://gitlab.com/x33n/ampache | PHP | 148 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
40        $object_ids = $playlist->get_items();
                    
41        ob_start();
                    
42        $browse = new Browse();
                    
130            $object_ids = $playlist->get_items();
                    
131            ob_start();
                    
132            require_once AmpConfig::get('prefix') . '/templates/show_playlist.inc.php';
                    
135            debug_event('playlist', 'Items added successfully!', '5');
                    
136            ob_start();
                    
137            display_notification(T_('Added to playlist'));
                    
                
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
                    
                
class-lp-quiz-factory.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 255 lines
                    
1<?php
                    
2
                    
133					$quiz->current_question = $question;
                    
134					ob_start();
                    
135					$question->render();
                    
                
InlineFragmentRendererTest.php https://gitlab.com/wormen/client.mastodont-engine | PHP | 239 lines
                    
1<?php
                    
2
                    
24
                    
25class InlineFragmentRendererTest extends \PHPUnit_Framework_TestCase
                    
26{
                    
176            ->will($this->returnValue(function () {
                    
177                ob_start();
                    
178                echo 'bar';
                    
193        // simulate a main request with output buffering
                    
194        ob_start();
                    
195        echo 'Foo';
                    
                
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)
                    
                
Template.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 166 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
149            );
                    
150            ob_start();
                    
151            if (file_exists($template)) {
                    
                
class-woo-featured-products-slider.php https://gitlab.com/webkod3r/tripolis | PHP | 193 lines
                    
1<?php
                    
2class FusionSC_WooFeaturedProductsSlider {
                    
112						if ( $show_price ) {
                    
113							ob_start();
                    
114							woocommerce_get_template( 'loop/price.php' );
                    
                
changelog.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 160 lines
                    
53$tracker_url_patch = 'https://sourceforge.net/p/phpmyadmin/patches/\\1/';
                    
54$github_url = 'https://github.com/phpmyadmin/phpmyadmin/';
                    
55$faq_url = 'https://docs.phpmyadmin.net/en/latest/faq.html';
                    
78    '/(?:rfe|feature)\s*#?([0-9]{6,})/i'
                    
79    => '<a href="url.php?url=https://sourceforge.net/support/tracker.php?aid=\\1">RFE #\\1</a>',
                    
80
                    
86    '/FAQ ([0-9]+)\.([0-9a-z]+)/i'
                    
87    => '<a href="url.php?url=' . $faq_url . '#faq\\1-\\2">FAQ \\1.\\2</a>',
                    
88
                    
90    '/bug\s*#?([0-9]{6,})/i'
                    
91    => '<a href="url.php?url=https://sourceforge.net/support/tracker.php?aid=\\1">bug #\\1</a>',
                    
92
                    
117    '/(PMASA-[0-9]+-[0-9]+)/'
                    
118    => '<a href="url.php?url=https://www.phpmyadmin.net/security/\\1/">\\1</a>',
                    
119
                    
                
defaults.php https://gitlab.com/Red54/core | PHP | 283 lines
                    
1<?php
                    
2/**
                    
67
                    
68		$themePath = OC::$SERVERROOT . '/themes/' . OC_Util::getTheme() . '/defaults.php';
                    
69		if (file_exists($themePath)) {
                    
69		if (file_exists($themePath)) {
                    
70			// prevent defaults.php from printing output
                    
71			ob_start();
                    
267		}
                    
268		return $this->getDocBaseUrl() . '/server/' . $this->defaultDocVersion . '/go.php?to=' . $key;
                    
269	}
                    
                
em-ical.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 56 lines
                    
1<?php
                    
2	/**
                    
34				$EM_Event = em_get_event($event_id);
                    
35				ob_start();
                    
36				em_locate_template('templates/ical-event.php', true);
                    
45	function em_ical_events(){
                    
46		ob_start();
                    
47		em_locate_template('templates/ical.php', true);
                    
                
ZF1.php https://gitlab.com/merial/WETE_Ryhma3 | PHP | 144 lines
                    
1<?php
                    
2namespace Codeception\Lib\Connector;
                    
9{
                    
10    use Shared\PhpSuperGlobalsConverter;
                    
11
                    
60        $uri = $request->getUri();
                    
61        $queryString = parse_url($uri, PHP_URL_QUERY);
                    
62        $requestUri = parse_url($uri, PHP_URL_PATH);
                    
74
                    
75        ob_start();
                    
76        try {
                    
                
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            }            
                    
                
class-walker-comment.php https://gitlab.com/websumon/tosnib | PHP | 355 lines
                    
232?>
                    
233		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
                    
234			<div class="comment-body">
                    
234			<div class="comment-body">
                    
235				<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
                    
236			</div>
                    
260?>
                    
261		<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
                    
262		<?php if ( 'div' != $args['style'] ) : ?>
                    
276				/* translators: 1: comment date, 2: comment time */
                    
277				printf( __( '%1$s at %2$s' ), get_comment_date( '', $comment ),  get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)' ), '&nbsp;&nbsp;', '' );
                    
278			?>
                    
313?>
                    
314		<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
                    
315			<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
                    
                
init.php https://gitlab.com/x33n/ampache | PHP | 261 lines
                    
43if (!file_exists($configfile)) {
                    
44    $link = $path . '/install.php';
                    
45} else {
                    
53
                    
54// Verify that a few important but commonly disabled PHP functions exist and
                    
55// that we're on a usable version
                    
106require_once $prefix . '/modules/getid3/getid3.php';
                    
107require_once $prefix . '/modules/phpmailer/class.phpmailer.php';
                    
108require_once $prefix . '/modules/phpmailer/class.smtp.php';
                    
110require_once $prefix . '/modules/musicbrainz/MusicBrainz.php';
                    
111require_once $prefix . '/modules/musicbrainz/Exception.php';
                    
112require_once $prefix . '/modules/musicbrainz/Clients/MbClient.php';
                    
112require_once $prefix . '/modules/musicbrainz/Clients/MbClient.php';
                    
113require_once $prefix . '/modules/musicbrainz/Clients/RequestsMbClient.php';
                    
114require_once $prefix . '/modules/musicbrainz/Artist.php';
                    
                
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
                    
                
class-lp-profile.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 139 lines
                    
1<?php
                    
2if ( ! defined( 'ABSPATH' ) ) {
                    
102		public function learn_press_user_info_tab_content( $content, $user ) {
                    
103			ob_start();
                    
104			learn_press_get_template( 'profile/user-info.php', array( 'user' => $user ) );
                    
112		public function learn_press_user_courses_tab_content( $content, $user ) {
                    
113			ob_start();
                    
114			learn_press_get_template( 'profile/user-courses.php', array( 'user' => $user ) );
                    
123		public function learn_press_user_quizzes_tab_content( $content, $user ) {
                    
124			ob_start();
                    
125			learn_press_get_template( 'profile/user-quizzes.php', array( 'content' => $content, 'user' => $user ) );
                    
                
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();
                    
                
StatusCheckTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 108 lines
                    
1<?php
                    
2/**
                    
7
                    
8class StatusCheckTest extends \PHPUnit_Framework_TestCase
                    
9{
                    
28    {
                    
29        $this->indexScript = UPDATER_BP . '/index.php';
                    
30        $this->status = new \Magento\Update\Status();
                    
90    /**
                    
91     * Return response of index.php, according to the request type
                    
92     *
                    
100        }
                    
101        ob_start();
                    
102        include $this->indexScript;
                    
                
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());
                    
                
learnpress-fill-in-blank.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 157 lines
                    
1<?php
                    
2/*
                    
77	static function admin_js_template() {
                    
78		ob_start();
                    
79		?>
                    
97		</tr>
                    
98		<?php
                    
99		return apply_filters( 'learn_press_question_sorting_choice_answer_option_template', ob_get_clean(), __CLASS__ );
                    
113	static function ready() {
                    
114		require_once LP_QUESTION_FILL_IN_BLANK_PATH . '/inc/class-lp-question-fill-in-blank.php';
                    
115	}
                    
                
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 );
                    
                
ProfilerController.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 383 lines
                    
1<?php
                    
2
                    
348    /**
                    
349     * Displays the PHP info.
                    
350     *
                    
354     */
                    
355    public function phpinfoAction()
                    
356    {
                    
362
                    
363        ob_start();
                    
364        phpinfo();
                    
364        phpinfo();
                    
365        $phpinfo = ob_get_clean();
                    
366
                    
366
                    
367        return new Response($phpinfo, 200, array('Content-Type' => 'text/html'));
                    
368    }
                    
                
FragmentCache.php https://gitlab.com/I-NOZex/quiz | PHP | 193 lines
                    
1<?php
                    
2/**
                    
43     *
                    
44     * ```php
                    
45     * [
                    
60     *
                    
61     * ```php
                    
62     * [
                    
90            $this->getView()->cacheStack[] = $this;
                    
91            ob_start();
                    
92            ob_implicit_flush(false);
                    
                
header.php https://gitlab.com/gregtyka/lfmawordpress | PHP | 282 lines
                    
70				<?php if ( '' !== ( $et_email = et_get_option( 'header_email' ) ) ) : ?>
                    
71					<a href="<?php echo esc_attr( 'mailto:' . $et_email ); ?>"><span id="et-info-email"><?php echo esc_html( $et_email ); ?></span></a>
                    
72				<?php endif; ?>
                    
187						<?php if ( 'on' == et_get_option( 'divi_home_link' ) ) { ?>
                    
188							<li <?php if ( is_home() ) echo( 'class="current_page_item"' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Home', 'Divi' ); ?></a></li>
                    
189						<?php }; ?>
                    
213					<a href="<?php echo esc_url( home_url( '/' ) ); ?>">
                    
214						<img src="<?php echo esc_attr( $logo ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>" id="logo" data-height-percentage="<?php echo esc_attr( et_get_option( 'logo_height', '54' ) ); ?>" />
                    
215					</a>
                    
216				</div>
                    
217				<div id="et-top-navigation" data-height="<?php echo esc_attr( et_get_option( 'menu_height', '66' ) ); ?>" data-fixed-height="<?php echo esc_attr( et_get_option( 'minimized_menu_height', '40' ) ); ?>">
                    
218					<?php if ( ! $et_slide_header || is_customize_preview() ) : ?>
                    
230								<?php if ( 'on' == et_get_option( 'divi_home_link' ) ) { ?>
                    
231									<li <?php if ( is_home() ) echo( 'class="current_page_item"' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Home', 'Divi' ); ?></a></li>
                    
232								<?php }; ?>
                    
                
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);
                    
                
exemple10.php https://gitlab.com/gianluca.rigoletti/p12 | PHP | 120 lines
                    
51        <div class="zone1">HTML2PDF</div>
                    
52        <div class="zone2">PHP</div>
                    
53        <div class="zone3">Utilitaire</div>
                    
66    <hr>
                    
67    <pre><?php
                    
68    ob_start();
                    
68    ob_start();
                    
69    readfile(dirname(__FILE__).'/../exemple10.php');
                    
70    echo htmlentities(ob_get_clean());
                    
                
LogPluginTest.php https://gitlab.com/x33n/respond | PHP | 95 lines
                    
1<?php
                    
2
                    
69
                    
70        ob_start();
                    
71        $request->send();
                    
80    {
                    
81        $s = fopen('php://temp', 'r+');
                    
82        $client = new Client();
                    
                
Local.php https://gitlab.com/yousafsyed/easternglamor | PHP | 73 lines
                    
1<?php
                    
2/**
                    
59        // Perform request as is
                    
60        ob_start();
                    
61        $this->server->handle($request);
                    
                
page_4_1.php https://gitlab.com/optimistic_mamun/project1 | PHP | 271 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_1 WHERE roll='$roll'";
                    
34	?>
                    
35	<?php
                    
36	 include('connect.php');
                    
47	?>
                    
48	<?php
                    
49	?>
                    
49	?>
                    
50	<?php 
                    
51	if($sub1>=80){$result1=4.00;}
                    
                
LittleShop.php https://gitlab.com/mustafa-mahmud/bitm-25 | PHP | 122 lines
                    
1<?php
                    
2session_start();
                    
3ob_start();
                    
4require_once ('../classes/application.php');
                    
5$obj_appication = new Application();
                    
55                <ul class="sidebar-nav">
                    
56                    <li class="sidebar-brand"><a href="LittleShop.php">ManSoul Little Shop</a></li>
                    
57                    <li><a href="index.php">ManSoul</a></li>
                    
57                    <li><a href="index.php">ManSoul</a></li>
                    
58                    <li><a href="cart.php">Your Cart</a></li>
                    
59                    <br>
                    
60                <?php while ($row = mysqli_fetch_assoc($query_result)) { ?>
                    
61                        <li><a href="LittleShop.php?option=category&category_id=<?php echo $row['category_id']; ?>"><?php echo $row['category_name']; ?></a></li>
                    
62                <?php } ?>
                    
69
                    
70            <?php
                    
71            if (isset($pages))
                    
                
 

Source

Language