100+ results results for 'php error_reporting repo:pda/bringit' (337 ms)
39 40 $settings_filename = $this->siteDirectory . '/settings.php'; 41 chmod($settings_filename, 0777); 42 $settings_php = file_get_contents($settings_filename); 43 $settings_php .= "\ninclude_once 'core/tests/Drupal/FunctionalTests/Bootstrap/ErrorContainer.php';\n"; 44 $settings_php .= "\ninclude_once 'core/tests/Drupal/FunctionalTests/Bootstrap/ExceptionContainer.php';\n"; 46 // \Drupal\Core\Test\HttpClientMiddleware\TestHttpClientMiddleware. 47 $settings_php .= "\ndefine('SIMPLETEST_COLLECT_ERRORS', FALSE);\n"; 48 file_put_contents($settings_filename, $settings_php); 123 $settings_php .= "});\n"; 124 file_put_contents($settings_filename, $settings_php); 125 269 $expected_entry = "Failed to log error: Exception: Deforestation in Drupal\\error_service_test\\MonkeysInTheControlRoom->handle() (line ${expected_line} of ${expected_path})"; 270 $this->assertStringContainsString($expected_entry, $errors[0], 'Original error logged to the PHP error log when an exception is thrown by a logger'); 271Kernel.php https://github.com/psycha/symfony-sandbox.git | PHP | 464 lines
66 ini_set('display_errors', 1); 67 error_reporting(-1); 68 117 if (!$this->isDebug()) { 118 require_once __DIR__.'/bootstrap.php'; 119 } 331 { 332 if (!file_exists($location.'.meta') || !file_exists($location.'.php')) { 333 return true; 336 $meta = unserialize(file_get_contents($location.'.meta')); 337 $time = filemtime($location.'.php'); 338 foreach ($meta as $resource) { 412 * 413 * We don't use the PHP php_strip_whitespace() function 414 * as we want the content to be readable and well-formatted.post_thanks_admin.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 359 lines
1<?php 2/*======================================*\ 9 10// ######################## SET PHP ENVIRONMENT ########################### 11error_reporting(E_ALL & ~E_NOTICE); 20// ########################## REQUIRE BACK-END ############################ 21require_once('./global.php'); 22require_once(DIR . '/includes/functions_post_thanks.php'); 126 { 127 print_cp_redirect("post_thanks_admin.php?" . $vbulletin->session->vars['sessionurl'] . "do=post_thanks_user_amount&startat=$finishat&pp=" . $vbulletin->GPC['perpage']); 128 echo "<p><a href=\"post_thanks_admin.php?" . $vbulletin->session->vars['sessionurl'] . "do=post_thanks_user_amount&startat=$finishat&pp=" . $vbulletin->GPC['perpage'] . "\">" . $vbphrase['click_here_to_continue_processing'] . "</a></p>"; 131 { 132 define('CP_REDIRECT', 'post_thanks_admin.php'); 133 print_stop_message('updated_post_counts_successfully'); 181 { 182 print_cp_redirect("post_thanks_admin.php?" . $vbulletin->session->vars['sessionurl'] . "do=post_thanks_thanked_posts&startat=$finishat&pp=" . $vbulletin->GPC['perpage']); 183 echo "<p><a href=\"post_thanks_admin.php?" . $vbulletin->session->vars['sessionurl'] . "do=post_thanks_thanked_posts&startat=$finishat&pp=" . $vbulletin->GPC['perpage'] . "\">" . $vbphrase['click_here_to_continue_processing'] . "</a></p>";lxportmonitor.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 526 lines
1<?php 2 21 22 error_reporting(E_ALL); 23 243 244 $ch = curl_init("http://$raddress:$port/htmllib/mibin/monitordata.php"); 245 curl_setopt($ch, CURLOPT_POST, true); 462 463 $val = @ file_get_contents("commands.php"); 464 if ($val === "2") {ShellTest.php https://gitlab.com/MineYourMind/BoNeMEAL | PHP | 339 lines
1<?php 2 20 21class ShellTest extends \PHPUnit_Framework_TestCase 22{ 66 { 67 $config = $this->getConfig(array('configFile' => __DIR__ . '/../../fixtures/empty.php')); 68 77 $config = $this->getConfig(array( 78 'defaultIncludes' => array('/file.php'), 79 'configFile' => __DIR__ . '/../../fixtures/empty.php', 84 $includes = $shell->getIncludes(); 85 $this->assertEquals('/file.php', $includes[0]); 86 } 120 121 $this->assertContains('PHP Parse error', $streamContents); 122 $this->assertContains('message', $streamContents);ajax.php https://github.com/PaulRover08/Active-Fusion.git | PHP | 293 lines
1<?php 2/** 13 * Dual licensed under the MIT and GPL licenses. 14 * http://www.opensource.org/licenses/mit-license.php 15 * http://www.gnu.org/licenses/gpl.html 33if (DEV) { 34 error_reporting(E_ALL); 35 ini_set('display_errors', 'on'); 37} else { 38 error_reporting(0); 39 ini_set('display_errors', 'off'); 70$cfg['deny'] = array( 71 'file' => array('php','php3','php4','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi'), 72 'flash' => array(), 116 117require_once 'lib.php'; 118update.php https://bitbucket.org/theshipswakecreative/psw.git | PHP | 272 lines
1<?php 2/** 12/** WordPress Administration Bootstrap */ 13require_once( dirname( __FILE__ ) . '/admin.php' ); 14 14 15include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 16 36 37 $url = 'update.php?action=update-selected&plugins=' . urlencode(implode(',', $plugins)); 38 $nonce = 'bulk-update-plugins'; 54 $title = __('Update Plugin'); 55 $parent_file = 'plugins.php'; 56 $submenu_file = 'plugins.php'; 58 wp_enqueue_script( 'updates' ); 59 require_once(ABSPATH . 'wp-admin/admin-header.php'); 60AdsUserTest.php https://github.com/markvince/CakePHP-GAStats-Plugin.git | PHP | 435 lines
1<?php 2/** 23 */ 24error_reporting(E_STRICT | E_ALL); 25 25 26require_once 'Google/Api/Ads/Common/Lib/AdsUser.php'; 27 31 */ 32class AdsUserTest extends PHPUnit_Framework_TestCase { 33 400 const LIB_VERSION = '2.13.0'; 401 const LIB_NAME = "DfpApi-PHP"; 402 402 403 const APPLICATION_NAME = 'GoogleTestPhp'; 404script.php https://gitlab.com/sidneywebba/Jirafeau | PHP | 548 lines
30require (JIRAFEAU_ROOT . 'lib/functions.php'); 31require (JIRAFEAU_ROOT . 'lib/lang.php'); 32 36/* Operations may take a long time. 37 * Be sure PHP's safe mode is off. 38 */ 49 show_errors (); 50 require (JIRAFEAU_ROOT . 'lib/template/footer.php'); 51 exit; 57 <p>See <a href="https://gitlab.com/mojo42/Jirafeau/blob/master/script.php">source code</a> of this interface to get available calls :)</p> 58 <p>Alternatively, go to <a href="<?php echo $cfg['web_root'] . 'script.php?lang=bash'; ?>">this page</a> to download a bash script.</p> 59 </div> 247proxy='' # ex: proxy='proxysever.test.com:3128' or set JIRAFEAU_PROXY global variable 248url='<?php echo $cfg['web_root'] . 'script.php'; ?>' # or set JIRAFEAU_URL ex: url='http://mysite/jirafeau/script.php' 249time='none' # minute, hour, day, week, month, year or none. Or set JIRAFEAU_TIME.Pear.php https://github.com/weburnit/magento-lite.git | PHP | 344 lines
23 * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 39} 40$_pearPhpDir = $_pearDir . DS . 'php'; 41if (strpos($_includePath, $_pearPhpDir) === false) { 52require_once "PEAR/Frontend.php"; 53require_once "PEAR/Registry.php"; 54require_once "PEAR/Config.php"; 54require_once "PEAR/Config.php"; 55require_once "PEAR/Command.php"; 56require_once "PEAR/Exception.php"; 115 $config->set('bin_dir', $pear_dir); 116 $config->set('php_dir', $pear_dir.DS.'php'); 117 $config->set('download_dir', $pear_dir.DS.'download');template.php https://github.com/opportunitylinks/Support-For-Me.git | PHP | 359 lines
1<?php 2//$Id: template.php,v 1.7.2.10 2010/07/22 14:30:03 himerus Exp $ 2//$Id: template.php,v 1.7.2.10 2010/07/22 14:30:03 himerus Exp $ 3// Report all PHP errors (see changelog) 4//ini_set('error_reporting', E_ALL); 11 * This makes it easier to keep sorted the preprocess functions that can be present in the 12 * template.php file. You may still use hook_preprocess_page in template.php 13 * or create a file preprocess-page.inc in the preprocess folder to include the appropriate 44/** 45 * Preprocessor for page.tpl.php template file. 46 * The default functionality can be found in preprocess/preprocess-page.inc 90 * 91 * class="<?php print ns('grid-16', $var_a, 6); ?>" 92 *Smarty.class.php https://github.com/quarkness/piwik.git | PHP | 1553 lines
27 * @author Monte Ohrt <monte at ohrt dot com> 28 * @author Andrei Zmievski <andrei@php.net> 29 * @package Smarty 56define('SMARTY_PHP_PASSTHRU', 0); 57define('SMARTY_PHP_QUOTE', 1); 58define('SMARTY_PHP_REMOVE', 2); 193 * <ul> 194 * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 196 * <li>SMARTY_PHP_REMOVE -> remove php tags</li> 197 * <li>SMARTY_PHP_ALLOW -> execute php tags</li> 201 */ 202 var $php_handling = SMARTY_PHP_PASSTHRU; 203Kernel.php https://github.com/Exercise/symfony.git | PHP | 757 lines
1<?php 2 15use Symfony\Component\DependencyInjection\ContainerBuilder; 16use Symfony\Component\DependencyInjection\Dumper\PhpDumper; 17use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; 20use Symfony\Component\DependencyInjection\Loader\IniFileLoader; 21use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; 22use Symfony\Component\DependencyInjection\Loader\ClosureLoader; 91 ini_set('display_errors', 1); 92 error_reporting(-1); 93 95 ErrorHandler::register($this->errorReportingLevel); 96 if ('cli' !== php_sapi_name()) { 97 ExceptionHandler::register(); 248 if (!isset($this->bundleMap[$name])) { 249 throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() function of your %s.php file?', $name, get_class($this))); 250 }configure.test.php https://github.com/cgajardo/repositorium.git | PHP | 833 lines
8 * 9 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 10 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 17 * @package cake 18 * @subpackage cake.tests.cases.libs 19 * @since CakePHP(tm) v 1.2.0.5432 20 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 146 Configure::write('debug', 0); 147 $result = ini_get('error_reporting'); 148 $this->assertEqual($result, 0); 150 Configure::write('debug', 2); 151 $result = ini_get('error_reporting'); 152 $this->assertEqual($result, E_ALL & ~E_DEPRECATED);configure.php https://github.com/cgajardo/repositorium.git | PHP | 1320 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 32 * 33 * @link http://book.cakephp.org/view/931/CakePHP-Core-Configuration-Variables 34 * @var integer 392 if (!include(CONFIGS . 'core.php')) { 393 trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR); 394 } 433 if (!include(CONFIGS . 'bootstrap.php')) { 434 trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR); 435 }cake.php https://github.com/cgajardo/repositorium.git | PHP | 666 lines
9 * 10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2005-2010, Cake Software Foundation, Inc. 16 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link http://cakephp.org CakePHP(tm) Project 18 * @package cake 156 if (!defined('CAKE_CORE_INCLUDE_PATH')) { 157 define('PHP5', (PHP_VERSION >= 5)); 158 define('DS', DIRECTORY_SEPARATOR); 188 $this->stderr('and check the manual for the correct usage of this command.'); 189 $this->stderr('(http://manual.cakephp.org/)'); 190 $this->_stop(); 582 $this->clear(); 583 $this->stdout("\nWelcome to CakePHP v" . Configure::version() . " Console"); 584 $this->stdout("---------------------------------------------------------------");install.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 1247 lines
1<?php 2 26 27 if (!is_file($path . '/jce.php')) { 28 self::removePackages(); 71 72 if (is_file($path . '/install.script.php')) { 73 jimport('joomla.filesystem.folder'); 75 76 JFile::delete($path . '/install.script.php'); 77 JFolder::delete($path); 81 public static function install($installer) { 82 error_reporting(E_ERROR | E_WARNING); 83 261 262 //require_once($admin . '/helpers/parameter.php'); 263 // check for groups table / datachatd.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1099 lines
46$phpversion = phpversion(); 47echo 'Moodle chat daemon v1.0 on PHP '.$phpversion."\n\n"; 48 50 51/// $CFG variables are now defined in database by chat/lib.php 52 52 53$_SERVER['PHP_SELF'] = 'dummy'; 54$_SERVER['SERVER_NAME'] = 'dummy'; 57$_SERVER['SERVER_NAME'] = $CFG->chat_serverhost; 58$_SERVER['PHP_SELF'] = "http://$CFG->chat_serverhost:$CFG->chat_serverport/mod/chat/chatd.php"; 59 61if(!empty($safemode)) { 62 die("Error: Cannot run with PHP safe_mode = On. Turn off safe_mode in php.ini.\n"); 63}sqlsrv_native_moodle_database.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1347 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once(__DIR__.'/moodle_database.php'); 28require_once(__DIR__.'/sqlsrv_native_moodle_recordset.php'); 28require_once(__DIR__.'/sqlsrv_native_moodle_recordset.php'); 29require_once(__DIR__.'/sqlsrv_native_moodle_temptables.php'); 30 40 protected $sqlsrv = null; 41 protected $last_error_reporting; // To handle SQL*Server-Native driver default verbosity 42 protected $temptables; // Control existing temptables (sqlsrv_moodle_temptables object) 56 /** 57 * Detects if all needed PHP stuff installed. 58 * Note: can be used before connect() 65 if (!function_exists('sqlsrv_num_rows')) { 66 if (stripos(PHP_OS, 'win') === 0) { 67 return get_string('nativesqlsrvnodriver', 'install');pgsql_native_moodle_database.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1343 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once(__DIR__.'/moodle_database.php'); 28require_once(__DIR__.'/pgsql_native_moodle_recordset.php'); 28require_once(__DIR__.'/pgsql_native_moodle_recordset.php'); 29require_once(__DIR__.'/pgsql_native_moodle_temptables.php'); 30 42 43 protected $last_error_reporting; // To handle pgsql driver default verbosity 44 235 // pgsql driver tents to send debug to output, we do not need that ;-) 236 $this->last_error_reporting = error_reporting(0); 237 } 245 // reset original debug level 246 error_reporting($this->last_error_reporting); 247 try {oci_native_moodle_database.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1184 lines
28require_once(__DIR__.'/oci_native_moodle_recordset.php'); 29require_once(__DIR__.'/oci_native_moodle_temptables.php'); 30 34 * One complete reference for PHP + OCI: 35 * http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html 36 * 50 /** @var To handle oci driver default verbosity.*/ 51 private $last_error_reporting; 52 /** @var To store unique_session_id. Needed for temp tables unique naming.*/ 250 // oci driver tents to send debug to output, we do not need that ;-) 251 $this->last_error_reporting = error_reporting(0); 252 } 260 // reset original debug level 261 error_reporting($this->last_error_reporting); 262 if ($stmt and $result === false) {mssql_native_moodle_database.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 1320 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 26 27require_once(__DIR__.'/moodle_database.php'); 28require_once(__DIR__.'/mssql_native_moodle_recordset.php'); 28require_once(__DIR__.'/mssql_native_moodle_recordset.php'); 29require_once(__DIR__.'/mssql_native_moodle_temptables.php'); 30 143 if (isset($dboptions['dbport'])) { 144 if (stristr(PHP_OS, 'win') && !stristr(PHP_OS, 'darwin')) { 145 $dbhost .= ','.$dboptions['dbport']; 244 // mssql driver tends to send debug to output, we do not need that ;-) 245 $this->last_error_reporting = error_reporting(0); 246 } 254 // reset original debug level 255 error_reporting($this->last_error_reporting); 256 parent::query_end($result);install.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 612 lines
38 39// If config.php exists we just created config.php and need to redirect to continue installation 40$configfile = './config.php'; 61if (version_compare(phpversion(), '5.3.3') < 0) { 62 $phpversion = phpversion(); 63 // do NOT localise - lang strings would not work here and we CAN not move it after installib 63 // do NOT localise - lang strings would not work here and we CAN not move it after installib 64 echo "Moodle 2.5 or later requires at least PHP 5.3.3 (currently using version $phpversion).<br />"; 65 echo "Please upgrade your server software or install older Moodle version."; 153 154// Fake some settings so that we can use selected functions from moodlelib.php and weblib.php 155$CFG = new stdClass(); 269 if ($hint_database === '') { 270 $configphp = install_generate_configphp($database, $CFG); 271plugins.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 437 lines
1<?php 2/** 39 40 $result = activate_plugin($plugin, self_admin_url('plugins.php?error=true&plugin=' . $plugin), is_network_admin() ); 41 if ( is_wp_error( $result ) ) { 42 if ( 'unexpected_output' == $result->get_error_code() ) { 43 $redirect = self_admin_url('plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin . "&plugin_status=$status&paged=$page&s=$s"); 44 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); 57 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 58 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix 59 } else { 222 223 include(ABSPATH . 'wp-admin/update.php'); 224 265 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 266 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This plugin may be active on other sites in the network.', 'These plugins may be active on other sites in the network.', $plugins_to_delete ); ?></p></div> 267 <?php endif; ?>plugins.php https://github.com/muskmelon/Greemo.git | PHP | 407 lines
1<?php 2/** 47 if ( 'unexpected_output' == $result->get_error_code() ) { 48 $redirect = self_admin_url('plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin . "&plugin_status=$status&paged=$page&s=$s"); 49 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); 61 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 62 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix 63 } else { 63 } else { 64 wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above 65 } 212 wp_enqueue_script('jquery'); 213 require_once(ABSPATH . 'wp-admin/admin-header.php'); 214 ?> 249 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 250 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This plugin may be active on other sites in the network.', 'These plugins may be active on other sites in the network.', $plugins_to_delete ); ?></p></div> 251 <?php endif; ?>AvisotaNewsletterTransport.php https://github.com/avisota/contao-core.git | PHP | 597 lines
1<?php if (defined('TL_ROOT')) { 2 die('You can not access this file via contao!'); 8 * 9 * PHP version 5 10 * 30// initialize contao 31include('../../initialize.php'); 32 33// disable error reporting 34#error_reporting(0); 35 105 $this->log('Not enough permissions to send avisota newsletter', 'AvisotaNewsletterTransport', TL_ERROR); 106 $this->redirect('contao/main.php?act=error'); 107 } 120 $this->log('No action given.', 'AvisotaNewsletterTransport', TL_ERROR); 121 $this->redirect('contao/main.php?act=error'); 122 }sitemap-ui.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 986 lines
39 <h3 class="dbx-handle"><?php echo $title ?></h3> 40 <?php if(!$right): ?></div><?php endif; ?> 41 41 42 <?php if(!$right): ?><div class="dbx-c-ontent-wrapper"><?php endif; ?> 43 <div class="dbx-content"> 318 <div class="updated"> 319 <strong><p><?php _e('Thank you very much for your donation. You help me to continue support and development of this plugin and other free software!','sitemap'); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonate=true"; ?>"><small style="font-weight:normal;"><?php _e('Hide this notice', 'sitemap'); ?></small></a></p></strong> 320 </div> 324 <div class="updated"> 325 <strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-donate-note"),__('Thanks for using this plugin! You\'ve installed this plugin over a month ago. If it works and you are satisfied with the results, isn\'t it worth at least a few dollar? <a href="%s">Donations</a> help me to continue support and development of this <i>free</i> software! <a href="%s">Sure, no problem!</a>','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_donated=true"; ?>" style="float:right; display:block; border:none; margin-left:10px;"><small style="font-weight:normal; "><?php _e('Sure, but I already did!', 'sitemap'); ?></small></a> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_note=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('No thanks, please don\'t bug me anymore!', 'sitemap'); ?></small></a></p></strong> 326 <div style="clear:right;"></div> 331 <div class="updated"> 332 <strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-works-note"),__('Thanks for using this plugin! You\'ve installed this plugin some time ago. If it works and your are satisfied, why not <a href="%s">rate it</a> and <a href="%s">recommend it</a> to others? :-)','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_works=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('Don\'t show this anymore', 'sitemap'); ?></small></a></p></strong> 333 <div style="clear:right;"></div>sitemap-core.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 1691 lines
1<?php 2/* 3 4 $Id: sitemap-core.php 583237 2012-08-08 21:06:12Z arnee $ 5 8//Enable for dev! Good code doesn't generate any notices... 9//error_reporting(E_ALL); 10//ini_set("display_errors",1);plugins.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 444 lines
1<?php 2/** 44 if ( 'unexpected_output' == $result->get_error_code() ) { 45 $redirect = self_admin_url('plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin . "&plugin_status=$status&paged=$page&s=$s"); 46 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); 54 if ( is_network_only_plugin( $plugin ) ) { 55 wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); 56 exit; 64 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 65 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix 66 } else { 229 230 include(ABSPATH . 'wp-admin/update.php'); 231 272 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 273 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This plugin may be active on other sites in the network.', 'These plugins may be active on other sites in the network.', $plugins_to_delete ); ?></p></div> 274 <?php endif; ?>index.php https://github.com/snc/MoZBX.git | PHP | 319 lines
80 <ul class="rounded"> 81 <li><a href="<?php echo $arrSettings["urlApplication"]?>logout.php" target="_webapp"><img src="images/logout.png" class="icon_list">Logout</a></li> 82 <li><a href="feedback.php" target="_webapp"><img src="images/feedback.png" class="icon_list">Send feedback</a></li> 259 <ul class="rounded"> 260 <form method="post" action="<?php echo $_SERVER['PHP_SELF']?>" class="form" > 261 <?php 266 API URL<br /> 267 <input type='text' name='zabbixApi' value='<?php echo isset($_POST['zabbixApi']) ? $_POST['zabbixApi'] : $zabbixApi ?>' style="<?php echo $arrSettings["cssStyleTextfield"]?>" /> 268 </li> 282 User<br /> 283 <input type="text" name="zabbixUsername" value="<?php echo isset($_POST['zabbixUsername']) ? $_POST['zabbixUsername'] : $zabbixUser?>" style="<?php echo $arrSettings["cssStyleTextfield"]?>" /> 284 </li> 287 Password <br /> 288 <input type="password" name="zabbixPassword" value="<?php echo isset($_POST['zabbixPassword']) ? $_POST['zabbixPassword'] : $zabbixPass?>" style="<?php echo $arrSettings["cssStyleTextfield"]?>" /> 289 </li>index.php https://github.com/Sazaju/Zero-Fansub-website.git | PHP | 408 lines
1<?php 2// 20{ 21 if (0 == error_reporting()) 22 { 45 } 46 phpinfo(); 47 } 53if (TEST_MODE_ACTIVATED) { 54 error_reporting(E_ALL); 55 ini_set('display_errors', '1'); 231 <script type="text/javascript" language="Javascript"> 232 <?php 233 echo "alert(\"$message\");"; 235 </script> 236 <?php 237}index.php https://gitlab.com/muktobani/web_site | PHP | 316 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 53 * 54 * NOTE: If you change these, also change the error_reporting() code below 55 */ 68 case 'development': 69 error_reporting(-1); 70 ini_set('display_errors', 0); 76 ini_set('display_errors', 0); 77 if (version_compare(PHP_VERSION, '5.3', '>=')) 78 { 78 { 79 error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); 80 }DebugClassLoaderTest.php https://gitlab.com/4gdevs/online-class-record-system | PHP | 296 lines
1<?php 2 17 18class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase 19{ 28 { 29 $this->errorReporting = error_reporting(E_ALL | E_STRICT); 30 $this->loader = new ClassLoader(); 38 spl_autoload_unregister(array($this->loader, 'loadClass')); 39 error_reporting($this->errorReporting); 40 } 63 { 64 if (PHP_VERSION_ID >= 70000) { 65 $this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.'); 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)) {UncaughtExceptionTest.php https://gitlab.com/reasonat/test8 | PHP | 280 lines
34 35 $settings_filename = $this->siteDirectory . '/settings.php'; 36 chmod($settings_filename, 0777); 37 $settings_php = file_get_contents($settings_filename); 38 $settings_php .= "\ninclude_once 'core/modules/system/src/Tests/Bootstrap/ErrorContainer.php';\n"; 39 $settings_php .= "\ninclude_once 'core/modules/system/src/Tests/Bootstrap/ExceptionContainer.php';\n"; 39 $settings_php .= "\ninclude_once 'core/modules/system/src/Tests/Bootstrap/ExceptionContainer.php';\n"; 40 file_put_contents($settings_filename, $settings_php); 41 98 $settings_php .= " header('HTTP/1.1 418 I\'m a teapot');\n"; 99 $settings_php .= " print('Oh oh, flying teapots');\n"; 100 $settings_php .= "});\n"; 258 259 $expected_path = \Drupal::root() . '/core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php'; 260 $expected_line = 59;openqrm-lvm-aoe-deployment-auth-hook.php https://github.com/qyjohn/openqrm.git | PHP | 342 lines
1<?php 2/** 23 24// error_reporting(E_ALL); 25$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/'; 25$RootDir = $_SERVER["DOCUMENT_ROOT"].'/openqrm/base/'; 26require_once "$RootDir/include/user.inc.php"; 27require_once "$RootDir/class/event.class.php"; 27require_once "$RootDir/class/event.class.php"; 28require_once "$RootDir/class/resource.class.php"; 29require_once "$RootDir/class/image.class.php"; 29require_once "$RootDir/class/image.class.php"; 30require_once "$RootDir/class/image_authentication.class.php"; 31require_once "$RootDir/class/storage.class.php"; 31require_once "$RootDir/class/storage.class.php"; 32require_once "$RootDir/class/deployment.class.php"; 33require_once "$RootDir/class/appliance.class.php";sitemap-ui.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 954 lines
39 <h3 class="dbx-handle"><?php echo $title ?></h3> 40 <?php if(!$right): ?></div><?php endif; ?> 41 55 ?> 56 <?php if(!$right): ?></div><?php endif; ?> 57 </div> 306 <div class="updated"> 307 <strong><p><?php _e('Thank you very much for your donation. You help me to continue support and development of this plugin and other free software!','sitemap'); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hidedonate=true"; ?>"><small style="font-weight:normal;"><?php _e('Hide this notice', 'sitemap'); ?></small></a></p></strong> 308 </div> 312 <div class="updated"> 313 <strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-donate-note"),__('Thanks for using this plugin! You\'ve installed this plugin over a month ago. If it works and you are satisfied with the results, isn\'t it worth at least a few dollar? <a href="%s">Donations</a> help me to continue support and development of this <i>free</i> software! <a href="%s">Sure, no problem!</a>','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_donated=true"; ?>" style="float:right; display:block; border:none; margin-left:10px;"><small style="font-weight:normal; "><?php _e('Sure, but I already did!', 'sitemap'); ?></small></a> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_note=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('No thanks, please don\'t bug me anymore!', 'sitemap'); ?></small></a></p></strong> 314 <div style="clear:right;"></div> 319 <div class="updated"> 320 <strong><p><?php echo str_replace("%s",$this->sg->GetRedirectLink("sitemap-works-note"),__('Thanks for using this plugin! You\'ve installed this plugin some time ago. If it works and your are satisfied, why not <a href="%s">rate it</a> and <a href="%s">recommend it</a> to others? :-)','sitemap')); ?> <a href="<?php echo $this->sg->GetBackLink() . "&sm_hide_works=true"; ?>" style="float:right; display:block; border:none;"><small style="font-weight:normal; "><?php _e('Don\'t show this anymore', 'sitemap'); ?></small></a></p></strong> 321 <div style="clear:right;"></div>sitemap-core.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 1710 lines
1<?php 2/* 3 4 $Id: sitemap-core.php 246875 2010-05-29 07:22:02Z arnee $ 5 8//Enable for dev! Good code doesn't generate any notices... 9//error_reporting(E_ALL); 10//ini_set("display_errors",1);plugins.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 785 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once('./admin.php'); 11 51 52 $result = activate_plugin($plugin, 'plugins.php?error=true&plugin=' . $plugin, $network_wide); 53 if ( is_wp_error( $result ) ) { 54 if ( 'unexpected_output' == $result->get_error_code() ) { 55 $redirect = 'plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin; 56 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); 68 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 69 wp_redirect("import.php?import=" . str_replace('-importer', '', dirname($plugin)) ); // overrides the ?error=true one above and redirects to the Imports page, striping the -importer suffix 70 } else { 70 } else { 71 wp_redirect("plugins.php?activate=true&plugin_status=$status&paged=$page"); // overrides the ?error=true one above 72 }xmlrpc.php https://gitlab.com/endomorphosis/reservationtelco | PHP | 1867 lines
34?> 35<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 36<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> 41 <apis> 42 <api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 43 <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 43 <api name="Movable Type" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 44 <api name="MetaWeblog" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 45 <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 45 <api name="Blogger" blogID="1" preferred="false" apiLink="<?php echo site_url('xmlrpc.php', 'rpc') ?>" /> 46 <api name="Atom" blogID="" preferred="false" apiLink="<?php echo apply_filters('atom_service_url', site_url('wp-app.php/service', 'rpc') ) ?>" /> 47 </apis> 53 54include_once(ABSPATH . 'wp-admin/includes/admin.php'); 55include_once(ABSPATH . WPINC . '/class-IXR.php');phpmailerTest.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 670 lines
2/** 3* PHPMailer - PHP email transport unit tests 4* Before running these tests you need to install PHPUnit 3.3 or later through pear, like this: 4* Before running these tests you need to install PHPUnit 3.3 or later through pear, like this: 5* pear install "channel://pear.phpunit.de/PHPUnit" 6* Then run the tests like this: 6* Then run the tests like this: 7* phpunit phpmailerTest 8* @package PHPMailer 23/** 24* PHPMailer - PHP email transport unit test class 25* Performs authentication tests 359 $this->assertEquals($t, quoted_printable_decode($this->Mail->EncodeQP($t)), 'QP encoding round-trip failed'); 360 //$this->assertEquals($t, quoted_printable_decode($this->Mail->EncodeQPphp($t)), 'Native PHP QP encoding round-trip failed'); //TODO the PHP qp encoder is quite broken 361php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 233 lines
97 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 98 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; 99 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 141 "{": function(_stream, state) { 142 if (state.phpEncapsStack && state.phpEncapsStack.length > 0) 143 state.phpEncapsStack[state.phpEncapsStack.length - 1]++; 147 if (state.phpEncapsStack && state.phpEncapsStack.length > 0) 148 if (--state.phpEncapsStack[state.phpEncapsStack.length - 1] == 0) 149 state.tokenize = stringWithEscapes; 156 var htmlMode = CodeMirror.getMode(config, "text/html"); 157 var phpMode = CodeMirror.getMode(config, phpConfig); 158 159 function dispatch(stream, state) { 160 var isPHP = state.curMode == phpMode; 161 if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null;smarty_internal_templatebase.php https://gitlab.com/fiesta-framework/Documentation | PHP | 860 lines
1<?php 2/** 86 if (isset($this->smarty->error_reporting)) { 87 $_smarty_old_error_level = error_reporting($this->smarty->error_reporting); 88 } 247 // escape PHP tags in template content 248 $output .= preg_replace('/(<%|%>|<\?php|<\?|\?>|<script\s+language\s*=\s*[\"\']?\s*php\s*[\"\']?\s*>)/', "<?php echo '\$1'; ?>\n", $curr_split); 249 if (isset($cache_parts[0][$curr_idx])) {ErrorHandlerTest.php https://gitlab.com/ealexis.t/trends | PHP | 491 lines
1<?php 2 24 */ 25class ErrorHandlerTest extends \PHPUnit_Framework_TestCase 26{ 160 $handler->throwAt(0, true); 161 $this->assertFalse($handler->handleError(0, 'foo', 'foo.php', 12, array())); 162 167 $handler->throwAt(3, true); 168 $this->assertFalse($handler->handleError(4, 'foo', 'foo.php', 12, array())); 169 175 try { 176 $handler->handleError(4, 'foo', 'foo.php', 12, array()); 177 } catch (\ErrorException $e) { 179 $this->assertSame(4, $e->getSeverity()); 180 $this->assertSame('foo.php', $e->getFile()); 181 $this->assertSame(12, $e->getLine());nette.min.php https://gitlab.com/essere.lab.public/qualitas.class-corpus | PHP | 2098 lines
1<?php //netteloader=Nette\Framework 2 13 14error_reporting(E_ALL | E_STRICT); 15@set_magic_quotes_runtime(FALSE); 779 if (!function_exists('spl_autoload_register')) { 780 throw new Nette\NotSupportedException('spl_autoload does not exist in this PHP installation.'); 781 } 843 if (is_bool($var)) { 844 return '<span class="php-bool">' . ($var ? 'TRUE' : 'FALSE') . "</span>\n"; 845 846 } elseif ($var === NULL) { 847 return "<span class=\"php-null\">NULL</span>\n"; 848 849 } elseif (is_int($var)) { 850 return "<span class=\"php-int\">$var</span>\n"; 851class-wp-http-streams.php https://gitlab.com/VTTE/sitios-vtte | PHP | 473 lines
1<?php 2/** 10/** 11 * Core class used to integrate PHP Streams as an HTTP transport. 12 * 138 if ( $secure_transport ) { 139 $error_reporting = error_reporting( 0 ); 140 } 142 if ( $proxy->is_enabled() && $proxy->send_through_proxy( $url ) ) { 143 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 144 $handle = @stream_socket_client( 'tcp://' . $proxy->host() . ':' . $proxy->port(), $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); 145 } else { 146 // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged 147 $handle = @stream_socket_client( $connect_host . ':' . $arrURL['port'], $connection_error, $connection_error_str, $connect_timeout, STREAM_CLIENT_CONNECT, $context ); 150 if ( $secure_transport ) { 151 error_reporting( $error_reporting ); 152 }php.js https://gitlab.com/x33n/CodeMirror | JavaScript | 234 lines
33 function phpString(closing, escapes) { 34 return function(stream, state) { return phpString_(stream, state, closing, escapes); }; 35 } 35 } 36 function phpString_(stream, state, closing, escapes) { 37 // "Complex" syntax 88 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 89 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; 90 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 90 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 91 CodeMirror.registerHelper("wordChars", "php", /[\w$]/); 92 92 93 var phpConfig = { 94 name: "clike",Kernel.php https://gitlab.com/x33n/Backbone-Music-Store | PHP | 787 lines
1<?php 2 15use Symfony\Component\DependencyInjection\ContainerBuilder; 16use Symfony\Component\DependencyInjection\Dumper\PhpDumper; 17use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; 20use Symfony\Component\DependencyInjection\Loader\IniFileLoader; 21use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; 22use Symfony\Component\DependencyInjection\Loader\ClosureLoader; 95 ini_set('display_errors', 1); 96 error_reporting(-1); 97 99 ErrorHandler::register($this->errorReportingLevel); 100 if ('cli' !== php_sapi_name()) { 101 ExceptionHandler::register(); 252 if (!isset($this->bundleMap[$name])) { 253 throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, get_class($this))); 254 }PublicController.php https://gitlab.com/x33n/ImpressPages | PHP | 454 lines
1<?php 2 18 if (!empty($_SESSION['install_debug'])) { 19 error_reporting(E_ALL); 20 ini_set('display_errors', 1); 39 $answer = array( 40 'html' => ipView('view/sessionsDontWork.php')->render() 41 ); 102 103 return Helper::renderLayout('view/configuration.php', $data); 104 } 124 $requirements[] = array( 125 'name' => __('PHP version >= 5.3.3', 'Install'), 126 'helpUrl' => 'http://www.impresspages.org/help/php533', 126 'helpUrl' => 'http://www.impresspages.org/help/php533', 127 'type' => Helper::checkPhpVersion() 128 );Application.php https://gitlab.com/x33n/ImpressPages | PHP | 484 lines
1<?php 2/** 57 58 require_once __DIR__ . '/Config.php'; 59 60 $config = new \Ip\Config($config); 61 require_once __DIR__ . '/ServiceLocator.php'; 62 \Ip\ServiceLocator::setConfig($config); 63 64 require_once __DIR__ . '/Internal/Autoloader.php'; 65 68 69 require_once __DIR__ . '/Functions.php'; 70 } 175 $locale .= '.utf8'; 176 if($locale == "tr_TR.utf8" && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION < 5)) { //Overcoming this bug https://bugs.php.net/bug.php?id=18556 177 setlocale(LC_COLLATE, $locale);smarty_internal_templatebase.php https://gitlab.com/staging06/myproject | PHP | 860 lines
1<?php 2/** 86 if (isset($this->smarty->error_reporting)) { 87 $_smarty_old_error_level = error_reporting($this->smarty->error_reporting); 88 } 247 // escape PHP tags in template content 248 $output .= preg_replace('/(<%|%>|<\?php|<\?|\?>)/', "<?php echo '\$1'; ?>\n", $curr_split); 249 if (isset($cache_parts[0][$curr_idx])) {common.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 631 lines
1<?php 2# try to load the wordpress environment from passed in location known by the client 5if ( isset( $_POST["root"] ) ) { 6 require_once( $_POST["root"] . "/wp-load.php" ); 7} else { 7} else { 8 require_once( dirname( __FILE__ ) . "/../../../wp-load.php" ); 9} 10 11require_once( ABSPATH . "wp-admin/includes/admin.php" ); 12 17ob_end_clean(); 18error_reporting( E_ALL ^ E_PARSE ); 19set_time_limit( 0 ); 22 function json_encode( $value ) { 23 require_once( "lib/FastJSON.class.php" ); 24 return FastJSON::encode($value);addgallery.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 417 lines
9 /** 10 * PHP4 compatibility layer for calling the PHP5 constructor. 11 * 226 jQuery("#file_browser").fileTree({ 227 script: "admin-ajax.php?action=ngg_file_browser&nonce=<?php echo wp_create_nonce( 'ngg-ajax' ) ;?>", 228 root: jQuery("#galleryfolder").val(), 298 <?php if(!is_multisite()) { ?> 299 <?php _e('Create a new , empty gallery below the folder', 'nggallery') ;?> <strong><?php echo $this->defaultpath ?></strong><br /> 300 <?php } ?> 360 <th scope="row"><?php _e('Import from Server path:', 'nggallery') ;?></th> 361 <td><input type="text" size="35" id="galleryfolder" name="galleryfolder" value="<?php echo $this->defaultpath; ?>" /><span class="browsefiles button" style="display:none"><?php _e('Browse...', 'nggallery'); ?></span><br /> 362 <div id="file_browser"></div> 364 <br /><?php echo $this->maxsize; ?> 365 <?php if (SAFE_MODE) {?><br /><?php _e(' Please note : For safe-mode = ON you need to add the subfolder thumbs manually', 'nggallery') ;?><?php }; ?></td> 366 </tr>nggallery.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 526 lines
1<?php 2/* 29// Stop direct call 30if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); } 31 32// ini_set('display_errors', '1'); 33// ini_set('error_reporting', E_ALL); 34if (!class_exists('nggLoader')) { 39 var $minium_WP = '3.0'; 40 var $donators = 'http://nextgen.boelinger.com/donators.php'; 41 var $options = ''; 42 var $manage_page; 43 var $add_PHP5_notice = false; 44 76 77 // Add a message for PHP4 Users, can disable the update message later on 78 if (version_compare(PHP_VERSION, '5.0.0', '<'))plugins.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 450 lines
1<?php 2/** 39 40 $result = activate_plugin($plugin, self_admin_url('plugins.php?error=true&plugin=' . $plugin), is_network_admin() ); 41 if ( is_wp_error( $result ) ) { 42 if ( 'unexpected_output' == $result->get_error_code() ) { 43 $redirect = self_admin_url('plugins.php?error=true&charsout=' . strlen($result->get_error_data()) . '&plugin=' . $plugin . "&plugin_status=$status&paged=$page&s=$s"); 44 wp_redirect(add_query_arg('_error_nonce', wp_create_nonce('plugin-activation-error_' . $plugin), $redirect)); 57 if ( isset($_GET['from']) && 'import' == $_GET['from'] ) { 58 wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix 59 } else { 218 if ( empty( $plugins ) ) { 219 wp_redirect( self_admin_url( "plugins.php?error=true&main=true&plugin_status=$status&paged=$page&s=$s" ) ); 220 exit; 264 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 265 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo _n( 'This plugin may be active on other sites in the network.', 'These plugins may be active on other sites in the network.', $plugins_to_delete ); ?></p></div> 266 <?php endif; ?>fsc.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 481 lines
1<?php 2error_reporting(-1); 67 * instance must be the same or a descendent of the class enclosing the 68 * current method. The PHP group is in the process of depracating this 69 * behavior. HipHop explicitly lists this in the inconsistencies doc. 71 * instance must be the same as the current late bound class (aka the 72 * "called class"). This invariant is stated explicitly in PHP5's 73 * documentation: "In non-static contexts, the called class will be the 75 * 3) Normal style calls and call_user_func style calls should produce 76 * consistent results aside from any exceptions mentioned in PHP5's 77 * documentation. Therefore, "B::foo()" and "call_user_func('B::foo')"cuf.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 689 lines
1<?php 2error_reporting(-1); 67 * instance must be the same or a descendent of the class enclosing the 68 * current method. The PHP group is in the process of depracating this 69 * behavior. HipHop explicitly lists this in the inconsistencies doc. 71 * instance must be the same as the current late bound class (aka the 72 * "called class"). This invariant is stated explicitly in PHP5's 73 * documentation: "In non-static contexts, the called class will be the 75 * 3) Normal style calls and call_user_func style calls should produce 76 * consistent results aside from any exceptions mentioned in PHP5's 77 * documentation. Therefore, "B::meth()" and "call_user_func('B::meth')"php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 226 lines
87 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 88 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; 89 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 91 92 var phpConfig = { 93 name: "clike", 93 name: "clike", 94 helperType: "php", 95 keywords: keywords(phpKeywords), 149 var htmlMode = CodeMirror.getMode(config, "text/html"); 150 var phpMode = CodeMirror.getMode(config, phpConfig); 151 152 function dispatch(stream, state) { 153 var isPHP = state.curMode == phpMode; 154 if (stream.sol() && state.pending && state.pending != '"' && state.pending != "'") state.pending = null;php.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 230 lines
94 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 95 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"; 96 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 192 startState: function() { 193 var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode); 194 return {html: html, 194 return {html: html, 195 php: php, 196 curMode: parserConfig.startOpen ? phpMode : htmlMode, 202 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 203 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 204 if (state.curMode == htmlMode) cur = htmlNew; 205 else cur = phpNew; 206 return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur, 207 pending: state.pendphp.js https://gitlab.com/Blueprint-Marketing/cdnjs | JavaScript | 221 lines
85 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 86 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"; 87 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 183 startState: function() { 184 var html = CodeMirror.startState(htmlMode), php = CodeMirror.startState(phpMode); 185 return {html: html, 185 return {html: html, 186 php: php, 187 curMode: parserConfig.startOpen ? phpMode : htmlMode, 193 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 194 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 195 if (state.curMode == htmlMode) cur = htmlNew; 196 else cur = phpNew; 197 return {html: htmlNew, php: phpNew, curMode: state.curMode, curState: cur, 198 pending: state.pending};class-fusion-reversal.php https://gitlab.com/webkod3r/tripolis | PHP | 1328 lines
1<?php 2 /** 187 ini_set('display_startup_errors',1);*/ 188 error_reporting( 0 ); 189plugins.php https://gitlab.com/webkod3r/tripolis | PHP | 529 lines
1<?php 2/** 9/** WordPress Administration Bootstrap */ 10require_once( dirname( __FILE__ ) . '/admin.php' ); 11 35 if ( is_multisite() && ! is_network_admin() && is_network_only_plugin( $plugin ) ) { 36 wp_redirect( self_admin_url("plugins.php?plugin_status=$status&paged=$page&s=$s") ); 37 exit; 41 42 $result = activate_plugin($plugin, self_admin_url('plugins.php?error=true&plugin=' . $plugin), is_network_admin() ); 43 if ( is_wp_error( $result ) ) { 289 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 290 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This plugin may be active on other sites in the network.' ); ?></p></div> 291 <?php endif; ?> 295 <?php if ( $have_non_network_plugins && is_network_admin() ) : ?> 296 <div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These plugins may be active on other sites in the network.' ); ?></p></div> 297 <?php endif; ?>smarty_internal_templatebase.php https://gitlab.com/adamlwalker/generatedata | PHP | 811 lines
1<?php 2/** 84 if (isset($this->smarty->error_reporting)) { 85 $_smarty_old_error_level = error_reporting($this->smarty->error_reporting); 86 } 237 // escape PHP tags in template content 238 $output .= preg_replace('/(<%|%>|<\?php|<\?|\?>)/', '<?php echo \'$1\'; ?>', $curr_split); 239 if (isset($cache_parts[0][$curr_idx])) {XML.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 943 lines
1<?php 2/* 2/* 3 * This file is part of PHPUnit. 4 * 4 * 5 * (c) Sebastian Bergmann <sebastian@phpunit.de> 6 * 15 */ 16class PHPUnit_Util_XML 17{ 35 htmlspecialchars( 36 PHPUnit_Util_String::convertToUtf8($string), 37 ENT_QUOTES, 56 { 57 $reporting = error_reporting(0); 58 $contents = file_get_contents($filename);Smarty.class.php https://github.com/raphaelbastide/berta.git | PHP | 775 lines
1<?php 2 5 * File: Smarty.class.php 6 * SVN: $Id: Smarty.class.php 3624 2010-07-07 22:08:10Z Uwe.Tews $ 7 * 84 */ 85define('SMARTY_PHP_PASSTHRU', 0); //-> print tags as plain text 86define('SMARTY_PHP_QUOTE', 1); //-> escape tags as entities 87define('SMARTY_PHP_REMOVE', 2); //-> escape tags as entities 88define('SMARTY_PHP_ALLOW', 3); //-> escape tags as entities 89 154 public $security_class = 'Smarty_Security'; 155 public $php_handling = SMARTY_PHP_PASSTHRU; 156 public $allow_php_tag = false; 323 $_template = $this->createTemplate ($template, $cache_id, $compile_id, $parent); 324 $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 325 ? $this->error_reporting : error_reporting() &~E_NOTICE);lxlib.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 2374 lines
50 51 check_for_debug("/commands.php"); 52 52 53// Disabled by LxCenter, we are not at PHP version with number 1 at postition N ( x.N.x ) 54// $v = explode(".", PHP_VERSION); 64 global $gbl, $sgbl, $login, $ghtml; 65 check_for_debug("/commands.php"); 66 if ($sgbl->isDebug()) { 494 $gid = is_numeric($group) ? (int) $group : os_get_gid_from_user($user); 495 exec("{$sgbl->__path_php_path} {$sgbl->__path_program_root}/bin/phpexec.php $uid $gid $cmd 2>&1", $output, $retval); 496 } else { 558 * @param unknown 559 * @desc Redefining php functions ... sort of.. Stupid php doesn't allow that. So we do the next best thing.. We add an 'l' to all system functions and then use these functions instead of the php ones... In a way, is a better idea too, since, there might always be some cases where we might want to override this crap. :-) 560 */ipaddresslib.php https://bitbucket.org/Nemcio/kloxo-mr.git | PHP | 752 lines
1<?php 2 147 148 error_reporting(0); 149php.ini.erb https://bitbucket.org/cavneb/cookbooks.git | Ruby HTML | 1346 lines
1[PHP] 2 3;;;;;;;;;;;;;;;;;;; 4; About php.ini ; 5;;;;;;;;;;;;;;;;;;; 5;;;;;;;;;;;;;;;;;;; 6; PHP's initialization file, generally called php.ini, is responsible for 7; configuring many of the aspects of PHP's behavior. 11; 1. SAPI module specific location. 12; 2. The PHPRC environment variable. (As of PHP 5.2.0) 13; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0) 38; Directive names are *case sensitive* - foo=bar is different from FOO=bar. 39; Directives are variables used to configure PHP or PHP extensions. 40; There is no name validation. If PHP can't find an expected 361; prefixes supplied here. By default, users will only be able to set 362; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). 363; Note: If this directive is empty, PHP will let the user modify ANYphp.ini.erb https://bitbucket.org/cavneb/cookbooks.git | Ruby HTML | 1221 lines
5;;;;;;;;;;;;;;;;;;; 6; This file controls many aspects of PHP's behavior. In order for PHP to 7; read it, it must be named 'php.ini'. PHP looks for it in the current 50;;;;;;;;;;;;;;;;;;; 51; This is the recommended, PHP 5-style version of the php.ini-dist file. It 52; sets some non standard settings, that make PHP more efficient, more secure, 60; 61; For general information about the php.ini file, please consult the php.ini-dist 62; file, included in your PHP distribution. 79; default) in the next version of PHP, because it often leads to security bugs. 80; Read http://php.net/manual/en/security.registerglobals.php for further 81; information. 246; prefixes supplied here. By default, users will only be able to set 247; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR). 248;sfApplicationConfiguration.class.php https://github.com/bheneka/gitta.git | PHP | 700 lines
1<?php 2 57 58 if (file_exists($file = sfConfig::get('sf_app_cache_dir').'/config/configuration.php')) 59 { 146 ini_set('display_errors', $this->isDebug() ? 'on' : 'off'); 147 error_reporting(sfConfig::get('sf_error_reporting')); 148 170 && 171 is_readable($config = $configuration->getRootDir().'/config/config.php') 172 ) 226 $files = array( 227 sfConfig::get('sf_app_config_dir').'/unavailable.php', 228 sfConfig::get('sf_config_dir').'/unavailable.php', 228 sfConfig::get('sf_config_dir').'/unavailable.php', 229 sfConfig::get('sf_web_dir').'/errors/unavailable.php', 230 $this->getSymfonyLibDir().'/exception/data/unavailable.php',Kernel.php https://bitbucket.org/laborautonomo/laborautonomo-site.git | PHP | 771 lines
1<?php 2 15use Symfony\Component\DependencyInjection\ContainerBuilder; 16use Symfony\Component\DependencyInjection\Dumper\PhpDumper; 17use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; 20use Symfony\Component\DependencyInjection\Loader\IniFileLoader; 21use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; 22use Symfony\Component\DependencyInjection\Loader\ClosureLoader; 101 if ($this->debug) { 102 error_reporting(-1); 103 105 ErrorHandler::register($this->errorReportingLevel); 106 if ('cli' !== php_sapi_name()) { 107 ExceptionHandler::register(); 243 if (!isset($this->bundleMap[$name])) { 244 throw new \InvalidArgumentException(sprintf('Bundle "%s" does not exist or it is not enabled. Maybe you forgot to add it in the registerBundles() method of your %s.php file?', $name, get_class($this))); 245 }ioncube-loader-helper.php https://bitbucket.org/tduarte/atmailopen.git | PHP | 921 lines
24 25$php_version = phpversion(); 26$php_flavour = substr($php_version,0,3); 32 33$os_name = substr(php_uname(),0,strpos(php_uname(),' ')); 34$os_code = strtolower(substr($os_name,0,3)); 213 'DEBUG_BUILD' => $debug_build, 214 'PHP_INI' => $php_ini_path, 215 'CGI_CLI' => $cgi_cli); 315 $_php_version = phpversion(); 316 $_php_family = substr($_php_version,0,3); 317 423. "was found.$nl$nl"); 424 echo_instructions( "The $_os Loader for PHP $_php_family releases is required.$nl" 425. "Loaders can be downloaded from " . weblink("http://www.ioncube.com/loaders.php","www.ioncube.com"));php-brief.php https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | PHP | 202 lines
1<?php 2/************************************************************************************* 2/************************************************************************************* 3 * php-brief.php 4 * ------------- 9 * 10 * PHP (brief version) language file for GeSHi. 11 * 50$language_data = array ( 51 'LANG_NAME' => 'PHP (brief)', 52 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'), 71 'null', '__LINE__', '__FILE__', 72 'false', '<?php', 73 'true', 'var', 'default', 80 'extension_loaded', 'get_extension_funcs', 'debug_backtrace', 81 'constant', 'bin2hex', 'sleep', 'usleep', 'time', 'mktime', 'gmmktime', 'strftime', 'gmstrftime', 'strtotime', 'date', 'gmdate', 'getdate', 'localtime', 'checkdate', 'flush', 'wordwrap', 'htmlspecialchars', 'htmlentities', 'html_entity_decode', 'md5', 'md5_file', 'crc32', 'getimagesize', 'image_type_to_mime_type', 'phpinfo', 'phpversion', 'phpcredits', 'strnatcmp', 'strnatcasecmp', 'substr_count', 'strspn', 'strcspn', 'strtok', 'strtoupper', 'strtolower', 'strpos', 'strrpos', 'strrev', 'hebrev', 'hebrevc', 'nl2br', 'basename', 'dirname', 'pathinfo', 'stripslashes', 'stripcslashes', 'strstr', 'stristr', 'strrchr', 'str_shuffle', 'str_word_count', 'strcoll', 'substr', 'substr_replace', 'quotemeta', 'ucfirst', 'ucwords', 'strtr', 'addslashes', 'addcslashes', 'rtrim', 'str_replace', 'str_repeat', 'count_chars', 'chunk_split', 'trim', 'ltrim', 'strip_tags', 'similar_text', 'explode', 'implode', 'setlocale', 'localeconv', 82 'parse_str', 'str_pad', 'chop', 'strchr', 'sprintf', 'printf', 'vprintf', 'vsprintf', 'sscanf', 'fscanf', 'parse_url', 'urlencode', 'urldecode', 'rawurlencode', 'rawurldecode', 'readlink', 'linkinfo', 'link', 'unlink', 'exec', 'system', 'escapeshellcmd', 'escapeshellarg', 'passthru', 'shell_exec', 'proc_open', 'proc_close', 'rand', 'srand', 'getrandmax', 'mt_rand', 'mt_srand', 'mt_getrandmax', 'base64_decode', 'base64_encode', 'abs', 'ceil', 'floor', 'round', 'is_finite', 'is_nan', 'is_infinite', 'bindec', 'hexdec', 'octdec', 'decbin', 'decoct', 'dechex', 'base_convert', 'number_format', 'fmod', 'ip2long', 'long2ip', 'getenv', 'putenv', 'getopt', 'microtime', 'gettimeofday', 'getrusage', 'uniqid', 'quoted_printable_decode', 'set_time_limit', 'get_cfg_var', 'magic_quotes_runtime', 'set_magic_quotes_runtime', 'get_magic_quotes_gpc', 'get_magic_quotes_runtime',langcheck.php https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | PHP | 666 lines
1<?php 2/** 4 * 5 * Just point your browser at this script (with geshi.php in the parent directory, 6 * and the language files in subdirectory "../geshi/") 8 * @author Nigel McNie 9 * @version $Id: langcheck.php 1971 2008-12-25 15:14:14Z benbe $ 10 */ 13set_time_limit(0); 14error_reporting(E_ALL); 15$time_start = explode(' ', microtime()); 119<h2>GeSHi Language File Validation Script</h2> 120<p>To use this script, make sure that <strong>geshi.php</strong> is in the 121parent directory or in your include_path, and that the language files are in a 127<ol> 128<li>Checking where to find GeSHi installation ... <?php 129// Rudimentary checking of where GeSHi is. In a default install it will be in ../, butmpdf.php https://gitlab.com/cserobiul/Bitm-PHP-CRUD-Practice | PHP | 1814 lines
1<?php 2 57 58require_once _MPDF_PATH . 'includes/functions.php'; 59require_once _MPDF_PATH . 'config_lang2fonts.php'; 60 61require_once _MPDF_PATH . 'classes/ucdn.php'; // mPDF 6.0 62 63/* -- OTL -- */ 64require_once _MPDF_PATH . 'classes/indic.php'; // mPDF 6.0 65require_once _MPDF_PATH . 'classes/myanmar.php'; // mPDF 6.0 65require_once _MPDF_PATH . 'classes/myanmar.php'; // mPDF 6.0 66require_once _MPDF_PATH . 'classes/sea.php'; // mPDF 6.0 67/* -- END OTL -- */ 68 69require_once _MPDF_PATH . 'Tag.php'; 70require_once _MPDF_PATH . 'MpdfException.php';install_functions.inc.php https://gitlab.com/kingcody/Mods-for-HESK | PHP | 966 lines
1<?php 2/******************************************************************************* 31* a license please visit the page below: 32* https://www.hesk.com/buy.php 33*******************************************************************************/ 40define('MODS_FOR_HESK_NEW_VERSION','2.6.1'); 41define('REQUIRE_PHP_VERSION','5.0.0'); 42define('REQUIRE_MYSQL_VERSION','5.0.7'); 47 48require(HESK_PATH . 'hesk_settings.inc.php'); 49 53 54error_reporting(E_ALL); 55 55 56require(HESK_PATH . 'inc/common.inc.php'); 57require(HESK_PATH . 'inc/admin_functions.inc.php');common.inc.php https://gitlab.com/kingcody/Mods-for-HESK | PHP | 1565 lines
84 ?> 85 <div class="<?php echo $style; ?>"> 86 <?php echo $faIcon == '' ? '' : '<i class="' . $faIcon . '"></i> '; ?> 86 <?php echo $faIcon == '' ? '' : '<i class="' . $faIcon . '"></i> '; ?> 87 <b><?php echo $sm['title']; ?></b><?php echo $sm['message']; ?> 88 </div> 151 else { 152 require(HESK_PATH . 'inc/database.inc.php'); 153 } 161 if (function_exists('mysqli_connect')) { 162 require(HESK_PATH . 'api/core/database_mysqli.inc.php'); 163 } // Default to MySQL 164 else { 165 require(HESK_PATH . 'api/core/database.inc.php'); 166 }cus_win-import_process.php https://gitlab.com/ptisky/API_prestashop | PHP | 767 lines
1<?php 2/** 24 25 error_reporting(E_ALL ^ E_NOTICE); 26 @ini_set('display_errors', 'on'); 38 if (version_compare(_PS_VERSION_, '1.5.0.0', '<')) 39 include_once(SC_PS_PATH_DIR.'images.inc.php'); 40 40 41 include_once(SC_DIR.'lib/php/parsecsv.lib.php'); 42 require_once(SC_DIR.'lib/cat/win-import/cat_win-import_tools.php'); 42 require_once(SC_DIR.'lib/cat/win-import/cat_win-import_tools.php'); 43 require_once(SC_DIR.'lib/cus/win-import/cus_win-import_tools.php'); 44 114 115 $files = array_diff( scandir( SC_CSV_IMPORT_DIR."customers/" ), array_merge( Array( ".", "..", "index.php", ".htaccess", SC_CSV_IMPORT_CONF)) ); 116 readCusImportConfigXML($files);cat_win-import_process.php https://gitlab.com/ptisky/API_prestashop | PHP | 1109 lines
1<?php 2/** 23 24 error_reporting(E_ERROR); 25 @ini_set('display_errors', 'on'); 40 if (version_compare(_PS_VERSION_, '1.5.0.0', '<')) 41 include_once(SC_PS_PATH_DIR.'images.inc.php'); 42 42 43 include_once(SC_DIR.'lib/php/parsecsv.lib.php'); 44 require_once(SC_DIR.'lib/cat/win-import/cat_win-import_tools.php'); 211 } 212 $files = array_diff( scandir( SC_CSV_IMPORT_DIR ), array_merge( Array( ".", "..", "index.php", ".htaccess", SC_CSV_IMPORT_CONF)) ); 213 readImportConfigXML($files);cat_win-export_process.php https://gitlab.com/ptisky/API_prestashop | PHP | 1200 lines
1<?php 2/** 25 26 error_reporting(E_ALL ^ E_NOTICE); 27 @ini_set('display_errors', 'on'); 37 38 require_once(SC_DIR.'lib/cat/win-export/cat_win-export_tools.php'); 39cat_win-catimport_process.php https://gitlab.com/ptisky/API_prestashop | PHP | 1187 lines
1<?php 2/** 23 24 error_reporting(E_ERROR); 25 @ini_set('display_errors', 'on'); 32 { 33 include_once(SC_PS_PATH_DIR.'images.inc.php'); 34 require_once(dirname(__FILE__).'/../../../all/upload/upload-image.inc.php'); 36 37 include_once(SC_DIR.'lib/php/parsecsv.lib.php'); 38 require_once(SC_DIR.'lib/cat/win-catimport/cat_win-catimport_tools.php'); 129 } 130 $files = array_diff( scandir( SC_CSV_IMPORT_DIR."category/" ), array_merge( Array( ".", "..", "index.php", ".htaccess", SC_CSV_IMPORT_CONF)) ); 131 readCatImportConfigXML($files);cat_combination_update_queue.php https://gitlab.com/ptisky/API_prestashop | PHP | 561 lines
1<?php 2/** 23 24@error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING); 25@ini_set("display_errors", "ON");php.js https://gitlab.com/lara_intern/BarcodeTechSolution | JavaScript | 231 lines
33 function phpString(closing, escapes) { 34 return function(stream, state) { return phpString_(stream, state, closing, escapes); }; 35 } 35 } 36 function phpString_(stream, state, closing, escapes) { 37 // "Complex" syntax 88 var phpAtoms = "true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"; 89 var phpBuiltin = "func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count"; 90 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 90 CodeMirror.registerHelper("hintWords", "php", [phpKeywords, phpAtoms, phpBuiltin].join(" ").split(" ")); 91 CodeMirror.registerHelper("wordChars", "php", /[\w$]/); 92 92 93 var phpConfig = { 94 name: "clike",Kohana_Exception.patch https://github.com/robertleeplummerjr/bluebox.git | Patch | 871 lines
2=================================================================== 3--- Kohana.php (revision 3914) 4+++ Kohana.php (working copy) 11+ // PHP 5.2 and when using Kohana under CLI 12 $ER = error_reporting(~E_NOTICE & ~E_STRICT); 13 20+ // Enable error handling 21+ Kohana_PHP_Exception::enable(); 22+ 91- // PHP errors have 5 args, always 92- $PHP_ERROR = (func_num_args() === 5); 93- 94- // Test to see if errors should be displayed 95- if ($PHP_ERROR AND (error_reporting() & $exception) === 0) 96- return;Kohana.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 1743 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 4 * 5 * $Id: Kohana.php 3881 2009-01-09 19:59:03Z jheathco $ 6 * 9 * @copyright (c) 2007-2008 Kohana Team 10 * @license http://kohanaphp.com/license.html 11 */ 57 /** 58 * Sets up the PHP environment. Adds error/exception handling, output 59 * buffering, and adds an auto-loading method for loading classes. 531 file_put_contents($filename, 532 '<?php defined(\'SYSPATH\') or die(\'No direct script access.\'); ?>'.PHP_EOL.PHP_EOL); 533 551 // Write messages to log file 552 file_put_contents($filename, implode(PHP_EOL, $messages).PHP_EOL, FILE_APPEND); 553 }XML.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 784 lines
41 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 42 * @version SVN: $Id: XML.php 4645 2009-02-17 12:10:52Z sb $ 43 * @link http://www.phpunit.de/ 46 47require_once 'PHPUnit/Util/Filter.php'; 48 48 49PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT'); 50 54 * @category Testing 55 * @package PHPUnit 56 * @author Sebastian Bergmann <sb@sebastian-bergmann.de> 57 * @copyright 2002-2009 Sebastian Bergmann <sb@sebastian-bergmann.de> 58 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 59 * @version Release: @package_version@Test-JSON.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 521 lines
6 * Unit tests for Services_JSON. 7 * @see JSON.php 8 * 14 * @copyright 2005 Michal Migurski 15 * @version CVS: $Id: Test-JSON.php,v 1.28 2006/06/28 05:54:17 migurski Exp $ 16 * @license http://www.opensource.org/licenses/bsd-license.php 16 * @license http://www.opensource.org/licenses/bsd-license.php 17 * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 18 */ 19 20 error_reporting(E_ALL); 21 21 22 require_once 'PHPUnit.php'; 23 require_once 'JSON.php';install.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 1041 lines
1<?PHP 2ini_set('display_errors', 1); 2ini_set('display_errors', 1); 3error_reporting(E_ALL); 4/* 71if(!file_exists(PHONE_MODULES_PATH."setup.php")) { 72 copy(LOCAL_PATH."Install/setup.php",PHONE_MODULES_PATH."setup.php"); 73 out("Moving Auto Provisioner Class");Tiki.php https://github.com/robertleeplummerjr/bluebox.git | PHP | 565 lines
1<?php 2 2 3ini_set('error_reporting', E_ALL); 4ini_set('display_errors', 1); 385 * 386 * $Id: File.php 3917 2009-04-02 03:06:22Z zombor $ 387 * 406 407 include_once("Doctrine.php"); 408 $this->doctrine = new Auth_Doctrine_Driver($config); 427 $client->setCredentials($username, $this->passwordOrig); 428 $status = $client->get('/tiki/tiki-index.php')->run(); 429utf8.php https://bitbucket.org/seyar/kinda.local.git | PHP | 767 lines
2/** 3 * A port of [phputf8](http://phputf8.sourceforge.net/) to a unified set 4 * of files. Provides multi-byte aware replacement string functions. 8 * - PCRE needs to be compiled with UTF-8 support (--enable-utf8) 9 * - Support for [Unicode properties](http://php.net/manual/reference.pcre.pattern.modifiers.php) 10 * is highly recommended (--enable-unicode-properties) 16 * [!!] This file is licensed differently from the rest of Kohana. As a port of 17 * [phputf8](http://phputf8.sourceforge.net/), this file is released under the LGPL. 18 * 76 // Disable notices 77 $error_reporting = error_reporting(~E_NOTICE); 78 82 // Turn notices back on 83 error_reporting($error_reporting); 84 }quicky.php https://bitbucket.org/seyar/kinda.local.git | PHP | 844 lines
1<?php 2/**************************************************************************/ 9/* 10/* Quicky.class.php: API class 11/**************************************************************************/ 96 'inline_includes' => FALSE, 97 'allow_php_native' => FALSE, 98 'interpret_varname_params' => FALSE, 102 ); 103 public $error_reporting; 104 public $version = '0.5.0.0'; 142 143 error_reporting ($kohana_config->get('error_reporting')); 144 236 if (!class_exists('Quicky_form')) { 237 require_once QUICKY_DIR.'Quicky.form.class.php'; 238 }index.php https://github.com/gunf/novo-isaak.local.git | PHP | 955 lines
1<?php 2/* 3************************************************************************* 4 MODx Content Management System and PHP Application Framework 5 Managed and maintained by Raymond Irving, Ryan Thrash and the 7************************************************************************* 8 MODx is an opensource PHP/MySQL content management system and content 9 management framework that is flexible, adaptable, supports XHTML/CSS 44/** 45 * Filename: manager/index.php 46 * Function: This file is the main root file for MODx. It is 71 72// check PHP version. MODx is compatible with php 4 (4.1.0 up), extra/ improved features are planned for 5 73$php_ver_comp = version_compare(phpversion(), "4.1.0"); 75if($php_ver_comp < 0) { 76 echo "Wrong php version! You're using PHP version '".phpversion()."', and MODx only works on 4.1.0 or higher."; // $_lang['php_version_check']; 77 exit;index.php https://github.com/TravianWar/Travianx.git | PHP | 512 lines
48 <li> 49 <a target="blank" href="http://100.100.0.1/foro/forumdisplay.php?27-Travian" id="forum"><?php echo FORUM ?></a> 50 </li> 188 <div class="stage-content stage-content2" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/community-ltr.jpg)"> 189 <div style="position:absolute; left:15px; top:170px;"><img alt="" class="bbArrow" src="index.php_files/x.gif"> <span style="color:black;"><span style="font-weight:bold;"><?php echo BECOME_COMUNITY ?></span></span></div> 190 <div style="position:absolute; left:15px; top:12px;"><h3><?php echo COMUNITY ?></h3><br> 247 <div class="btn-green-l"></div> 248 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial"><?php echo TOUR ?></a></div> 249 <div class="btn-green-r"></div> 263 <div class="btn-green-l"></div> 264 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial"><?php echo TOUR ?></a></div> 265 <div class="btn-green-r"></div> 279 <div class="btn-green-l"></div> 280 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial"><?php echo TOUR ?></a></div> 281 <div class="btn-green-r"></div>configure.test.php https://github.com/hack521/contenidopago.git | PHP | 833 lines
8 * 9 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 10 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 16 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 17 * @package cake 18 * @subpackage cake.tests.cases.libs 19 * @since CakePHP(tm) v 1.2.0.5432 20 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 146 Configure::write('debug', 0); 147 $result = ini_get('error_reporting'); 148 $this->assertEqual($result, 0); 150 Configure::write('debug', 2); 151 $result = ini_get('error_reporting'); 152 $this->assertEqual($result, E_ALL & ~E_DEPRECATED);configure.php https://github.com/hack521/contenidopago.git | PHP | 1328 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://cakephp.org CakePHP(tm) Project 15 * @package cake 32 * 33 * @link http://book.cakephp.org/view/931/CakePHP-Core-Configuration-Variables 34 * @var integer 347 if ($cache === null) { 348 cache('persistent' . DS . $name . '.php', "<?php\n\$config = array();\n", $expires); 349 } 400 if (!include(CONFIGS . 'core.php')) { 401 trigger_error(sprintf(__("Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", true), CONFIGS), E_USER_ERROR); 402 }cake.php https://github.com/hack521/contenidopago.git | PHP | 667 lines
9 * 10 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 11 * Copyright 2005-2011, Cake Software Foundation, Inc. 16 * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) 17 * @link http://cakephp.org CakePHP(tm) Project 18 * @package cake 156 if (!defined('CAKE_CORE_INCLUDE_PATH')) { 157 define('PHP5', (PHP_VERSION >= 5)); 158 define('DS', DIRECTORY_SEPARATOR); 188 $this->stderr('and check the manual for the correct usage of this command.'); 189 $this->stderr('(http://manual.cakephp.org/)'); 190 $this->_stop(); 583 $this->clear(); 584 $this->stdout("\nWelcome to CakePHP v" . Configure::version() . " Console"); 585 $this->stdout("---------------------------------------------------------------");test-backend.php https://github.com/KenBoyer/CompactCMS.git | PHP | 596 lines
7//require_once('../Assets/Connector/FileManager.php'); 8require_once('../Assets/Connector/FMgr4Alias.php'); 9 181 182 <h2>Basic PHP tests</h2> 183 <pre> 304<p>$_SERVER['DOCUMENT_ROOT'] = '<?php echo $_SERVER['DOCUMENT_ROOT']; ?>'</p> 305<p>$_SERVER['SCRIPT_NAME'] = '<?php echo $_SERVER['SCRIPT_NAME']; ?>'</p> 306 308 309<?php 310 314?> 315<h3>pagetitle(str, NULL, '<?php echo $re_extra; ?>', '<?php echo $trim_extra; ?>')</h3> 316htmLawedTest.php https://github.com/KenBoyer/CompactCMS.git | PHP | 592 lines
69if(isset($_POST['inputH'])){ 70 echo '<html><head><title>htmLawed test: HTML view of unprocessed input</title></head><body style="margin:0; padding: 0;"><p style="background-color: black; color: white; padding: 2px;"> Rendering of unprocessed input without an HTML doctype or charset declaration <small><a style="color: white; text-decoration: none;" href="1" onclick="javascript:window.close(this); return false;">close window</a> | <a style="color: white; text-decoration: none;" href="htmLawedTest.php" onclick="javascript: window.open(\'htmLawedTest.php\', \'hlmain\'); window.close(this); return false;">htmLawed test page</a></small></p><div>', $_POST['inputH'], '</div></body></html>'; 71 exit; 87function hexdump($d){ 88// Mainly by Aidan Lister <aidan@php.net>, Peter Waller <iridum@php.net> 89 $hexi = ''; 271 else{f.visibility = 'hidden';} 272 f.innerHTML = '<p style="display:none;"><input style="display:none;" type="hidden" name="token" id="token" value="<?php echo $token; ?>" /><input style="display:none;" type="hidden" name="<?php echo htmlspecialchars($_sid, ENT_COMPAT, 'UTF-8'); ?>" id="<?php echo htmlspecialchars($_sid, ENT_COMPAT, 'UTF-8'); ?>" value="' + readCookie('<?php echo htmlspecialchars($_sid, ENT_COMPAT, 'UTF-8'); ?>') + '" /><input style="display:none;" type="hidden" name="inputH" id="inputH" value="'+ i+ '" /></p>'; 273 f.action = 'htmLawedTest.php?pre=1'; 382 383<h5 style="float: left; display: inline; margin-top: 0; margin-bottom: 5px;"><a href="http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php" title="htmLawed home">HTM<big><big>L</big></big>AWED</a> <?php echo hl_version();?> <a href="htmLawedTest.php" title="test home">TEST</a></h5> 384<span style="float: right;" class="help"><a href="htmLawed_README.htm"><span class="notice">htm</span></a> / <a href="htmLawed_README.txt"><span class="notice">txt</span></a> documentation</span><br style="clear:both;" /> 385 386<a href="htmLawedTest.php" title="[toggle visibility] type or copy-paste" onclick="javascript:toggle('inputF'); return false;"><span class="notice">Input »</span> <span class="help" title="limit lower with multibyte characters<?php echo (($_hlimit < $_limit && $_hlimit)? '; limit is '. $_hlimit. ' for viewing binaries' : ''); ?>"><small>(max. <?php echo htmlspecialchars($_limit, ENT_COMPAT, 'UTF-8');?> chars)</small></span></a> 387index.php https://github.com/MyITCRM/myitcrm1.git | PHP | 552 lines
1<?php 2// Only show php errors 2// Only show php errors 3error_reporting(E_ERROR); 4############################### 71 72 require("../include/ADODB/adodb.inc.php"); 73 104 $db->close(); 105 include("../conf.php"); 106 116################################## 117 /*include sql.php */ 118 include("sql.php"); 293 294 <form action=\"index.php\" method=\"POST\" name=\"install\" id=\"install\" onsubmit=\"try { var myValidator = validate_install; } catch(e) { return true; } return myValidator(this);\"> 295 <input type=\"hidden\" name=\"mode\" value=\"install\">Smarty.class.php https://github.com/MyITCRM/myitcrm1.git | PHP | 1514 lines
27 * @author Monte Ohrt <monte at ohrt dot com> 28 * @author Andrei Zmievski <andrei@php.net> 29 * @package Smarty 32 33/* $Id: Smarty.class.php,v 1.1 2009/08/01 13:51:36 geevpc Exp $ */ 34 190 /** 191 * This determines how Smarty handles "<?php ... ?>" tags in templates. 192 * possible values: 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 196 * <li>SMARTY_PHP_REMOVE -> remove php tags</li> 197 * <li>SMARTY_PHP_ALLOW -> execute php tags</li> 201 */ 202 var $php_handling = SMARTY_PHP_PASSTHRU; 203utf8.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 743 lines
2/** 3 * A port of phputf8 to a unified file/class. Checks PHP status to ensure that 4 * UTF-8 support is available and normalize global variables to UTF-8. It also 11 * Support for Unicode properties is highly recommended (--enable-unicode-properties). 12 * @see http://php.net/manual/reference.pcre.pattern.modifiers.php 13 * 34 '<a href="http://php.net/pcre">PCRE</a> has not been compiled with UTF-8 support. '. 35 'See <a href="http://php.net/manual/reference.pcre.pattern.modifiers.php">PCRE Pattern Modifiers</a> '. 36 'for more information. This application cannot be run without UTF-8 support.', 55 ( 56 'The <a href="http://php.net/mbstring">mbstring</a> extension is overloading PHP\'s native string functions. '. 57 'Disable this by setting mbstring.func_overload to 0, 1, 4 or 5 in php.ini or a .htaccess file.'. 127 // Turn notices back on 128 error_reporting($ER); 129 }Kohana.php https://github.com/yamamoto123/Ushahidi_Web.git | PHP | 1736 lines
1<?php defined('SYSPATH') OR die('No direct access allowed.'); 2/** 4 * 5 * $Id: Kohana.php 3917 2009-01-21 03:06:22Z zombor $ 6 * 9 * @copyright (c) 2007-2008 Kohana Team 10 * @license http://kohanaphp.com/license.html 11 */ 57 /** 58 * Sets up the PHP environment. Adds error/exception handling, output 59 * buffering, and adds an auto-loading method for loading classes. 513 file_put_contents($filename, 514 '<?php defined(\'SYSPATH\') or die(\'No direct script access.\'); ?>'.PHP_EOL.PHP_EOL); 515 533 // Write messages to log file 534 file_put_contents($filename, implode(PHP_EOL, $messages).PHP_EOL, FILE_APPEND); 535 }smarty_internal_templatebase.php https://github.com/SquattingSasquatches/Lucidity.git | PHP | 763 lines
1<?php 2/** 84 if (isset($this->smarty->error_reporting)) { 85 $_smarty_old_error_level = error_reporting($this->smarty->error_reporting); 86 } 231 // escape PHP tags in template content 232 $output .= preg_replace('/(<%|%>|<\?php|<\?|\?>)/', '<?php echo \'$1\'; ?>', $curr_split); 233 if (isset($cache_parts[0][$curr_idx])) { 286 } 287 if (isset($this->error_reporting)) { 288 error_reporting($_smarty_old_error_level);test.php https://github.com/dixcart/Rackspace-Load-Balancers-Log-Reader.git | PHP | 1548 lines
28 29if (PHP_VERSION < 5) include_once('../adodb-pear.inc.php'); 30//-------------------------------------------------------------------------------------- 42 43 include_once('../session/adodb-session.php'); 44 if (defined('CHECKWSFAIL')){ echo " TESTING $conn ";flush();} 48 if (headers_sent()) { 49 print "<p><b>White space detected in adodb-$conn.inc.php or include file...</b></p>"; 50 //die(); 124 125 $phpv = phpversion(); 126 if (defined('ADODB_EXTENSION')) $ext = ' Extension '.ADODB_EXTENSION.' installed'; 127 else $ext = ''; 128 print "<h3>ADODB Version: $ADODB_vers Host: <i>$db->host</i> Database: <i>$db->database</i> PHP: $phpv $ext</h3>"; 129htmLawedTest.php https://github.com/Emaratilicious/Garden.git | PHP | 592 lines
69if(isset($_POST['inputH'])){ 70 echo '<html><head><title>htmLawed test: HTML view of unprocessed input</title></head><body style="margin:0; padding: 0;"><p style="background-color: black; color: white; padding: 2px;"> Rendering of unprocessed input without an HTML doctype or charset declaration <small><a style="color: white; text-decoration: none;" href="1" onclick="javascript:window.close(this); return false;">close window</a> | <a style="color: white; text-decoration: none;" href="htmLawedTest.php" onclick="javascript: window.open(\'htmLawedTest.php\', \'hlmain\'); window.close(this); return false;">htmLawed test page</a></small></p><div>', $_POST['inputH'], '</div></body></html>'; 71 exit; 87function hexdump($d){ 88// Mainly by Aidan Lister <aidan@php.net>, Peter Waller <iridum@php.net> 89 $hexi = ''; 271 else{f.visibility = 'hidden';} 272 f.innerHTML = '<p style="display:none;"><input style="display:none;" type="hidden" name="token" id="token" value="<?php echo $token; ?>" /><input style="display:none;" type="hidden" name="<?php echo htmlspecialchars($_sid); ?>" id="<?php echo htmlspecialchars($_sid); ?>" value="' + readCookie('<?php echo htmlspecialchars($_sid); ?>') + '" /><input style="display:none;" type="hidden" name="inputH" id="inputH" value="'+ i+ '" /></p>'; 273 f.action = 'htmLawedTest.php?pre=1'; 382 383<h5 style="float: left; display: inline; margin-top: 0; margin-bottom: 5px;"><a href="http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php" title="htmLawed home">HTM<big><big>L</big></big>AWED</a> <?php echo hl_version();?> <a href="htmLawedTest.php" title="test home">TEST</a></h5> 384<span style="float: right;" class="help"><a href="htmLawed_README.htm"><span class="notice">htm</span></a> / <a href="htmLawed_README.txt"><span class="notice">txt</span></a> documentation</span><br style="clear:both;" /> 385 386<a href="htmLawedTest.php" title="[toggle visibility] type or copy-paste" onclick="javascript:toggle('inputF'); return false;"><span class="notice">Input »</span> <span class="help" title="limit lower with multibyte characters<?php echo (($_hlimit < $_limit && $_hlimit)? '; limit is '. $_hlimit. ' for viewing binaries' : ''); ?>"><small>(max. <?php echo htmlspecialchars($_limit);?> chars)</small></span></a> 387Smarty.class.php https://github.com/Emaratilicious/Garden.git | PHP | 1551 lines
4 * Project: Smarty: the PHP compiling template engine 5 * File: Smarty.class.php 6 * 55 56define('SMARTY_PHP_PASSTHRU', 0); 57define('SMARTY_PHP_QUOTE', 1); 57define('SMARTY_PHP_QUOTE', 1); 58define('SMARTY_PHP_REMOVE', 2); 59define('SMARTY_PHP_ALLOW', 3); 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 196 * <li>SMARTY_PHP_REMOVE -> remove php tags</li> 197 * <li>SMARTY_PHP_ALLOW -> execute php tags</li> 201 */ 202 var $php_handling = SMARTY_PHP_PASSTHRU; 203functions.error.php https://github.com/Emaratilicious/Garden.git | PHP | 403 lines
1<?php if (!defined('APPLICATION')) exit(); 2/* 25function Gdn_ErrorHandler($ErrorNumber, $Message, $File, $Line, $Arguments) { 26 $ErrorReporting = error_reporting(); 27 // Ignore errors that are below the current error reporting level. 60 $SenderMessage = $Message; 61 $SenderObject = 'PHP'; 62 $SenderMethod = 'Gdn_ErrorHandler'; 113 $MasterViewPaths = array(); 114 $MasterViewName = 'error.master.php'; 115 $MasterViewCss = 'error.css'; 117 if (function_exists('Debug') && Debug()) { 118 $MasterViewName = 'deverror.master.php'; 119 } 248 <li><strong>Application Version:</strong> ',APPLICATION_VERSION,'</li> 249 <li><strong>PHP Version:</strong> ',PHP_VERSION,'</li> 250 <li><strong>Operating System:</strong> ',PHP_OS,"</li>\n";lib.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 887 lines
21global $phpmailer_smtpuser,$phpmailer_smtppassword; 22if (!defined("PHPMAILERHOST")) define("PHPMAILERHOST",getConfig('phpmailerhost')); 23$phpmailer_smtpuser=getConfig('phpmailer_smtpuser'); 23$phpmailer_smtpuser=getConfig('phpmailer_smtpuser'); 24$phpmailer_smtppassword=getConfig('phpmailer_smtppassword'); 25 29if (!defined("ENCRYPTPASSWORD")) define("ENCRYPTPASSWORD",0); 30if (!defined("PHPMAILER")) define("PHPMAILER",0); 31if (!defined("MANUALLY_PROCESS_QUEUE")) define("MANUALLY_PROCESS_QUEUE",1); 108$usephpmailer = 0; 109if (PHPMAILER && is_file(dirname(__FILE__).'/phpmailer/class.phpmailer.php')) { 110 include_once dirname(__FILE__) . '/class.phplistmailer.php'; 305 } 306 # 0008549: message envelope not passed to php mailer, 307 $mail->Sender = $GLOBALS["message_envelope"];index.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 450 lines
6if (!isset($_SERVER["SERVER_NAME"]) && !PHP_SAPI == "cli") { 7 print "Warning: commandline only works well with the cli version of PHP"; 8} 13 14require_once dirname(__FILE__) .'/commonlib/lib/unregister_globals.php'; 15require_once dirname(__FILE__) .'/commonlib/lib/magic_quotes.php'; 89 if (is_array($GLOBALS["commandline_users"]) && sizeof($GLOBALS["commandline_users"]) && !in_array($_SERVER["USER"],$GLOBALS["commandline_users"])) { 90 clineError("Sorry, You (".$_SERVER["USER"].") do not have sufficient permissions to run phplist on commandline"); 91 exit; 118if (!isset($_POST) && isset($HTTP_POST_VARS)) { 119 include_once dirname(__FILE__) ."/commonlib/lib/oldphp_vars.php"; 120} 297 298 if (ini_get("magic_quotes_runtime") && WARN_ABOUT_PHP_SETTINGS) 299 Warn($GLOBALS['I18N']->get('magicruntimewarning'));index.php https://bitbucket.org/antonyravel/cape-resorts.git | PHP | 959 lines
6require_once dirname(__FILE__) .'/admin/commonlib/lib/magic_quotes.php'; 7require_once dirname(__FILE__).'/admin/init.php'; 8## none of our parameters can contain html for now 19 include $_ENV["CONFIG"]; 20} elseif (is_file("config/config.php")) { 21# print '<!-- using config/config.php -->'."\n"; 29} else { 30 error_reporting(0); 31} 57if (!isset($_POST) && isset($HTTP_POST_VARS)) { 58 require "admin/commonlib/lib/oldphp_vars.php"; 59} 223 if (!isset($_GET["id"]) || !$_GET['id']) $_GET["id"] = $id; 224 $success = require "admin/subscribelib2.php"; 225 if (!$userid) {index.php https://github.com/iconifyit/SkyBlue-1.1.git | PHP | 657 lines
1<?php 2 14 15ini_set('error_reporting', E_ALL); 16ini_set('display_errors', 'On'); 18define('SKYBLUE', 1); 19define('BASE_PAGE', 'index.php'); 20define('SETUP_PATH_TO_ROOT', '../'); 42 43define('SETUP_URL_LOGIN', '../admin.php'); 44define('SETUP_HTML_SKIN', '../ui/admin/html/skin.index.html'); 81 82require_once(SETUP_PATH_TO_ROOT . 'includes/object.class.php'); 83require_once(SETUP_PATH_TO_ROOT . 'includes/observer.class.php'); 83require_once(SETUP_PATH_TO_ROOT . 'includes/observer.class.php'); 84require_once(SETUP_PATH_TO_ROOT . 'includes/error.class.php'); 85require_once(SETUP_PATH_TO_ROOT . 'includes/conf.functions.php');registration.php https://github.com/deviltry/qmigo.git | PHP | 494 lines
1<?php 2 5######################################################### 6$scriptName = $_SERVER['PHP_SELF']; 7$pageTitle = "QMIGO - Vendor Registration"; 9# Make sure we display errors to the browser 10error_reporting(E_ALL ^ E_NOTICE); 11ini_set('display_errors', 1); 13# Get our DB info 14require "info.php"; 15 30######################################################### 31require "info_session.php"; 32 41#if ($_SESSION["logged-in"]!=1 || $_SESSION["userid"]<1) 42#{ header("Location: socialdrinkster-login.php?err=notloggedin"); 43# exit;offercheck.php https://github.com/deviltry/qmigo.git | PHP | 530 lines
2 # Make sure we display errors to the browser 3 error_reporting(E_ALL ^ E_NOTICE); 4 ini_set('display_errors', 1); 10######################################################### 11require "info_session.php"; 12 19# Get our DB info 20require "info.php"; 21 22# Get our site info 23require "offersiteinfo.php"; 24 25# Make sure we display errors to the browser 26error_reporting(E_ALL ^ E_NOTICE); 27ini_set('display_errors', 1);lxlib.php https://github.com/yourhty/hypervm.git | PHP | 2351 lines
7 include_once "htmllib/lib/linuxlib.php"; 8 include_once "lib/linuxproglib.php"; 9} 66 global $gbl, $sgbl, $login, $ghtml; 67 check_for_debug("/commands.php"); 68 if ($sgbl->isDebug()) { 70 } 71 check_for_debug("/backend.php"); 72} 448 $gid = is_numeric($group) ? (int) $group : os_get_gid_from_user($user); 449 exec("{$sgbl->__path_php_path} {$sgbl->__path_program_root}/bin/phpexec.php $uid $gid $cmd 2>&1", $output, $retval); 450 } else { 512 * @param unknown 513 * @desc Redefining php functions ... sort of.. Stupid php doesn't allow that. So we do the next best thing.. We add an 'l' to all system functions and then use these functions instead of the php ones... In a way, is a better idea too, since, there might always be some cases where we might want to override this crap. :-) 514 */lxlib.php https://github.com/lxcenter/hypervm.git | PHP | 2342 lines
66 global $gbl, $sgbl, $login, $ghtml; 67 check_for_debug("/commands.php"); 68 if ($sgbl->isDebug()) { 449 $gid = is_numeric($group) ? (int) $group : os_get_gid_from_user($user); 450 exec("{$sgbl->__path_php_path} {$sgbl->__path_program_root}/bin/phpexec.php $uid $gid $cmd 2>&1", $output, $retval); 451 } else { 495 ' GID: ' . $posix_data['gecos'] . ':' . $posix_data['gid'] . 496 ( PHP_SAPI !== 'cgi-fcgi' ? PHP_EOL : '<br />'); 497 504 { 505 $error_msg = 'Could not read the file \''.$file.'\' with permissions: '.substr(sprintf('%o', fileperms($file)), -4) . ( PHP_SAPI !== 'cgi-fcgi' ? PHP_EOL : '<br />'); 506 dprint($error_msg); 530* @param unknown 531* @desc Redefining php functions ... sort of.. Stupid php doesn't allow that. So we do the next best thing.. We add an 'l' to all system functions and then use these functions instead of the php ones... In a way, is a better idea too, since, there might always be some cases where we might want to override this crap. :-) 532*/common.inc.php https://github.com/md-tech/openemr.git | PHP | 924 lines
32if (defined('E_STRICT')) { 33 $old_error_reporting = error_reporting(0); 34 if ($old_error_reporting & E_STRICT) { 34 if ($old_error_reporting & E_STRICT) { 35 error_reporting($old_error_reporting ^ E_STRICT); 36 } else { 142 */ 143$PMA_PHP_SELF = PMA_getenv('PHP_SELF'); 144$_PATH_INFO = PMA_getenv('PATH_INFO'); 317 'pdf_schema.php', 318 //'phpinfo.php', 319 'querywindow.php', 468/** 469 * avoid problems in phpmyadmin.css.php in some cases 470 * @global string $js_frametest.php https://github.com/md-tech/openemr.git | PHP | 1463 lines
16 17if (PHP_VERSION < 5) include_once('../adodb-pear.inc.php'); 18//-------------------------------------------------------------------------------------- 30 31 include_once('../session/adodb-session.php'); 32 70 </p> 71<?php 72 $create =false; 108 109 $phpv = phpversion(); 110 if (defined('ADODB_EXTENSION')) $ext = ' Extension '.ADODB_EXTENSION.' installed'; 111 else $ext = ''; 112 print "<h3>ADODB Version: $ADODB_vers Host: <i>$db->host</i> Database: <i>$db->database</i> PHP: $phpv $ext</h3>"; 113 flush();Smarty.class.php https://github.com/md-tech/openemr.git | PHP | 1546 lines
22 * Smarty mailing list. Send a blank e-mail to 23 * smarty-general-subscribe@lists.php.net 24 * 27 * @author Monte Ohrt <monte@ispi.net> 28 * @author Andrei Zmievski <andrei@php.net> 29 * @package Smarty 189 * <ul> 190 * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> 191 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 191 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 192 * <li>SMARTY_PHP_REMOVE -> remove php tags</li> 193 * <li>SMARTY_PHP_ALLOW -> execute php tags</li> 197 */ 198 var $php_handling = SMARTY_PHP_PASSTHRU; 199phpunit.php https://github.com/md-tech/openemr.git | PHP | 633 lines
48if (phpversion() >= '4') { 49 function PHPUnit_error_handler($errno, $errstr, $errfile, $errline) { 50 global $PHPUnit_testRunning; 50 global $PHPUnit_testRunning; 51 $PHPUnit_testRunning[0]->fail("<B>PHP ERROR:</B> ".$errstr." <B>in</B> ".$errfile." <B>at line</B> ".$errline); 52 } 221 function runTest() { 222 if (phpversion() >= '4') { 223 global $PHPUnit_testRunning; 223 global $PHPUnit_testRunning; 224 eval('$PHPUnit_testRunning[0] = & $this;'); 225 // Saved ref to current TestCase, so that the error handler 319 320 // PHP3: We are just _barely_ able to do this with PHP's limited 321 // introspection... Note that PHP seems to store method names inSmarty.class.php https://github.com/md-tech/openemr.git | PHP | 1553 lines
22 * Smarty mailing list. Send a blank e-mail to 23 * smarty-general-subscribe@lists.php.net 24 * 27 * @author Monte Ohrt <monte at ohrt dot com> 28 * @author Andrei Zmievski <andrei@php.net> 29 * @package Smarty 193 * <ul> 194 * <li>SMARTY_PHP_PASSTHRU -> print tags as plain text</li> 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 195 * <li>SMARTY_PHP_QUOTE -> escape tags as entities</li> 196 * <li>SMARTY_PHP_REMOVE -> remove php tags</li> 197 * <li>SMARTY_PHP_ALLOW -> execute php tags</li> 201 */ 202 var $php_handling = SMARTY_PHP_PASSTHRU; 203Slim.php https://github.com/wzs/Scrappr.git | PHP | 1173 lines
1<?php 2/** 2/** 3 * Slim - a micro PHP 5 framework 4 * 32 33//Ensure PHP session IDs only use the characters [a-z0-9] 34ini_set('session.hash_bits_per_character', 4); 46 47//This determines which errors are reported by PHP. By default, all 48//errors (including E_STRICT) are reported. 48//errors (including E_STRICT) are reported. 49error_reporting(E_ALL | E_STRICT); 50 50 51//This tells PHP to auto-load classes using Slim's autoloader; this will 52//only auto-load a class file located in the same directory as Slim.phpsearchfuncs.php https://github.com/akash6190/pragyan.git | PHP | 636 lines
1<?php 2/******************************************* 7 8error_reporting(E_ALL ^ E_NOTICE); 9spider.php https://github.com/akash6190/pragyan.git | PHP | 633 lines
1<?php 2if(!defined('__PRAGYAN_CMS')) 20 $include_dir = "$sourceFolder/modules/search/include"; 21 require_once ("$include_dir/commonfuncs.php"); 22 $all = 0; 24 $settings_dir = "$sourceFolder/modules/search/settings"; 25 require_once ("$settings_dir/conf.php"); 26 27 $admin_dir = "$sourceFolder/modules/search/admin"; 28 include "$admin_dir/messages.php"; 29 include "$admin_dir/spiderfuncs.php"; 29 include "$admin_dir/spiderfuncs.php"; 30 error_reporting (E_ALL ^ E_NOTICE ^ E_WARNING); 31 196 $delay_time = time(); 197 if (!fst_lt_snd(phpversion(), "4.3.0")) { 198 $file = file_get_contents($url);admin.php https://github.com/akash6190/pragyan.git | PHP | 1308 lines
100 <li><a href="admin.php?f=index" id="<?php print $index_funcs[$f]?>">Index</a></li> 101 <li><a href="admin.php?f=clean" id="<?php print $clean_funcs[$f]?>">Clean tables</a> </li> 102 <li><a href="admin.php?f=settings" id="<?php print $settings_funcs[$f]?>">Settings</a></li> 103 <li><a href="admin.php?f=statistics" id="<?php print $stat_funcs[$f]?>">Statistics</a> </li> 104 <li><a href="admin.php?f=database" id="<?php print $database_funcs[$f]?>">Database</a></li> 105 <li><a href="admin.php?f=24" id="default">Log out</a></li> 141 $cat = $row['category']; 142 print "<tr class=\"$color\"><td width=90% align=left>$space<a href=\"admin.php?f=edit_cat&cat_id=$id\">".stripslashes($cat). "</a></td><td><a href=\"admin.php?f=edit_cat&cat_id=$id\" id=\"small_button\">Edit</a></td><td> <a href=\"admin.php?f=11&cat_id=$id\" onclick=\"return confirm('Are you sure you want to delete? Subcategories will be lost.')\" id=\"small_button\">Delete</a></td></tr>\n"; 143 221?> 222 <br/><center><table><tr><td valign=top align=center colspan=2><b>Parent: <?php print "<a href=admin.php?f=add_cat&parent=$par2num>$par2</a> >".stripslashes($par)?></b></td></tr> 223 <form action=admin.php method=post> 310 <tr><td><b>Spidering options:</b></td><td></td><td><input type="radio" name="soption" value="full" <?php print $fullchecked;?>> Full<br/> 311 <input type="radio" name="soption" value="level" <?php print $depthchecked;?>>To depth: <input type="text" name="depth" size="2" value="<?php print $depth;?>"><br/> 312 <input type="checkbox" name="domaincb" value="1" <?php print $domainchecked;?>> Spider can leave domainDebugger.php https://github.com/premiumcombination/nts.git | PHP | 659 lines
1<?php 2 141 self::$time = microtime(TRUE); 142 self::$consoleMode = PHP_SAPI === 'cli'; 143 self::$productionMode = self::DETECT; 196 { 197 error_reporting(E_ALL | E_STRICT); 198 249 if (self::$logDirectory) { 250 ini_set('error_log', self::$logDirectory . '/php_error.log'); 251 } 252 253 // php configuration 254 if (function_exists('ini_set')) { 315 $exception = $message; 316 $message = "PHP Fatal error: " 317 . ($message instanceof Nette\FatalErrorExceptionsmarty_internal_templatebase.php https://github.com/LamCiuLoeng/BookShare.git | PHP | 697 lines
1<?php 2/** 80 if (isset($this->smarty->error_reporting)) { 81 $_smarty_old_error_level = error_reporting($this->smarty->error_reporting); 82 } 217 // escape PHP tags in template content 218 $output .= preg_replace('/(<%|%>|<\?php|<\?|\?>)/', '<?php echo \'$1\'; ?>', $curr_split); 219 if (isset($cache_parts[0][$curr_idx])) { 270 if (isset($this->error_reporting)) { 271 error_reporting($_smarty_old_error_level); 272 } 278 if ($_isCached && $_template->cached->timestamp <= strtotime($_last_modified_date)) { 279 switch (PHP_SAPI) { 280 case 'cgi': // php-cgi < 5.3 286 case 'cli': 287 if (/* ^phpunit */!empty($_SERVER['SMARTY_PHPUNIT_DISABLE_HEADERS'])/* phpunit$ */) { 288 $_SERVER['SMARTY_PHPUNIT_HEADERS'][] = '304 Not Modified';install.php https://github.com/fusenigk/mantisbt-1.git | PHP | 1053 lines
144</tr> 145<?php 146} 171 print_test( 'Checking Database connection settings exist', ( $f_dsn !== '' || ( $f_database_name !== '' && $f_db_username !== '' && $f_hostname !== '' ) ), true, 'database connection settings do not exist?' ); 172 print_test( 'Checking PHP support for database type', db_check_database_support( $f_db_type ), true, 'database is not supported by PHP. Check that it has been compiled into your server.' ); 173 } 218<!-- Check PHP Version --> 219<?php print_test( ' Checking PHP version (your version is ' . phpversion() . ')', check_php_version( phpversion() ), true, 'Upgrade to a more recent version of PHP' );?> 220 246<!-- Checking DB support--> 247<?php print_test( 'Checking PHP support for database type', db_check_database_support( $f_db_type ), true, 'database is not supported by PHP. Check that it has been compiled into your server.' )?> 248 273 </td> 274 <?php 275 if( '' !== $f_admin_password ) {lime.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 1500 lines
1<?php 2 15 * @author Fabien Potencier <fabien.potencier@gmail.com> 16 * @version SVN: $Id: lime.php 29529 2010-05-19 13:41:48Z fabien $ 17 */ 40 'verbose' => false, 41 'error_reporting' => false, 42 ), $options); 90 $testsuites->appendChild($testsuite = $dom->createElement('testsuite')); 91 $testsuite->setAttribute('name', basename($result['file'], '.php')); 92 $testsuite->setAttribute('file', $result['file']); 293 { 294 $php = sprintf("\$result = \$exp1 $op \$exp2;"); 295 // under some unknown conditions the sprintf() call causes a segmentation fault 296 // when placed directly in the eval() call 297 eval($php); 298sfApplicationConfiguration.class.php https://github.com/IDCI-Consulting/WebsiteEval.git | PHP | 700 lines
1<?php 2 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id: sfApplicationConfiguration.class.php 29526 2010-05-19 13:06:40Z fabien $ 18 */ 57 58 if (file_exists($file = sfConfig::get('sf_app_cache_dir').'/config/configuration.php')) 59 { 146 ini_set('display_errors', $this->isDebug() ? 'on' : 'off'); 147 error_reporting(sfConfig::get('sf_error_reporting')); 148 170 && 171 is_readable($config = $configuration->getRootDir().'/config/config.php') 172 ) 226 $files = array( 227 sfConfig::get('sf_app_config_dir').'/unavailable.php', 228 sfConfig::get('sf_config_dir').'/unavailable.php',RunTest.php https://bitbucket.org/cesarmedrano/cesarmedrano.git | PHP | 968 lines
31 * 32 * $ php -r 'include "../PEAR/RunTest.php"; $t=new PEAR_RunTest; $o=$t->run("./pear_system.phpt");print_r($o);' 33 * 251 252 $cmd = $this->_preparePhpBin($this->_php, $file, $ini_settings); 253 if (isset($this->_logger)) { 278 if (isset($this->_savephp)) { 279 $this->_php = $this->_savephp; 280 unset($this->_savephp); 342 } 343 $this->_savephp = $this->_php; 344 $this->_php = $this->_options['cgi']; 384 385 // Workaround for http://pear.php.net/bugs/bug.php?id=17292 386 $lines = explode("\n", $section_text['FILE']);mpdf.php https://bitbucket.org/fusioninvoice_it/fusioninvoice.git | PHP | 1640 lines
1<?php 2 37 38require_once(_MPDF_PATH.'includes/functions.php'); 39require_once(_MPDF_PATH.'config_cp.php'); 47 48$errorlevel=error_reporting(); 49$errorlevel=error_reporting($errorlevel & ~E_NOTICE); 50 51//error_reporting(E_ALL); 52 55} 56if (!function_exists("mb_strlen")) { die("Error - mPDF requires mb_string functions. Ensure that PHP is compiled with php_mbstring.dll enabled."); } 57 57 58if (!defined('PHP_VERSION_ID')) { 59 $version = explode('.', PHP_VERSION);makefulltextfeed.php https://bitbucket.org/timgws/full-text-rss.git | PHP | 1021 lines
34 35error_reporting(E_ALL ^ E_NOTICE); 36ini_set("display_errors", 1); 59 'SimplePie_HumbleHttpAgent' => 'humble-http-agent/SimplePie_HumbleHttpAgent.php', 60 'CookieJar' => 'humble-http-agent/CookieJar.php', 61 // Include IRI class for resolving relative URLs 61 // Include IRI class for resolving relative URLs 62 // 'IRI' => 'iri/iri.php', 63 // Include Zend Cache to improve performance (cache results) 121$test = filter_var($url, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED); 122// deal with bug http://bugs.php.net/51192 (present in PHP 5.2.13 and PHP 5.3.2) 123if ($test === false) { 199 200if (file_exists('custom_init.php')) require 'custom_init.php'; 201inc_version.php https://github.com/denisbz/SPIP-1.git | PHP | 405 lines
17# masquer les eventuelles erreurs sur les premiers define 18error_reporting(E_ALL ^ E_NOTICE); 19# compatibilite anciennes versions 20# si vous avez encore un fichier .php3, redefinissez a ".php3" 21# concerne mes_options.php3 / mes_fonctions.php3 / inc_connect.php3 22#define('_EXTENSION_PHP', '.php3'); 23define('_EXTENSION_PHP', ''); 24#mettre a true pour compatibilite PHP3 25define('_FEED_GLOBALS', false); 86OR (@file_exists($f = _ROOT_RESTREINT . _NOM_CONFIG . '.php')) 87OR (_EXTENSION_PHP AND @file_exists($f = _ROOT_RESTREINT . _NOM_CONFIG . _EXTENSION_PHP))) { 88 define('_FILE_OPTIONS', $f); 111// Il suffit de copier les lignes ci-dessous, et ajouter le marquage de debut 112// et fin de fichier PHP ("< ?php" et "? >", sans les espaces) 113// Ne pas les rendre indefinies.mpdf.php https://bitbucket.org/amitholkar/zenfile-18-05.git | PHP | 1691 lines
1<?php 2 31 32require_once(_MPDF_PATH.'includes/functions.php'); 33require_once(_MPDF_PATH.'config_cp.php'); 41 42$errorlevel=error_reporting(); 43$errorlevel=error_reporting($errorlevel & ~E_NOTICE); 44 45//error_reporting(E_ALL); 46 48@date_default_timezone_set(@date_default_timezone_get()); 49if (!function_exists("mb_strlen")) { die("Error - mPDF requires mb_string functions. Ensure that PHP is compiled with php_mbstring.dll enabled."); } 50 50 51if (!defined('PHP_VERSION_ID')) { 52 $version = explode('.', PHP_VERSION);fsc.php https://github.com/tstarling/hiphop-php.git | PHP | 481 lines
1<?php 2error_reporting(-1); 67 * instance must be the same or a descendent of the class enclosing the 68 * current method. The PHP group is in the process of depracating this 69 * behavior. HipHop explicitly lists this in the inconsistencies doc. 71 * instance must be the same as the current late bound class (aka the 72 * "called class"). This invariant is stated explicitly in Zend PHP's 73 * documentation: "In non-static contexts, the called class will be the 75 * 3) Normal style calls and call_user_func style calls should produce 76 * consistent results aside from any exceptions mentioned in Zend PHP's 77 * documentation. Therefore, "B::foo()" and "call_user_func('B::foo')"cuf.php https://github.com/tstarling/hiphop-php.git | PHP | 689 lines
1<?php 2error_reporting(-1); 67 * instance must be the same or a descendent of the class enclosing the 68 * current method. The PHP group is in the process of depracating this 69 * behavior. HipHop explicitly lists this in the inconsistencies doc. 71 * instance must be the same as the current late bound class (aka the 72 * "called class"). This invariant is stated explicitly in Zend PHP's 73 * documentation: "In non-static contexts, the called class will be the 75 * 3) Normal style calls and call_user_func style calls should produce 76 * consistent results aside from any exceptions mentioned in Zend PHP's 77 * documentation. Therefore, "B::meth()" and "call_user_func('B::meth')"execution-context.cpp https://github.com/tstarling/hiphop-php.git | C++ | 784 lines
10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 36#include "hphp/runtime/server/server-stats.h" 37#include "hphp/runtime/base/request-local.h" 38#include "hphp/runtime/base/builtin-functions.h" 51 52namespace HPHP { 53/////////////////////////////////////////////////////////////////////////////// 263 OutputBuffer *last = *(--iter); 264 const int flag = PHP_OUTPUT_HANDLER_START | PHP_OUTPUT_HANDLER_END; 265 if (iter != m_buffers.begin()) {