PageRenderTime 3271ms queryTime 329ms sortTime 142ms getByIdsTime 1644ms findMatchingLines 260ms

20+ results for 'php stristr repo:mridgway/zf2' (3271 ms)

Not the results you expected?
Search.php https://gitlab.com/digitalpoetry/exceptionally-timed | PHP | 462 lines
                    
1<?php namespace Myth\Docs;
                    
2/**
                    
28 * @license     http://opensource.org/licenses/MIT  (MIT)
                    
29 * @link        http://sprintphp.com
                    
30 * @since       Version 1.0
                    
64     */
                    
65    protected $allowed_file_types = 'html|htm|php|php4|php5|txt|md';
                    
66
                    
182            // Do we have a match in here somewhere?
                    
183            $found = stristr($text, $term) || stristr($text, $term_html);
                    
184
                    
                
Posix.php https://gitlab.com/yousafsyed/easternglamor | PHP | 407 lines
                    
1<?php
                    
2/**
                    
109        $this->write($text, $color, $bgColor);
                    
110        $this->write(PHP_EOL);
                    
111    }
                    
192        if (($lang = getenv('LANG')) !== false) {
                    
193            return stristr($lang, 'utf-8') || stristr($lang, 'utf8');
                    
194        }
                    
323
                    
324        $stream = fopen('php://stdin', 'rb');
                    
325        do {
                    
                
Util.php https://gitlab.com/CORP-RESELLER/shopping-cart-lite | PHP | 303 lines
                    
1<?php
                    
2/**
                    
3 * Braintree Utility methods
                    
4 * PHP version 5
                    
5 *
                    
135    {
                    
136        // php doesn't garbage collect functions created by create_function()
                    
137        // so use a static variable to avoid adding a new function to memory
                    
168    {
                    
169        // php doesn't garbage collect functions created by create_function()
                    
170        // so use a static variable to avoid adding a new function to memory
                    
291        foreach($validKeys AS $key) {
                    
292            if (stristr($key, '[_anyKey_]')) {
                    
293                $wildcardKey = str_replace('[_anyKey_]', '', $key);
                    
294                foreach ($invalidKeys AS $index => $invalidKey) {
                    
295                    if (stristr($invalidKey, $wildcardKey)) {
                    
296                        unset($invalidKeys[$index]);
                    
                
util.php https://gitlab.com/imxieke/XCloud | PHP | 280 lines
                    
108    foreach ($ext_arr as $current) {
                    
109        if ($current !== '' && stristr($file,'.'.$current)){//含有扩展名
                    
110            return 0;
                    
133    $base_path = get_path_this(BASIC_PATH).'/'; 
                    
134    if(!function_exists('iconv')) $error.= '<li>'.$L['php_env_error_iconv'].'</li>';
                    
135    if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>';
                    
135    if(!function_exists('mb_convert_encoding')) $error.= '<li>'.$L['php_env_error_mb_string'].'</li>';
                    
136    if(!version_compare(PHP_VERSION,'5.0','>=')) $error.= '<li>'.$L['php_env_error_version'].'</li>';
                    
137    if(!function_exists('file_get_contents')) $error.='<li>'.$L['php_env_error_file'].'</li>';
                    
138    if(!path_writable(BASIC_PATH)) $error.= '<li>'.$base_path.'	'.$L['php_env_error_path'].'</li>';
                    
139    if(!path_writable(BASIC_PATH.'data')) $error.= '<li>'.$base_path.'data	'.$L['php_env_error_path'].'</li>';
                    
140    if(!path_writable(BASIC_PATH.'data/system')) $error.= '<li>'.$base_path.'data/system	'.$L['php_env_error_path'].'</li>';
                    
140    if(!path_writable(BASIC_PATH.'data/system')) $error.= '<li>'.$base_path.'data/system	'.$L['php_env_error_path'].'</li>';
                    
141    if(!path_writable(BASIC_PATH.'data/User')) $error.= '<li>'.$base_path.'data/User	'.$L['php_env_error_path'].'</li>';
                    
142    if(!path_writable(BASIC_PATH.'data/thumb')) $error.= '<li>'.$base_path.'data/thumb	'.$L['php_env_error_path'].'</li>';
                    
                
social-media-icons.php https://gitlab.com/Gashler/sg | PHP | 207 lines
                    
129			<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'jetpack' ); ?></label>
                    
130			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" />
                    
131		</p>
                    
141			<label for="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>"><?php _e( 'Instagram username:', 'jetpack' ); ?></label>
                    
142			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'instagram_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'instagram_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['instagram_username'] ); ?>" />
                    
143		</p>
                    
153			<label for="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>"><?php _e( 'GitHub username:', 'jetpack' ); ?></label>
                    
154			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'github_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'github_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['github_username'] ); ?>" />
                    
155		</p>
                    
157			<label for="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>"><?php _e( 'YouTube channel ID:', 'jetpack' ); ?></label>
                    
158			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['youtube_username'] ); ?>" />
                    
159		</p>
                    
161			<label for="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>"><?php _e( 'Vimeo username:', 'jetpack' ); ?></label>
                    
162			<input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'vimeo_username' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'vimeo_username' ) ); ?>" type="text" value="<?php echo esc_attr( $instance['vimeo_username'] ); ?>" />
                    
163		</p>
                    
                
Trackback.php https://gitlab.com/sittipongwork/impro_dashboard | PHP | 549 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
271
                    
272		if (stristr($this->response, '<error>0</error>') === FALSE)
                    
273		{
                    
547
                    
548/* End of file Trackback.php */
                    
