PageRenderTime 599ms queryTime 255ms sortTime 4ms getByIdsTime 52ms findMatchingLines 70ms

100+ results results for 'php ob_end_clean' (599 ms)

Not the results you expected?
theme.php https://gitlab.com/Gashler/dp | PHP | 296 lines
                    
1<?php
                    
2/**
                    
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)) ) {
                    
28		$data = ob_get_contents();
                    
29		ob_end_clean();
                    
30		if ( ! empty($data) ){
                    
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;
                    
41		$data = ob_get_contents();
                    
42		ob_end_clean();
                    
43		if ( ! empty($data) ) {
                    
                
url_helper.php https://gitlab.com/zanderwong/admin | PHP | 523 lines
                    
1<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
304            var l = new Array();
                    
305            <?php
                    
306                $i = 0;
                    
306                $i = 0;
                    
307                foreach ($x as $val){ ?>l[<?php echo $i++; ?>] = '<?php echo $val; ?>';<?php } ?>
                    
308
                    
313            //]]>
                    
314        </script><?php
                    
315
                    
316        $buffer = ob_get_contents();
                    
317        ob_end_clean();
                    
318        return $buffer;
                    
                
Template.php https://gitlab.com/arthur_quiroga/dystawork | PHP | 413 lines
                    
1<?php
                    
2
                    
374            while (ob_get_level() > $level) {
                    
375                ob_end_clean();
                    
376            }
                    
                
ecofilm-edicion-player.php https://gitlab.com/eco-film-festival/ecof-developer-2016 | PHP | 265 lines
                    
1<?
                    
2require 'ecofilm-csv.php';
                    
3
                    
93			</div>			
                    
94			<!--<code><?php //print_r($_result); ?></code> -->
                    
95			<?php
                    
96			$list_markup = ob_get_contents();
                    
97			ob_end_clean();
                    
98			//---------- end : output
                    
                
modmanagerresponse.class.php https://gitlab.com/haque.mdmanzurul/nga-loyaltymatters | PHP | 310 lines
                    
1<?php
                    
2/**
                    
6 */
                    
7require_once MODX_CORE_PATH . 'model/modx/modresponse.class.php';
                    
8/**
                    
146        if (!class_exists($className)) {
                    
147            $classFile = strtolower($f).'.class.php';
                    
148            $classPath = null;
                    
151                if (!file_exists($controllersPath.$classFile)) {
                    
152                    if (file_exists($controllersPath.strtolower($f).'/index.class.php')) {
                    
153                        $classPath = $controllersPath.strtolower($f).'/index.class.php';
                    
163                $className = 'modManagerControllerDeprecated';
                    
164                $classPath = MODX_CORE_PATH.'model/modx/modmanagercontrollerdeprecated.class.php';
                    
165            }
                    
167            if (!file_exists($classPath)) {
                    
168                if (file_exists(strtolower($f).'/index.class.php')) {
                    
169                    $classPath = strtolower($f).'/index.class.php';
                    
                
moduleinstallstep.php https://gitlab.com/alexprowars/bitrix | PHP | 483 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
152		<script type="text/javascript">
                    
153			BX.message(<?=\CUtil::PhpToJSObject($messages)?>);
                    
154			var ajaxWizardForm = new CAjaxWizardForm("<?=$formName?>", "iframe-post-form", "<?=$nextStepVarName?>");
                    
158		$content = ob_get_contents();
                    
159		ob_end_clean();
                    
160
                    
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())
                    
                
eclipse.php https://gitlab.com/x33n/platform | PHP | 307 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage Eclipse
                    
6 *  @version    $Id: eclipse.php 2011 2011-04-29 08:22:48Z pp11 $
                    
7 */
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
299        $output = ob_get_contents();
                    
300        ob_end_clean();
                    