549/* Location: ./system/libraries/Trackback.php */
                    
                
filepost.com_member.php https://gitlab.com/dkiller1/rapidleech | PHP | 112 lines
                    
1<?php
                    
2
                    
60			$try = $try-1;
                    
61			if (stristr($page, 'Upload will be available a bit later')) html_error("Error@$try: Upload will be available a bit later.");
                    
62			else html_error("Error: No useable upload server found in $try trys.");
                    
65
                    
66		if (stristr($page, 'Upload will be available a bit later')) {
                    
67			sleep(1); // Let's wait...
                    
                
class-wc-download-handler.php https://gitlab.com/webkod3r/tripolis | PHP | 426 lines
                    
1<?php
                    
2
                    
252			exit;
                    
253		} elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'lighttpd' ) ) {
                    
254			self::download_headers( $parsed_file_path['file_path'], $filename );
                    
256			exit;
                    
257		} elseif ( stristr( getenv( 'SERVER_SOFTWARE' ), 'nginx' ) || stristr( getenv( 'SERVER_SOFTWARE' ), 'cherokee' ) ) {
                    
258			self::download_headers( $parsed_file_path['file_path'], $filename );
                    
338		}
                    
339		if ( function_exists( 'get_magic_quotes_runtime' ) && get_magic_quotes_runtime() && version_compare( phpversion(), '5.4', '<' ) ) {
                    
340			set_magic_quotes_runtime( 0 );
                    
369	 *
                    
370	 * Reads file in chunks so big downloads are possible without changing PHP.INI - http://codeigniter.com/wiki/Download_helper_for_large_files/.
                    
371	 *
                    
                
State.php https://github.com/wrobel/horde-fw3.git | PHP | 416 lines
                    
1<?php
                    
2
                    
4 * SyncML_State object and its property objects from the session. */
                    
5require_once 'SyncML/DeviceInfo.php';
                    
6require_once 'SyncML/Device.php';
                    
6require_once 'SyncML/Device.php';
                    
7require_once 'SyncML/Constants.php';
                    
8require_once 'SyncML/Command/SyncElement.php';
                    
12 *
                    
13 * $Horde: framework/SyncML/SyncML/State.php,v 1.17.2.19 2009-04-07 11:12:54 jan Exp $
                    
14 *
                    
29     *
                    
30     * This is not to confuse with the PHP session id, though it is part of
                    
31     * the generated PHP session id.
                    
56     *
                    
57     * Can be used to identify the client and is part of the PHP session id.
                    
58     *
                    
                
shortcodes.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 375 lines
                    
1<?php
                    
2/**
                    
48    
                    
49        if ( stristr( $content, '[singlepic' )) {
                    
50            $search = "@\[singlepic=(\d+)(|,\d+|,)(|,\d+|,)(|,watermark|,web20|,)(|,right|,center|,left|,)\]@i";
                    
64
                    
65        if ( stristr( $content, '[album' )) {
                    
66            $search = "@(?:<p>)*\s*\[album\s*=\s*(\w+|^\+)(|,extend|,compact)\]\s*(?:</p>)*@i"; 
                    
77
                    
78        if ( stristr( $content, '[gallery' )) {
                    
79            $search = "@(?:<p>)*\s*\[gallery\s*=\s*(\w+|^\+)\]\s*(?:</p>)*@i";
                    
88
                    
89        if ( stristr( $content, '[imagebrowser' )) {
                    
90            $search = "@(?:<p>)*\s*\[imagebrowser\s*=\s*(\w+|^\+)\]\s*(?:</p>)*@i";
                    
99
                    
100        if ( stristr( $content, '[slideshow' )) {
                    
101            $search = "@(?:<p>)*\s*\[slideshow\s*=\s*(\w+|^\+)(|,(\d+)|,)(|,(\d+))\]\s*(?:</p>)*@i";
                    
                
Standard.php https://gitlab.com/reasonat/test8 | PHP | 173 lines
                    
1<?php
                    
2
                    
101  protected static function filterXssDataAttributes($html) {
                    
102    if (stristr($html, 'data-') !== FALSE) {
                    
103      $dom = Html::load($html);
                    
                
php.js https://gitlab.com/juanito.abelo/nlmobile | JavaScript | 132 lines
                    
23    atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"),
                    
24    builtin: keywords("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 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 echo print global static exit array empty eval isset unset die include require include_once require_once"),
                    
25    multiLineStrings: true,
                    
54    var htmlMode = CodeMirror.getMode(config, "text/html");
                    
55    var phpMode = CodeMirror.getMode(config, phpConfig);
                    
56
                    
82        return style;
                    
83      } else if (isPHP && state.php.tokenize == null && stream.match("?>")) {
                    
84        state.curMode = htmlMode;
                    
103        var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html),
                    
104            php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur;
                    
105        if (state.curMode == htmlMode) cur = htmlNew;
                    
130  CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true});
                    
131  CodeMirror.defineMIME("text/x-php", phpConfig);
                    
132})();
                    
                
Doctype.php https://gitlab.com/fabiorf/curso-zend1-aula1 | PHP | 242 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: Doctype.php 25101 2012-11-07 20:27:27Z rob $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_Registry */
                    
24require_once 'Zend/Registry.php';
                    
25
                    
25
                    
26/** Zend_View_Helper_Abstract.php */
                    
27require_once 'Zend/View/Helper/Abstract.php';
                    
134                    if (substr($doctype, 0, 9) != '<!DOCTYPE') {
                    
135                        require_once 'Zend/View/Exception.php';
                    
136                        $e = new Zend_View_Exception('The specified doctype is malformed');
                    
139                    }
                    
140                    if (stristr($doctype, 'xhtml')) {
                    
141                        $type = self::CUSTOM_XHTML;
                    
                
lcfirst.php https://gitlab.com/iranjith4/hhvm | PHP | 158 lines
                    
1<?php
                    
2/* Make a string's first character uppercase */
                    
57    public function __call($m, $v) {
                    
58        if (stristr($m, 'set')) {
                    
59            $action = lcfirst(substr($m, 3));
                    
                
files.php https://gitlab.com/iamgraeme/royalmile | PHP | 137 lines
                    
1<?php
                    
2/**
                    
72
                    
73$action_url = network_admin_url( 'admin.php?page=wpseo_files' ); // auto-falls back on admin_url for non-multisite
                    
74
                    
110
                    
111if ( ( isset( $_SERVER['SERVER_SOFTWARE'] ) && stristr( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) === false ) && file_exists( $ht_access_file ) ) {
                    
112	$f = fopen( $ht_access_file, 'r' );
                    
131	$wpseo_admin_pages->postbox( 'htaccess', __( '.htaccess file', 'wordpress-seo' ), $content );
                    
132} elseif ( ( isset( $_SERVER['SERVER_SOFTWARE'] ) && stristr( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) === false ) && ! file_exists( $ht_access_file ) ) {
                    
133	$content = '<p>' . __( 'If you had a .htaccess file and it was editable, you could edit it from here.', 'wordpress-seo' );
                    
                
Intl.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 156 lines
                    
1<?php // vi: set fenc=utf-8 ts=4 sw=4 et:
                    
2/*
                    
10
                    
11namespace Patchwork\PHP\Shim;
                    
12
                    
13/**
                    
14 * Partial intl implementation in pure PHP.
                    
15 *
                    
18 * - grapheme_stripos  - Find position (in grapheme units) of first occurrence of a case-insensitive string
                    
19 * - grapheme_stristr  - Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack
                    
20 * - grapheme_strlen   - Get string length in grapheme units
                    
108    {
                    
109        // Intl based http://bugs.php.net/62759 and 55562 workaround
                    
110
                    
134    static function grapheme_strripos($s, $needle, $offset = 0) {return self::grapheme_position($s, $needle, $offset, 3);}
                    
135    static function grapheme_stristr ($s, $needle, $before_needle = false) {return mb_stristr($s, $needle, $before_needle, 'UTF-8');}
                    
136    static function grapheme_strstr  ($s, $needle, $before_needle = false) {return mb_strstr ($s, $needle, $before_needle, 'UTF-8');}
                    
                
doarSangue.dp.php https://gitlab.com/jalon/doadoronline | PHP | 169 lines
                    
1<?php
                    
2#################################################################################
                    
5if (defined('DOC_ROOT')) {
                    
6	include_once(DOC_ROOT . 'include.php');
                    
7}else{
                    
7}else{
                    
8 	include_once('../include.php');
                    
9}
                    
98 	
                    
99 	if (stristr($oDoacao,'[ERR]')) throw new Exception();
                    
100 	/*if($db->commit()){
                    
                
dwpage.php https://gitlab.com/michield/dokuwiki | PHP | 378 lines
                    
1#!/usr/bin/php
                    
2<?php
                    
3#------------------------------------------------------------------------------
                    
4if ('cli' != php_sapi_name()) die();
                    
5
                    
7if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/');
                    
8require_once DOKU_INC.'inc/init.php';
                    
9require_once DOKU_INC.'inc/common.php';
                    
9require_once DOKU_INC.'inc/common.php';
                    
10require_once DOKU_INC.'inc/cliopts.php';
                    
11
                    
15        case 'checkout':
                    
16           print "Usage: dwpage.php [opts] checkout <wiki:page> [working_file]
                    
17
                    
24    EXAMPLE
                    
25    $ ./dwpage.php checkout wiki:syntax ./new_syntax.txt
                    
26
                    
                
authcache_p13n.api.php https://gitlab.com/Drulenium-bot/authcache | PHP | 323 lines
                    
1<?php
                    
2/**
                    
221  // Never use ESI on localhost.
                    
222  if (stristr($base_root, 'localhost')) {
                    
223    $info['authcache_esi']['enabled'] = FALSE;
                    
                
Curl.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 392 lines
                    
27/** Zend_Http_Client_Adapter_Interface */
                    
28require_once 'Zend/Http/Client/Adapter/Interface.php';
                    
29
                    
31 * An adapter class for Zend_Http_Client based on the curl extension.
                    
32 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl
                    
33 *
                    
103        if (!extension_loaded('curl')) {
                    
104            require_once 'Zend/Http/Client/Adapter/Exception.php';
                    
105            throw new Zend_Http_Client_Adapter_Exception('cURL extension has to be loaded to use this Zend_Http_Client adapter.');
                    
185
                    
186            require_once 'Zend/Http/Client/Adapter/Exception.php';
                    
187            throw new Zend_Http_Client_Adapter_Exception('Unable to Connect to ' .  $host . ':' . $port);
                    
305         * Make sure POSTFIELDS is set after $curlMethod is set:
                    
306         * @link http://de2.php.net/manual/en/function.curl-setopt.php#81161
                    
307         */
                    
                
 

Source

Language