301        if ($output !== ""){
                    
                
GifCreator.php https://gitlab.com/billyprice1/mc-skintools | PHP | 349 lines
                    
1<?php
                    
2
                    
9     * @author    Sybio (Clément Guillemain  / @Sybio01)
                    
10     * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
                    
11     * @copyright Clément Guillemain
                    
101                    $this->frameSources[] = ob_get_contents();
                    
102                    ob_end_clean();
                    
103
                    
115                    $this->frameSources[] = ob_get_contents();
                    
116                    ob_end_clean();
                    
117
                    
                
AuthSub.php https://gitlab.com/devtoannh/cafe | PHP | 248 lines
                    
1<?php
                    
2
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
21 * @version    $Id: AuthSub.php 24319 2011-07-30 13:43:41Z mikaelkael $
                    
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(
                    
                
ViewMaker.php https://gitlab.com/gideonmarked/PLCPortal | PHP | 317 lines
                    
1<?php namespace System\Traits;
                    
2
                    
266        while (ob_get_level() > $obLevel) {
                    
267            ob_end_clean();
                    
268        }
                    
311        if ($result = Event::fire($event, $params)) {
                    
312            return implode(PHP_EOL.PHP_EOL, (array) $result);
                    
313        }
                    
                
ui.class.php https://gitlab.com/x33n/ampache | PHP | 355 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
44        // Clear any buffered crap
                    
45        ob_end_clean();
                    
46        header("HTTP/1.1 403 $error");
                    
46        header("HTTP/1.1 403 $error");
                    
47        require_once AmpConfig::get('prefix') . '/templates/show_denied.inc.php';
                    
48        exit;
                    
61        $output = ob_get_contents();
                    
62        ob_end_clean();
                    
63
                    
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'])) {
                    
                
header.php https://gitlab.com/giumbai/fluxbb | PHP | 326 lines
                    
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
                    
200{
                    
201	$links[] = '<li id="navregister"'.((PUN_ACTIVE_PAGE == 'register') ? ' class="isactive"' : '').'><a href="register.php">'.$lang_common['Register'].'</a></li>';
                    
202	$links[] = '<li id="navlogin"'.((PUN_ACTIVE_PAGE == 'login') ? ' class="isactive"' : '').'><a href="login.php">'.$lang_common['Login'].'</a></li>';
                    
                
shell.test.php https://gitlab.com/hakimkal/evricaevents | PHP | 501 lines
                    
8 *
                    
9 * CakePHP :  Rapid Development Framework (http://cakephp.org)
                    
10 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
15 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
16 * @link          http://cakephp.org CakePHP Project
                    
17 * @package       cake
                    
18 * @subpackage    cake.tests.cases.console.libs
                    
19 * @since         CakePHP v 1.2.0.7726
                    
20 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
370
                    
371		$path = $expected = DS . 'tmp' . DS . 'ab' . DS . 'index.php';
                    
372		$this->assertEqual($this->Shell->shortPath($path), $expected);
                    
409		$path = TMP . 'shell_test';
                    
410		$file = $path . DS . 'file1.php';
                    
411
                    
                
class-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
                    
1<?php
                    
2/**
                    
236	public function hide_form_end() {
                    
237		ob_end_clean();
                    
238	}
                    
                
media.php https://gitlab.com/ppapadatis/Videolearn | PHP | 309 lines
                    
15{
                    
16	require_once( JPATH_BASE.'/components/com_community/libraries/core.php');
                    
17}
                    
42
                    
43                JLoader::register('hwdMediaShareFactory', JPATH_ROOT.'/components/com_hwdmediashare/libraries/factory.php');
                    
44                JLoader::register('hwdMediaShareHelperRoute', JPATH_ROOT.'/components/com_hwdmediashare/helpers/route.php');
                    
137                ob_start();
                    
138                require 'assets/tmpl/default.php';
                    
139                $html = ob_get_contents();
                    
211                JLoader::register('hwdMediaShareFactory', JPATH_ROOT.'/components/com_hwdmediashare/libraries/factory.php');
                    
212                JLoader::register('hwdMediaShareHelperRoute', JPATH_ROOT.'/components/com_hwdmediashare/helpers/route.php');
                    
213
                    
237          <div class="media-item-format-1-<?php echo $item->media_type; ?>">
                    
238             <img src="<?php echo JHtml::_('hwdicon.overlay', '1-'.$item->media_type, $item); ?>" alt="<?php echo JText::_('COM_HWDMS_MEDIA_TYPE'); ?>" />
                    
239          </div>
                    
                
class-wp-image-editor.php https://gitlab.com/Gashler/dp | PHP | 403 lines
                    
1<?php
                    
2/**
                    
351		if ( $stream ) {
                    
352			ob_end_clean();
                    
353		}
                    
                
Debug.php https://gitlab.com/adrianjose605/SaintW | PHP | 142 lines
                    
1<?php
                    
2/*
                    
64        $dump = ob_get_contents();
                    
65        ob_end_clean();
                    
66
                    
                
CBaseController.php https://gitlab.com/zenfork/vektor | PHP | 310 lines
                    
1<?php
                    
2/**
                    
107	 * Renders a view file.
                    
108	 * This method includes the view file as a PHP script
                    
109	 * and captures the display result if required.
                    
172			{
                    
173				ob_end_clean();
                    
174				throw $e;
                    
                
sitemailer_.php https://gitlab.com/nvtdn2006/azora | PHP | 384 lines
                    
1<?php
                    
2class SiteMailer
                    
52		$this->headers .= "MIME-Version: 1.0\r\n";		
                    
53		//$this->headers .= "Content-Type: multipart/mixed; boundary=\"PHP-mixed-" . $this->randomHash . "\"\r\n";
                    
54		$this->headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
                    
90			{
                    
91				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
92				$this->msgBody .= $this->attachment;				
                    
92				$this->msgBody .= $this->attachment;				
                    
93				$this->msgBody .= "\r\n--PHP-mixed-" . $this->randomHash . "--";
                    
94			}*/		
                    
108		$content = ob_get_contents();
                    
109		ob_end_clean();
                    
110		return $content;
                    
156	private function sendActivationToCustomer($property) {
                    
157		/*$htmlCT = "--PHP-alt-" . $this->randomHash . "\r\n";
                    
158		$htmlCT .= 'Content-Type: text/html; charset="iso-8859-1"' . "\r\n";
                    
                
VarCloner.php https://gitlab.com/judielsm/Handora | 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;
                    
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');
                    
285            foreach (debug_backtrace(PHP_VERSION_ID >= 50400 ? DEBUG_BACKTRACE_IGNORE_ARGS : false) as $frame) {
                    
297
                    
298        self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE));
                    
299    }
                    
                
crmgroupstep.php https://gitlab.com/alexprowars/bitrix | PHP | 429 lines
                    
1<?php
                    
2namespace Bitrix\Sale\CrmSiteMaster\Steps;
                    
117		$content = ob_get_contents();
                    
118		ob_end_clean();
                    
119
                    
264		$content = ob_get_contents();
                    
265		ob_end_clean();
                    
266
                    
300		$content = ob_get_contents();
                    
301		ob_end_clean();
                    
302
                    
354		$content = ob_get_contents();
                    
355		ob_end_clean();
                    
356
                    
400			\CCrmSaleHelper::addUserToShopGroup();
                    
401			$cache = new \CPHPCache;
                    
402			$cache->CleanDir("/crm/list_crm_roles/");
                    
                
dumper.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 359 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1782 2008-04-25 17:09:06Z pp11 $
                    
7 */
                    
354        $formatted = ob_get_contents();
                    
355        ob_end_clean();
                    
356        return $formatted;
                    
                
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 }; ?>
                    
                
MetadataInfo.php https://gitlab.com/nitm/yii2-widgets | PHP | 320 lines
                    
1<?php
                    
2/**
                    
125            $item = ob_get_contents();
                    
126            ob_end_clean();
                    
127            $ret_val .= $item;
                    
157            $item = ob_get_contents();
                    
158            ob_end_clean();
                    
159            $ret_val .= $item;
                    
187            $item = ob_get_contents();
                    
188            ob_end_clean();
                    
189            $ret_val .= $item;
                    
                
quickpage.php https://gitlab.com/ricardosanchez/prueba | PHP | 183 lines
                    
1<?php
                    
2/**
                    
13
                    
14require_once JPATH_LIBRARIES . '/regularlabs/helpers/functions.php';
                    
15
                    
32		$allowed = array(
                    
33			'administrator/components/com_dbreplacer/ajax.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
34			'administrator/modules/mod_addtomenu/popup.php',
                    
35			'media/rereplacer/images/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
36			'plugins/editors-xtd/articlesanywhere/popup.php',
                    
37			'plugins/editors-xtd/conditionalcontent/popup.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
38			'plugins/editors-xtd/contenttemplater/data.php',
                    
39			'plugins/editors-xtd/contenttemplater/popup.php',
                    
40			'plugins/editors-xtd/dummycontent/popup.php',
                    
                
index.php https://gitlab.com/tangsengjiu/Talk | PHP | 172 lines
                    
1<?PHP
                    
2
                    
2
                    
3include "../index.php";
                    
4
                    
44$shell['script'] = ob_get_contents();
                    
45ob_end_clean();
                    
46
                    
58$shell['html_head_pre'] = ob_get_contents();
                    
59ob_end_clean();
                    
60
                    
120$shell['html_head'] = ob_get_contents();
                    
121ob_end_clean();
                    
122
                    
163$shell['html_body'] = ob_get_contents();
                    
164ob_end_clean();
                    
165
                    
                
ThemeTest.php https://gitlab.com/luyxtran264/myproject | PHP | 420 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin-test
                    
7 */
                    
9
                    
10require_once 'libraries/url_generating.lib.php';
                    
11require_once 'test/PMATestCase.php';
                    
15 *
                    
16 * @package PhpMyAdmin-test
                    
17 */
                    
37        $GLOBALS['text_dir'] = 'ltr';
                    
38        include 'themes/pmahomme/layout.inc.php';
                    
39        $GLOBALS['server'] = '99';
                    
99        $this->object->setPath('./themes/original');
                    
100        $infofile = $this->object->getPath() . '/info.inc.php';
                    
101        $this->assertTrue($this->object->loadInfo());
                    
                
comments.php https://gitlab.com/endomorphosis/jeffersonsmithmayor | PHP | 484 lines
                    
2
                    
3require dirname( __FILE__ ) . '/base.php';
                    
4
                    
217			<div id="cancel-comment-reply-link" style="display:none; float:right;"><a href="#"><?php echo esc_html( __( 'Cancel Reply', 'jetpack' ) ); ?></a></div>
                    
218			<iframe src="<?php echo esc_url( $url ); ?>" allowtransparency="<?php echo $transparent; ?>" style="width:100%; height: <?php echo $height; ?>px;border:0px;" frameBorder="0" scrolling="no" name="jetpack_remote_comment" id="jetpack_remote_comment"></iframe>
                    
219		</div>
                    
220
                    
221		<?php // Below is required for comment reply JS to work ?>
                    
222
                    
299
                    
300	<?php endif; ?>
                    
301
                    
464try {
                    
465	window.parent.location = <?php echo json_encode( $url ); ?>;
                    
466	window.parent.location.reload();
                    
                
ChartsDashlet.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 195 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
41
                    
42require_once('include/Dashlets/Dashlet.php');
                    
43
                    
75    function display() {
                    
76    	require_once("modules/Reports/Report.php");
                    
77		
                    
92			
                    
93			require_once("modules/Reports/templates/templates_chart.php");
                    
94	
                    
97			$str = ob_get_contents();	
                    
98			ob_end_clean();
                    
99			
                    
119    function displayScript() {
                    
120    	require_once("modules/Reports/Report.php");
                    
121			
                    
                
unicode.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 269 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: unicode.php 10381 2008-06-01 03:35:53Z pasamio $
                    
4* Tools for conversion between UTF-8 and unicode
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
25* Returns false if the input string isn't a valid UTF-8 octet sequence
                    
26* and raises a PHP error at level E_USER_WARNING
                    
27* Note: this function has been modified slightly in this library to
                    
32* @see utf8_from_unicode
                    
33* @see http://hsivonen.iki.fi/php-utf8/
                    
34* @package utf8
                    
                
Config.php https://gitlab.com/alexandresgv/siteentec | PHP | 383 lines
                    
1<?php
                    
2/**
                    
100    /**
                    
101     * Create a new instance of the config class using a PHP file path.
                    
102     *
                    
102     *
                    
103     * @param  string $configFilePath Path to the PHP File
                    
104     * @throws \RuntimeException
                    
106     */
                    
107    public static function fromPhp($configFilePath)
                    
108    {
                    
109        ob_start();
                    
110        /** @noinspection PhpIncludeInspection */
                    
111        $configArray = include($configFilePath);
                    
113        // Hide console output
                    
114        ob_end_clean();
                    
115
                    
                
ErrorProcessorTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 339 lines
                    
1<?php
                    
2/**
                    
16
                    
17class ErrorProcessorTest extends \PHPUnit_Framework_TestCase
                    
18{
                    
24
                    
25    /** @var \PHPUnit_Framework_MockObject_MockObject */
                    
26    protected $_appStateMock;
                    
88        $actualResult = ob_get_contents();
                    
89        ob_end_clean();
                    
90        $expectedResult = '{"messages":{"error":[{"code":500,"message":"Message"}]}}';
                    
126        $actualResult = ob_get_contents();
                    
127        ob_end_clean();
                    
128        $expectedResult = '{"messages":{"error":[{"code":401,"message":"Message","trace":"Message trace."}]}}';
                    
143        $actualResult = ob_get_contents();
                    
144        ob_end_clean();
                    
145        $expectedResult = '<?xml version="1.0"?><error><messages><error><data_item><code>500</code>' .
                    
                
file.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 441 lines
                    
1<?php
                    
2/**
                    
98			$layoutOutput = ob_get_contents();
                    
99			ob_end_clean();
                    
100		}
                    
126
                    
127			// Search for suffixed versions. Example: tags.j31.php
                    
128			if (!empty($suffixes))
                    
133				{
                    
134					$rawPath  = str_replace('.', '/', $this->layoutId) . '.' . $suffix . '.php';
                    
135					$this->addDebugMessage('<strong>Searching layout for:</strong> ' . $rawPath);
                    
146			// Standard version
                    
147			$rawPath  = str_replace('.', '/', $this->layoutId) . '.php';
                    
148			$this->addDebugMessage('<strong>Searching layout for:</strong> ' . $rawPath);
                    
                
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}
                    
225	$form = ob_get_contents();
                    
226	ob_end_clean();
                    
227
                    
                
helper-functions.php https://gitlab.com/almoore1/buy-button-wordpress | PHP | 352 lines
                    
1<?php
                    
2/**
                    
31
                    
32	include_once( cmb2_dir( "includes/{$class_name}.php" ) );
                    
33}
                    
225	$form = ob_get_contents();
                    
226	ob_end_clean();
                    
227
                    
312	/**
                    
313	 * Reimplementation of DateTime::createFromFormat for PHP < 5.3. :(
                    
314	 * Borrowed from http://stackoverflow.com/questions/5399075/php-datetimecreatefromformat-in-5-2
                    
                
tiki-export_tracker.php https://gitlab.com/ElvisAns/tiki | PHP | 301 lines
                    
1<?php
                    
2
                    
14
                    
15require_once('tiki-setup.php');
                    
16$access->check_feature('feature_trackers');
                    
175    if ($prefs['feature_obzip'] != 'y') {
                    
176        ob_end_clean();
                    
177    }
                    
                
schema.test.php https://gitlab.com/hakimkal/evricaevents | PHP | 503 lines
                    
6 *
                    
7 * CakePHP : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2006-2010, Cake Software Foundation, Inc.
                    
13 * @copyright     Copyright 2006-2010, Cake Software Foundation, Inc.
                    
14 * @link          http://cakephp.org CakePHP Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.console.libs.Shells
                    
17 * @since         CakePHP v 1.3
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
180		$this->assertEqual(strtolower($this->Shell->Schema->name), strtolower(APP_DIR));
                    
181		$this->assertEqual($this->Shell->Schema->file, 'other_file.php');
                    
182		$this->assertEqual($this->Shell->Schema->connection, 'test_suite');
                    
194		$this->Shell->Schema->path = APP . 'config' . DS . 'schema';
                    
195		$this->Shell->params['file'] = 'i18n.php';
                    
196		$this->Shell->expectOnce('_stop');
                    
                
baseservicehandler.php https://gitlab.com/alexprowars/bitrix | PHP | 453 lines
                    
1<?php
                    
2namespace Bitrix\Sale\PaySystem;
                    
94				$result->setTemplate($content);
                    
95				ob_end_clean();
                    
96			}
                    
131		{
                    
132			$templatePath = $documentRoot.$folder.'/'.$template.'.php';
                    
133
                    
192		$handlerDir = $dirs[$this->handlerType];
                    
193		$file = $documentRoot.$handlerDir.static::getName().'/.description.php';
                    
194
                    
274	 * 
                    
275	 * ```php
                    
276	 * 	public function getClientType($psMode)
                    
                
fixture.test.php https://gitlab.com/hakimkal/evricaevents | PHP | 373 lines
                    
6 *
                    
7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
13 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
14 * @link          http://cakephp.org CakePHP(tm) Project
                    
15 * @package       cake
                    
16 * @subpackage    cake.tests.cases.console.libs.tasks
                    
17 * @since         CakePHP(tm) v 1.3
                    
18 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
179		$this->Task->args = array('article');
                    
180		$filename = '/my/path/article_fixture.php';
                    
181		$this->Task->expectAt(0, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));
                    
205		$this->Task->args = array('Articles');
                    
206		$filename = '/my/path/article_fixture.php';
                    
207		$this->Task->expectAt(2, 'createFile', array($filename, new PatternExpectation('/class ArticleFixture/')));
                    
                
db_structure.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 335 lines
                    
15 */
                    
16require_once 'libraries/structure.lib.php';
                    
17
                    
46    ) {
                    
47        $action = 'db_structure.php';
                    
48        $err_url = 'db_structure.php?'. PMA_generate_common_url($db);
                    
50        // see bug #2794840; in this case, code path is:
                    
51        // db_structure.php -> libraries/mult_submits.inc.php -> sql.php
                    
52        // -> db_structure.php and if we got an error on the multi submit,
                    
65    $sub_part = '_structure';
                    
66    include 'libraries/db_info.inc.php';
                    
67
                    
309    PMA_Util::getListNavigator(
                    
310        $total_num_tables, $pos, $_url_params, 'db_structure.php',
                    
311        'frame_content', $GLOBALS['cfg']['MaxTableList']
                    
                
widget_nl.php https://gitlab.com/Gashler/sg | PHP | 345 lines
                    
1<?php
                    
2defined( 'WYSIJA' ) or die( 'Restricted access' );
                    
77		$scripts_html .= ob_get_contents();
                    
78		ob_end_clean();
                    
79
                    
126
                    
127		//if data has been posted the classique php/HTML way we display the result straight in good old HTML
                    
128		if(isset($_POST['wysija']['user']['email']) && isset($_POST['formid']) && $form_id_real==$_POST['formid']){
                    
                
Template.php git://github.com/jeromeschneider/Baikal.git | PHP | 451 lines
                    
1<?php
                    
2
                    
252            while (ob_get_level() > $level) {
                    
253                ob_end_clean();
                    
254            }
                    
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.
                    
                
bad.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 421 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3* @version $Id: bad.php 10381 2008-06-01 03:35:53Z pasamio $
                    
4* Tools for locating / replacing bad bytes in UTF-8 strings
                    
9* the Initial Developer. All Rights Reserved.
                    
10* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
11* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
13* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
14* @see http://hsivonen.iki.fi/php-utf8/
                    
15* @package utf8
                    
127    $result = ob_get_contents();
                    
128    ob_end_clean();
                    
129    return $result;
                    
166    $result = ob_get_contents();
                    
167    ob_end_clean();
                    
168    return $result;
                    
                
class-wc-widget-layered-nav.php https://gitlab.com/iamgraeme/royalmile | PHP | 459 lines
                    
1<?php
                    
2
                    
177		if ( ! $found ) {
                    
178			ob_end_clean();
                    
179		} else {
                    
                
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
                    
70
                    
71		while (@ob_end_clean()) ; // clean any pending output buffers
                    
72		ob_start(); // start a fresh one
                    
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;
                    
                
index.php https://gitlab.com/x33n/platform | PHP | 296 lines
                    
1<?php 
                    
2/**
                    
26
                    
27	require_once(__DIR__ . '/admin/constants.php');
                    
28	//error_log($_GET['subdomain'] . "\n" . $_GET['path'] . "\n" . print_r($_GET,true));
                    
115				$page_vars['element_' . $element_id] = ob_get_contents();
                    
116				ob_end_clean();
                    
117			}
                    
                
utility.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 357 lines
                    
1<?php
                    
2/**
                    
26  function import($path) {
                    
27    require_once(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_acesef' . DS . str_replace('.', '/', $path).'.php');
                    
28  }
                    
33    $contents = ob_get_contents();
                    
34    ob_end_clean();
                    
35
                    
117    $url = str_replace('&amp;', '&', $url);
                    
118    $url = str_replace('index.php?', '', $url);
                    
119    parse_str($url, $vars);
                    
181      $status['version_checker'] = (bool)$this->AcesefConfig->version_checker;
                    
182      $status['php'] = (bool)version_compare(PHP_VERSION, '5.2.0', '>');
                    
183      $status['s_mod_rewrite'] = '';
                    
210    if (!isset($installed)) {
                    
211      $installed = JFile::exists(JPATH_ROOT.DS.'administrator'.DS.'components'.DS.'com_joomfish'.DS.'joomfish.php');
                    
212    }
                    
                
Parser.php https://gitlab.com/lauroPereira/aula_android_webservice | PHP | 313 lines
                    
1<?php
                    
2
                    
11 *
                    
12 *  PdfParser is a pdf library written in PHP, extraction oriented.
                    
13 *  Copyright (C) 2014 - Sébastien MALOT <sebastien@malot.fr>
                    
90        unset($parser);
                    
91        ob_end_clean();
                    
92
                    
                
acajoombot.php https://gitlab.com/endomorphosis/greenrenaissancejoomla | PHP | 328 lines
                    
1<?php
                    
2if ( !defined('_JEXEC') && defined('_VALID_MOS') ) define( '_JEXEC', true );
                    
4### Copyright (C) 2006-2007 Acajoom Services. All rights reserved.
                    
5### http://www.acajoom.com/license.php
                    
6
                    
54				<span class="editlinktip">
                    
55			    <?php
                    
56				$tip =  _ACA_TITLE_ONLY_TIPS ;
                    
68				<span class="editlinktip">
                    
69                <input type="radio" name="content_type" value="0" checked="checked" onclick="acajoombot_content_update_output();" /><?php echo $full_article; ?>
                    
70                <input type="radio" name="content_type" value="1" onclick="acajoombot_content_update_output();" /><?php echo $intro_only; ?>
                    
70                <input type="radio" name="content_type" value="1" onclick="acajoombot_content_update_output();" /><?php echo $intro_only; ?>
                    
71                <input type="radio" name="content_type" value="2" onclick="acajoombot_content_update_output();" /><?php echo $title_only; ?>
                    
72                </span>
                    
74				<span class="editlinktip">
                    
75				<?php
                    
76					$tip = _ACA_TAGS_TITLE_TIPS;
                    
                
lib.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 287 lines
                    
1<?php
                    
2
                    
28
                    
29require_once(__DIR__ . '/../lib.php');            // interface definition
                    
30require_once(__DIR__ . '/../../locallib.php');    // workshop internal API
                    
30require_once(__DIR__ . '/../../locallib.php');    // workshop internal API
                    
31require_once(__DIR__ . '/../random/lib.php');     // random allocator
                    
32require_once(__DIR__ . '/settings_form.php');     // our settings form
                    
121        $out .= ob_get_contents();
                    
122        ob_end_clean();
                    
123        $out .= $output->container_end();
                    
275    // let's have some fun!
                    
276    require_once($CFG->dirroot.'/mod/workshop/locallib.php');
                    
277
                    
                
ajax.server.php https://gitlab.com/x33n/ampache | PHP | 203 lines
                    
1<?php
                    
2/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
                    
28define('AJAX_INCLUDE','1');
                    
29require_once '../lib/init.php';
                    
30
                    
34
                    
35debug_event('ajax.server.php', 'Called for page: {'.$page.'}', '5');
                    
36
                    
38    case 'stats':
                    
39        require_once AmpConfig::get('prefix') . '/server/stats.ajax.php';
                    
40        exit;
                    
41    case 'browse':
                    
42        require_once AmpConfig::get('prefix') . '/server/browse.ajax.php';
                    
43        exit;
                    
44    case 'random':
                    
45        require_once AmpConfig::get('prefix') . '/server/random.ajax.php';
                    
46        exit;
                    
                
Route.php https://gitlab.com/ramos.lauty/softlord | PHP | 357 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 */
                    
327            } catch (Exception $e) {
                    
328                ob_end_clean();
                    
329                throw $e;
                    
345                // prepend output buffer content
                    
346                $body = new Http\Body(fopen('php://temp', 'r+'));
                    
347                $body->write($output . $response->getBody());
                    
                
theme.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 413 lines
                    
1<?php
                    
2/**
                    
56	if ( empty( $redirect ) )
                    
57		$redirect = wp_nonce_url('themes.php?action=delete&template=' . $template, 'delete-theme_' . $template);
                    
58	if ( false === ($credentials = request_filesystem_credentials($redirect)) ) {
                    
59		$data = ob_get_contents();
                    
60		ob_end_clean();
                    
61		if ( ! empty($data) ){
                    
61		if ( ! empty($data) ){
                    
62			include_once( ABSPATH . 'wp-admin/admin-header.php');
                    
63			echo $data;
                    
63			echo $data;
                    
64			include( ABSPATH . 'wp-admin/admin-footer.php');
                    
65			exit;
                    
72		$data = ob_get_contents();
                    
73		ob_end_clean();
                    
74		if ( ! empty($data) ) {
                    
                
ConfigTest.php https://github.com/jorgenils/zend-framework.git | PHP | 404 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once dirname(__FILE__) . '/../TestHelper.php';
                    
27
                    
30 */
                    
31require_once 'Zend/Config.php';
                    
32
                    
39 */
                    
40class Zend_ConfigTest extends PHPUnit_Framework_TestCase
                    
41{
                    
102    {
                    
103        if (version_compare(PHP_VERSION, '5.1', '>=')) {
                    
104            $config = new Zend_Config($this->_all, false);
                    
203        $contents = ob_get_contents();
                    
204        ob_end_clean();
                    
205
                    
                
libgd00100.php https://gitlab.com/iranjith4/hhvm | PHP | 109 lines
                    
1<?php
                    
2$im = imagecreatetruecolor(256, 256);
                    
103$png = ob_get_contents();
                    
104ob_end_clean();
                    
105
                    
                
FileList.inc.php https://gitlab.com/tetrapak07/vimm-me | PHP | 209 lines
                    
5require_once('FileInfo.inc.php');
                    
6require_once('Writer.inc.php');
                    
7ob_end_clean();
                    
61            if ($this->GENERATE_FILE_QUEUE && is_file($fileinfo->absoluteName)) {
                    
62                $queue_entry = $fileinfo->absoluteName . ' ' . $fileinfo->md5 . PHP_EOL;
                    
63                file_put_contents2($this->tmpQueueFilename, $queue_entry, 'a');
                    
96
                    
97            $response['meta'] = array('type' => 'getFileList', 'status' => 'inProcess', 'phpError' => $php_errormsg);
                    
98            $response['data'] = array();
                    
105            // output result for ajax processing
                    
106            $response['meta'] = array('type' => 'error', 'phpError' => $php_errormsg);
                    
107            $response['data'] = array('Cannot write to file ' . $this->logFilename);
                    
146
                    
147            $response['meta'] = array('type' => 'getFileList', 'status' => 'finished', 'phpError' => $php_errormsg);
                    
148            $response['data'] = array();
                    
                
overview.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 255 lines
                    
44/**
                    
45 * http://www.php.net/manual/en/function.phpinfo.php
                    
46 * code at adspeed dot com
                    
112				<tr>
                    
113					<td><?php _e('PHP Version', 'ckeditor_wordpress'); ?></td><td><?php echo phpversion(); ?></td>
                    
114				</tr>
                    
118				<tr>
                    
119					<td><?php _e('PHP Max Upload Size', 'ckeditor_wordpress'); ?></td><td><?php echo $upload_max; ?></td>
                    
120				</tr>
                    
121				<tr>
                    
122					<td><?php _e('PHP Max Post Size', 'ckeditor_wordpress'); ?></td><td><?php echo $post_max; ?></td>
                    
123				</tr>
                    
124				<tr>
                    
125					<td><?php _e('PHP Memory Limit', 'ckeditor_wordpress'); ?></td><td><?php echo $memory_limit; ?></td>
                    
126				</tr>
                    
                
StatusCheckTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | 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     *
                    
103        $response = ob_get_contents();
                    
104        ob_end_clean();
                    
105        unset($_SERVER['HTTP_X_REQUESTED_WITH']);
                    
                
class-wp-customize-section.php https://gitlab.com/darmawan.fatria/df-skp-2014 | 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>
                    
                
Renderer.php https://gitlab.com/szlongshu/manaphp | PHP | 174 lines
                    
5    use ManaPHP\Mvc\View\Renderer\EngineInterface;
                    
6    use ManaPHP\Mvc\View\Renderer\Exception;
                    
7
                    
21        {
                    
22            $this->_registeredEngines['.phtml'] = 'ManaPHP\Mvc\View\Renderer\Engine\Php';
                    
23            $this->_registeredEngines['.tpl'] = 'ManaPHP\Mvc\View\Renderer\Engine\Smarty';
                    
30         * @return \ManaPHP\Mvc\View\Renderer\EngineInterface
                    
31         * @throws \ManaPHP\Mvc\View\Renderer\Exception
                    
32         */
                    
43            if (!$engine instanceof EngineInterface) {
                    
44                throw new Exception('Invalid template engine: it is not implements \ManaPHP\Mvc\Renderer\EngineInterface');
                    
45            }
                    
147         *$renderer->registerEngines(array(
                    
148         *  ".phtml" => "ManaPHP\Mvc\View\Renderer\Engine\Php",
                    
149         *  ".html" => "ManaPHP\Mvc\View\Renderer\Engine\Html",
                    
                
field_group.php https://gitlab.com/plusplusminus/compassion | PHP | 264 lines
                    
1<?php
                    
2
                    
126                    $_field = apply_filters('redux-support-group',$content, $field, 0);
                    
127                    ob_end_clean();
                    
128                    echo $_field;
                    
191                    $_field = apply_filters('redux-support-group',$content, $field, $x);
                    
192                    ob_end_clean();
                    
193                    echo $_field;
                    
247            if (!class_exists($field_class)) {
                    
248                $class_file = apply_filters('redux-typeclass-load', ReduxFramework::$_dir . 'inc/fields/' . $field_type . '/field_' . $field_type . '.php', $field_class);
                    
249
                    
250                if ($class_file) {
                    
251                    /** @noinspection PhpIncludeInspection */
                    
252                    require_once( $class_file );
                    
                
ModuleGrid.php https://gitlab.com/jslee1/PrestaShop | PHP | 201 lines
                    
1<?php
                    
2/**
                    
9 * It is also available through the world-wide-web at this URL:
                    
10 * http://opensource.org/licenses/osl-3.0.php
                    
11 * If you did not receive a copy of the license and are unable to
                    
22 * @copyright 2007-2015 PrestaShop SA
                    
23 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
                    
24 * International Registered Trademark & Property of PrestaShop SA
                    
71        }
                    
72        if (!Tools::file_exists_cache($file = _PS_ROOT_DIR_.'/modules/'.$render.'/'.$render.'.php')) {
                    
73            die(Tools::displayError());
                    
104        }
                    
105        if (!file_exists(_PS_ROOT_DIR_.'/modules/'.$render.'/'.$render.'.php')) {
                    
106            return Tools::displayError('Grid engine selected is unavailable.');
                    
108
                    
109        $grider = 'grider.php?render='.$render.'&module='.Tools::safeOutput(Tools::getValue('module'));
                    
110
                    
                
ajaxlib.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 82 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
26/**
                    
27 * You need to call this function if you wish to use the set_user_preference method in javascript_static.php, to white-list the
                    
28 * preference you want to update from JavaScript, and to specify the type of cleaning you expect to be done on values.
                    
68    $output = ob_get_contents();
                    
69    ob_end_clean();
                    
70
                    
                
DiffFormatter.php https://gitlab.com/mohamed_hussein/prodt | PHP | 197 lines
                    
1<?php
                    
2
                    
148    $val = ob_get_contents();
                    
149    ob_end_clean();
                    
150    return $val;
                    
                
admin-css-js-in.inc.php https://gitlab.com/Gashler/dp | PHP | 120 lines
                    
1<?php
                    
2/**
                    
53
                    
54								while (@ob_end_clean ()); // Clean any existing output buffers.
                    
55
                    
96
                    
97								while (@ob_end_clean ()); // Clean any existing output buffers.
                    
98
                    
                
wikiplugin_preview.php https://gitlab.com/ElvisAns/tiki | PHP | 242 lines
                    
1<?php
                    
2
                    
147            $tikilib = TikiLib::lib('tiki');
                    
148            $smartyLib->assign('original_file_download_link', $tikilib->tikiUrl() . 'tiki-download_file.php?fileId=' . $fileId, true);
                    
149        }
                    
157    while (ob_get_level() > 1) {
                    
158        ob_end_clean();
                    
159    } // Be sure output buffering is turned off
                    
                
diagnostics.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 313 lines
                    
171			<tr>
                    
172				<td><a href="http://php.net/manual/en/features.safe-mode.php" target="_blank"><?php _e("Safe Mode", 'duplicator'); ?></a></td>
                    
173				<td>
                    
180			<tr>
                    
181				<td><a href="http://www.php.net/manual/en/ini.core.php#ini.memory-limit" target="_blank"><?php _e("Memory Limit", 'duplicator'); ?></a></td>
                    
182				<td><?php echo @ini_get('memory_limit') ?></td>
                    
188			<tr>
                    
189				<td><a href="http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time" target="_blank"><?php _e("Max Execution Time", 'duplicator'); ?></a></td>
                    
190				<td><?php echo @ini_get( 'max_execution_time' ); ?></td>
                    
192			<tr>
                    
193				<td><a href="http://us3.php.net/shell_exec" target="_blank"><?php _e("Shell Exec", 'duplicator'); ?></a></td>
                    
194				<td><?php echo (DUP_Util::IsShellExecAvailable()) ? _e("Is Supported", 'duplicator') : _e("Not Supported", 'duplicator'); ?></td>
                    
227				 <td><?php _e('Free space', 'hyper-cache'); ?></td>
                    
228				 <td><?php echo $perc;?>% -- <?php echo DUP_Util::ByteSize($space_free);?> from <?php echo DUP_Util::ByteSize($space);?><br/>
                    
229					  <small>
                    
                
Class.php https://gitlab.com/Ltaimao/wecenter | PHP | 275 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26//require_once 'Zend/Cache/Core.php';
                    
27
                    
244            } catch (Exception $e) {
                    
245                ob_end_clean();
                    
246                throw $e;
                    
                
Class.php https://gitlab.com/rsilveira1987/Expresso | PHP | 275 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26require_once 'Zend/Cache/Core.php';
                    
27
                    
244            } catch (Exception $e) {
                    
245                ob_end_clean();
                    
246                throw $e;
                    
                
Class.php https://gitlab.com/yousafsyed/easternglamor | PHP | 275 lines
                    
1<?php
                    
2/**
                    
25 */
                    
26#require_once 'Zend/Cache/Core.php';
                    
27
                    
244            } catch (Exception $e) {
                    
245                ob_end_clean();
                    
246                throw $e;
                    
                
Minifier.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 459 lines
                    
1<?php
                    
2/**
                    
39 * @copyright  2009-2012 Robert Hafner <tedivm@tedivm.com>
                    
40 * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
41 * @link       https://github.com/tedivm/JShrink
                    
44
                    
45// Some changes done by Akshay Joshi to preserve compatibility with PHP 5.2.
                    
46
                    
56 * @author  Robert Hafner <tedivm@tedivm.com>
                    
57 * @license http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
58 */
                    
137
                    
138            ob_end_clean();
                    
139            throw $e;
                    
285     * comments. This has signifigant peformance benefits as the skipping is done using native functions (ie, c code)
                    
286     * rather than in script php.
                    
287     *
                    
                
Dia_Relation_Schema.class.php https://gitlab.com/qbarbosa/klindev | PHP | 381 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
5 *
                    
6 * @package PhpMyAdmin
                    
7 */
                    
7 */
                    
8if (! defined('PHPMYADMIN')) {
                    
9    exit;
                    
11
                    
12require_once 'libraries/plugins/schema/Export_Relation_Schema.class.php';
                    
13require_once 'libraries/plugins/schema/dia/RelationStatsDia.class.php';
                    
13require_once 'libraries/plugins/schema/dia/RelationStatsDia.class.php';
                    
14require_once 'libraries/plugins/schema/dia/TableStatsDia.class.php';
                    
15
                    
21 * @access  public
                    
22 * @see     http://php.net/manual/en/book.xmlwriter.php
                    
23 */
                    
                
AssetDispatcherTest.php https://gitlab.com/manuperazafa/elsartenbackend | PHP | 219 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
                    
12 * @package       Cake.Test.Case.Routing.Filter
                    
12 * @package       Cake.Test.Case.Routing.Filter
                    
13 * @since         CakePHP(tm) v 2.2
                    
14 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
141		$this->assertSame($response, $filter->beforeDispatch($event));
                    
142		ob_end_clean();
                    
143		$this->assertEquals(200, $response->statusCode());
                    
159/**
                    
160 * Test that no exceptions are thrown for //index.php type URLs.
                    
161 *
                    
                
ascii.php https://gitlab.com/nacridan/Nacridan | PHP | 221 lines
                    
1<?php
                    
2
                    
4* Tools to help with ASCII in UTF-8
                    
5* @version $Id: ascii.php,v 1.5 2006/10/16 20:38:12 harryf Exp $
                    
6* @package utf8
                    
13* needs handling as UTF-8 or not, potentially offering performance
                    
14* benefits by using the native PHP equivalent if it's just ASCII e.g.;
                    
15*
                    
17* if ( utf8_is_ascii($someString) ) {
                    
18*     // It's just ASCII - use the native PHP version
                    
19*     $someString = strtolower($someString);
                    
79	$result = ob_get_contents();
                    
80	ob_end_clean();
                    
81
                    
106	$result = ob_get_contents();
                    
107	ob_end_clean();
                    
108
                    
                
userstreams.php https://gitlab.com/iranjith4/hhvm | PHP | 314 lines
                    
1<?php
                    
2# vim600:syn=php:
                    
273if ($fail_count == 0) {
                    
274	ob_end_clean();
                    
275	echo "SEEK: OK\n";
                    
                
css-js-in.inc.php https://gitlab.com/pankajmohale/chef2go | PHP | 217 lines
                    
1<?php
                    
2// @codingStandardsIgnoreFile
                    
54
                    
55				while(@ob_end_clean()) ; // Clean output buffers.
                    
56
                    
96
                    
97				while(@ob_end_clean()) ; // Clean output buffers.
                    
98
                    
                
defaults.php https://gitlab.com/wuhang2003/core | PHP | 286 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();
                    
72			require_once $themePath;
                    
73			ob_end_clean();
                    
74			if (class_exists('OC_Theme')) {
                    
270		}
                    
271		return $this->getDocBaseUrl() . '/server/' . $this->defaultDocVersion . '/go.php?to=' . $key;
                    
272	}
                    
                
lib.php https://gitlab.com/JrLucena/moodle | PHP | 287 lines
                    
1<?php
                    
2
                    
28
                    
29require_once(dirname(dirname(__FILE__)) . '/lib.php');                  // interface definition
                    
30require_once(dirname(dirname(dirname(__FILE__))) . '/locallib.php');    // workshop internal API
                    
30require_once(dirname(dirname(dirname(__FILE__))) . '/locallib.php');    // workshop internal API
                    
31require_once(dirname(dirname(__FILE__)) . '/random/lib.php');           // random allocator
                    
32require_once(dirname(__FILE__) . '/settings_form.php');                 // our settings form
                    
121        $out .= ob_get_contents();
                    
122        ob_end_clean();
                    
123        $out .= $output->container_end();
                    
275    // let's have some fun!
                    
276    require_once($CFG->dirroot.'/mod/workshop/locallib.php');
                    
277
                    
                
BlueScreen.php https://gitlab.com/adam.kvita/MI-VMM-SIFT | PHP | 270 lines
                    
1<?php
                    
2
                    
60	{
                    
61		if (Helpers::isAjax() && session_status() === PHP_SESSION_ACTIVE) {
                    
62			ob_start(function () {});
                    
83		if ($handle = @fopen($file, 'x')) {
                    
84			ob_start(); // double buffer prevents sending HTTP headers in some PHP
                    
85			ob_start(function ($buffer) use ($handle) { fwrite($handle, $buffer); }, 4096);
                    
87			ob_end_flush();
                    
88			ob_end_clean();
                    
89			fclose($handle);
                    
137			while (ob_get_level() > $obLevel) { // restore ob-level if broken
                    
138				ob_end_clean();
                    
139			}
                    
160		if ($source) {
                    
161			$source = static::highlightPhp($source, $line, $lines, $vars);
                    
162			if ($editor = Helpers::editorUri($file, $line)) {
                    
                
renderer.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 175 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
55        $html .= ob_get_contents();
                    
56        ob_end_clean();
                    
57
                    
117        if (isset($eventinformation['parentclass'])) {
                    
118            $url = new moodle_url('eventdetail.php', array('eventname' => $eventinformation['parentclass']));
                    
119            $html .= html_writer::tag('dt', get_string('parentevent', 'report_eventlist'));
                    
                
class.jetpack-json-api-plugins-modify-endpoint.php https://gitlab.com/hunt9310/ras | PHP | 191 lines
                    
1<?php
                    
2
                    
131		wp_update_plugins(); // Check for Plugin updates
                    
132		ob_end_clean();
                    
133
                    
143
                    
144		include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
                    
145
                    
                
renderer.php https://bitbucket.org/ngmares/moodle.git | PHP | 244 lines
                    
1<?php
                    
2// This file is part of Moodle - http://moodle.org/
                    
163            $output .= $this->container(get_string('upgradeassignmentsuccess', 'tool_assignmentupgrade'));
                    
164            $output .= $this->container(html_writer::link(new moodle_url('/course/view.php', array('id'=>$assignmentsummary->courseid)) ,get_string('viewcourse', 'tool_assignmentupgrade')));
                    
165        }
                    
203        $o = ob_get_contents();
                    
204        ob_end_clean();
                    
205
                    
220        $o = ob_get_contents();
                    
221        ob_end_clean();
                    
222
                    
                
Template.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 166 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
161        } catch (\LogicException $e) {
                    
162            ob_end_clean();
                    
163            throw new \LogicException($e->getMessage());
                    
                
walker_menubar_start_el.php https://gitlab.com/relacilia/cakra | PHP | 112 lines
                    
1<?php 
                    
2	function walker_menubar_start_el( $item_output, $item, $depth, $args ){
                    
87			$menubar_widgets_output .= ob_get_contents();
                    
88			ob_end_clean();
                    
89		}
                    
                
eclipse.php https://gitlab.com/vince.omega/mcb-nov-build | PHP | 307 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage Eclipse
                    
6 *  @version    $Id: eclipse.php 1787 2008-04-26 20:35:39Z pp11 $
                    
7 */
                    
10 */
                    
11include_once 'unit_tester.php';
                    
12include_once 'test_case.php';
                    
12include_once 'test_case.php';
                    
13include_once 'invoker.php';
                    
14include_once 'socket.php';
                    
14include_once 'socket.php';
                    
15include_once 'mock_objects.php';
                    
16/**#@-*/
                    
299        $output = ob_get_contents();
                    
300        ob_end_clean();
                    
301        if ($output !== ""){
                    
                
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    {
                    
                
DiactorosFactory.php https://gitlab.com/reasonat/test8 | PHP | 164 lines
                    
1<?php
                    
2
                    
50        } catch (\LogicException $e) {
                    
51            $body = new DiactorosStream('php://temp', 'wb+');
                    
52            $body->write($symfonyRequest->getContent());
                    
124        } else {
                    
125            $stream = new DiactorosStream('php://temp', 'wb+');
                    
126            if ($symfonyResponse instanceof StreamedResponse) {
                    
133                $symfonyResponse->sendContent();
                    
134                ob_end_clean();
                    
135            } else {
                    
                
layout.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 518 lines
                    
1<?php
                    
2/** 
                    
111		if(ob_get_length()){
                    
112			@ob_end_clean();
                    
113		}
                    
169		// clone to CUSTOM dir
                    
170		$source = T3Path::getPath('tpls/' . $original . '.php');
                    
171    $dest   = T3Path::getLocalPath('tpls/' . $layout . '.php');
                    
229		// delete custom layout    
                    
230		$layoutfile = T3Path::getLocalPath('tpls/' . $layout . '.php');
                    
231		$initfile   = T3Path::getLocalPath('etc/layout/' . $layout . '.ini');
                    
255		// delete custom layout
                    
256		$layoutfile = T3Path::getLocalPath('tpls/' . $layout . '.php');
                    
257		$initfile   = T3Path::getLocalPath('etc/layout/' . $layout . '.ini');
                    
259		// delete default layout
                    
260		$defaultlayoutfile = T3_TEMPLATE_PATH . '/tpls/' . $layout . '.php';
                    
261		$defaultinitfile   = T3_TEMPLATE_PATH . '/etc/layout/' . $layout . '.ini';
                    
                
bad.php https://gitlab.com/ricardosanchez/prueba | PHP | 406 lines
                    
1<?php
                    
2/**
                    
8* the Initial Developer. All Rights Reserved.
                    
9* Ported to PHP by Henri Sivonen (http://hsivonen.iki.fi)
                    
10* Slight modifications to fit with phputf8 library by Harry Fuecks (hfuecks gmail com)
                    
12* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
                    
13* @see http://hsivonen.iki.fi/php-utf8/
                    
14* @package utf8
                    
122    $result = ob_get_contents();
                    
123    ob_end_clean();
                    
124    return $result;
                    
160    $result = ob_get_contents();
                    
161    ob_end_clean();
                    
162    return $result;
                    
232* @see utf8_bad_explain
                    
233* @see http://hsivonen.iki.fi/php-utf8/
                    
234* @package utf8
                    
                
AniMonaco.skin.php https://gitlab.com/GethN7/monaco-port | PHP | 149 lines
                    
63		</div>
                    
64<?php
                    
65	}
                    
79		$rsidebar = ob_get_contents();
                    
80		ob_end_clean();
                    
81		if ( !trim($rsidebar) ) {
                    
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>
                    
                
Route.php https://gitlab.com/mlassabe/LASSABE | 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 */
                    
347            } catch (Throwable $e) {
                    
348                ob_end_clean();
                    
349                throw $e;
                    
351            } catch (Exception $e) {
                    
352                ob_end_clean();
                    
353                throw $e;
                    
369                // prepend output buffer content
                    
370                $body = new Http\Body(fopen('php://temp', 'r+'));
                    
371                $body->write($output . $response->getBody());
                    
                
Debug.php https://gitlab.com/aleksbenmaza/PPE_NEW | PHP | 197 lines
                    
1<?php
                    
2/*
                    
74
                    
75        ob_end_clean();
                    
76
                    
                
class-wp-customize-panel.php https://gitlab.com/darmawan.fatria/df-skp-2014 | PHP | 333 lines
                    
252		$template = trim( ob_get_contents() );
                    
253		ob_end_clean();
                    
254		return $template;
                    
297		?>
                    
298		<li id="accordion-panel-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
                    
299			<h3 class="accordion-section-title" tabindex="0">
                    
299			<h3 class="accordion-section-title" tabindex="0">
                    
300				<?php echo esc_html( $this->title ); ?>
                    
301				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
303			<ul class="accordion-sub-container control-panel-content">
                    
304				<?php $this->render_content(); ?>
                    
305			</ul>
                    
306		</li>
                    
307		<?php
                    
308	}
                    
                
Class.php https://gitlab.com/thuan9x/zend | PHP | 265 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Class.php 24032 2011-05-10 21:08:20Z mabe $
                    
21 */
                    
25 */
                    
26require_once 'Zend/Cache/Core.php';
                    
27
                    
233            } catch (Exception $e) {
                    
234                ob_end_clean();
                    
235                throw $e;
                    
                
register-in.inc.php https://gitlab.com/Gashler/dp | PHP | 104 lines
                    
1<?php
                    
2/**
                    
45							{
                    
46								while (@ob_end_clean ()); // Clean any existing output buffers.
                    
47
                    
                
cm-help-items-options.php https://gitlab.com/thisishayat/itv-2016 | PHP | 178 lines
                    
82				<?php $mb->the_field( 'cm-campaign-widget-width' ); ?>
                    
83                <input type="text" name="<?php $mb->the_name(); ?>" placeholder="250px" value="<?php echo $metabox->get_the_value(); ?>"/>
                    
84                <span class='field-info'>campaign width. If blank defaults to 250px. Please input value in pixels.</span>
                    
88				<?php $mb->the_field( 'cm-campaign-widget-height' ); ?>
                    
89                <input type="text" name="<?php $mb->the_name(); ?>" placeholder="350px" value="<?php echo $metabox->get_the_value(); ?>"/>
                    
90                <span class='field-info'>campaign height. If blank defaults to 350px. Please input value in pixels.</span>
                    
94				<?php $mb->the_field( 'cm-campaign-widget-background-color' ); ?>
                    
95                <input type="text" name="<?php $mb->the_name(); ?>" placeholder="#ffffff" value="<?php echo $metabox->get_the_value(); ?>"/>
                    
96                <span class='field-info'>Campaign background color. Please enter it in hexadecimal color format (eg. #abc123). If blank defaults to #ffffff (white).</span>
                    
119			<?php $mb->the_field( 'cm-campaign-widget-show-effect' ); ?>
                    
120            <input type="hidden" name="<?php $mb->the_name(); ?>" placeholder="0" value="<?php echo $mb->get_the_value(); ?>"/>
                    
121
                    
151                <input type="hidden" name="<?php $mb->the_name(); ?>" value="0"/>
                    
152                <input type="checkbox" name="<?php $mb->the_name(); ?>" value="1" <?php checked( '1', $checked ); ?> class="<?php $mb->the_name(); ?>"/>
                    
153                <span class='field-info'>If this checkbox is selected then this campaign will be displayed on each post and page of your website</span>
                    
                
laborator_logo_carousel.php https://gitlab.com/pongpanich/niyomprathai | PHP | 224 lines
                    
1<?php
                    
2/**
                    
45		?>
                    
46		<div class="<?php echo $css_class; ?>">
                    
47
                    
47
                    
48			<div class="logos-carousel is-hidden<?php echo in_array('pagination', $show_navigation) ? ' has-numbers' : ''; ?>" id="<?php echo $rand_id; ?>">
                    
49			<?php
                    
60					<?php if($link): ?>
                    
61					<a href="<?php echo $link; ?>" target="<?php echo $target; ?>">
                    
62					<?php endif; ?>
                    
85				$carousel_el.owlCarousel({
                    
86					items: <?php echo $columns; ?>,
                    
87					navigation: <?php echo in_array('next_prev', $show_navigation) ? 'true' : 'false'; ?>,
                    
108		$output = ob_get_contents();
                    
109		ob_end_clean();
                    
110
                    
                
functions.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 521 lines
                    
222function hemingway_menu() {
                    
223	$page = add_submenu_page('themes.php', 'Hemingway Options', 'Hemingway Options', 5, $hem_loc . 'functions.php', 'menu');
                    
224	add_action('load-' . $page, 'hemingway_scripts');
                    
325		?>
                    
326			<li><?php echo $block_name; ?> (<a href="#" onclick="remove_block('block_1', '<?php echo $block_ref; ?>');">remove</a>)</li>
                    
327		<?php endforeach; ?>
                    
445		onDrop:function(element){
                    
446			new Ajax.Updater('block_5', 'themes.php?page=functions.php&hem_action=add_block&block_place=block_5&block_ref=' + element.id, 
                    
447				{
                    
463		?>
                    
464			<li><?php echo $block_name; ?> (<a href="#" onclick="remove_block('block_6', '<?php echo $block_ref; ?>');">remove</a>)</li>
                    
465		<?php endforeach; ?>
                    
472		onDrop:function(element){
                    
473			new Ajax.Updater('block_6', 'themes.php?page=functions.php&hem_action=add_block&block_place=block_6&block_ref=' + element.id, 
                    
474				{
                    
                
Sitemapper.php https://gitlab.com/michield/dokuwiki | PHP | 214 lines
                    
1<?php
                    
2/**
                    
89        $result = ob_get_contents();
                    
90        ob_end_clean();
                    
91        return $result;
                    
                
widget.php https://gitlab.com/fcupen/PHP-SHOPPING | PHP | 459 lines
                    
1<?php
                    
2/******************************************************
                    
126	  		$output = ob_get_contents();
                    
127      		ob_end_clean( );
                    
128
                    
152	  		$output = ob_get_contents();
                    
153	  		ob_end_clean( );
                    
154		}
                    
192  		$output = ob_get_contents();
                    
193  		ob_end_clean( );
                    
194
                    
215  		$output = ob_get_contents();
                    
216  		ob_end_clean( );
                    
217
                    
247			$output = ob_get_contents();
                    
248			ob_end_clean( );
                    
249
                    
                
 

Source

Language