100+ results results for 'php trigger_error repo:milkyway/isucon2' (1160 ms)
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; 127 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 128 CodeMirror.defineMIME("text/x-php", phpConfig); 129})();yaf_route_regex.c https://gitlab.com/oytunistrator/yaf | C | 411 lines
4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | http://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 12 +----------------------------------------------------------------------+ 13 | Author: Xinchen Hui <laruence@php.net> | 14 +----------------------------------------------------------------------+ 21 22#include "php.h" 23#include "ext/pcre/php_pcre.h"class-wpb-map.php https://gitlab.com/oxidigitaluser/liguelista | PHP | 563 lines
1<?php 2/** 12 * This class maps shortcodes settings to VC editors. You can manage add new shortcodes or manage default shortcodes 13 * mapped in config/map.php. For developers it is possible to use API functions to add update settings attributes. 14 * 14 * 15 * @see config/map.php 16 * @see include/helpers/helpers_api.php 126 * You need to shortcode's tag and settings to map correctly. 127 * Default shortcodes are mapped in config/map.php file. 128 * The best way is to call this method with "init" action callback function of WP. 144 if ( empty( $attributes['name'] ) ) { 145 trigger_error( sprintf( __( "Wrong name for shortcode:%s. Name required", "js_composer" ), $tag ) ); 146 } elseif ( empty( $attributes['base'] ) ) { 146 } elseif ( empty( $attributes['base'] ) ) { 147 trigger_error( sprintf( __( "Wrong base for shortcode:%s. Base required", "js_composer" ), $tag ) ); 148 } else {MDB2Store.php https://gitlab.com/ahsanullah716/auth_master | PHP | 413 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 15 16require_once 'MDB2.php'; 17 20 */ 21require_once 'Auth/OpenID/Interface.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 30 */ 31require_once 'Auth/OpenID/Nonce.php'; 32yaf_route_map.c https://gitlab.com/oytunistrator/yaf | C | 323 lines
4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | http://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 12 +----------------------------------------------------------------------+ 13 | Author: Xinchen Hui <laruence@php.net> | 14 +----------------------------------------------------------------------+ 21 22#include "php.h" 23#include "ext/standard/php_smart_str.h" /* for smart_str */DebugClassLoader.php https://gitlab.com/puntodos/ean-landings | PHP | 318 lines
1<?php 2 31 private static $deprecated = array(); 32 private static $php7Reserved = array('int', 'float', 'bool', 'string', 'true', 'false', 'null'); 33 private static $darwinCache = array('/' => array('/', array())); 44 if ($this->wasFinder) { 45 @trigger_error('The '.__METHOD__.' method will no longer support receiving an object into its $classLoader argument in 3.0.', E_USER_DEPRECATED); 46 $this->classLoader = array($classLoader, 'loadClass'); 81 { 82 // Ensures we don't hit https://bugs.php.net/42098 83 class_exists('Symfony\Component\Debug\ErrorHandler'); 135 { 136 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 137 187 if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) { 188 @trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED); 189 } elseif (preg_match('#\n \* @deprecated (.*?)\r?\n \*(?: @|/$)#s', $refl->getDocComment(), $notice)) {ValidatorBuilder.php https://gitlab.com/matijabelec/bigpandadev | PHP | 387 lines
1<?php 2 302 { 303 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0. The validator will function without a property accessor.', E_USER_DEPRECATED); 304 320 { 321 @trigger_error('The '.__METHOD__.' method is deprecated in version 2.7 and will be removed in version 3.0.', E_USER_DEPRECATED); 322BigMath.php https://gitlab.com/x33n/ampache | PHP | 451 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 20 */ 21require_once 'Auth/OpenID/CryptUtil.php'; 22 25 */ 26require_once 'Auth/OpenID.php'; 27 39 * 40 * @param integer $long The long number (can be a normal PHP 41 * integer or a number created by one of the available long number 49 $msg = __FUNCTION__ . " takes only positive integers."; 50 trigger_error($msg, E_USER_ERROR); 51 return null;atomlib.php https://gitlab.com/ngochuynh1991/cuacuon | PHP | 363 lines
1<?php 2/** 2/** 3 * Atom Syndication Format PHP Library 4 * 5 * @package AtomLib 6 * @link http://code.google.com/p/phpatomlib/ 7 * 84 85 var $FILE = "php://input"; 86 90 /** 91 * PHP5 constructor. 92 */ 101 /** 102 * PHP4 constructor. 103 */mysql.dbi.lib.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 552 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin-DBI 7 * @subpackage MySQL 8 */ 9if (! defined('PHPMYADMIN')) { 10 exit; 12 13require_once './libraries/logging.lib.php'; 14 73{ 74 // N.B.: PHP's 'mysql' extension does not support 75 // multi_queries so this function will always 156 if ($is_controluser) { 157 trigger_error( 158 __(php.js https://gitlab.com/adamlwalker/generatedata | JavaScript | 132 lines
23 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 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 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"), 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})();function.html_select_date.php https://gitlab.com/fiesta-framework/Documentation | PHP | 387 lines
1<?php 2/** 11 */ 12require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 13/** 15 */ 16require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 17 41 * 42 * @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date} 43 * (Smarty online manual) 81 $reverse_years = false; 82 /* Should the select boxes be part of an array when returned from PHP? 83 e.g. setting it to "birthday", would create "birthday[Day]", 126 } else { 127 trigger_error("html_select_date: month_names must be an array of 12 strings", E_USER_NOTICE); 128 }ThemeManager.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 528 lines
5 * 6 * @package PhpMyAdmin 7 */ 12/** 13 * phpMyAdmin theme manager 14 * 14 * 15 * @package PhpMyAdmin 16 */ 201 if (! $this->checkTheme($theme)) { 202 trigger_error( 203 sprintf( 265 // force a change of a dummy session variable to avoid problems 266 // with the caching of phpmyadmin.css.php 267 $GLOBALS['PMA_Config']->set('theme-update', $this->theme->id);yaf_route_simple.c https://gitlab.com/oytunistrator/yaf | C | 257 lines
4 +----------------------------------------------------------------------+ 5 | This source file is subject to version 3.01 of the PHP license, | 6 | that is bundled with this package in the file LICENSE, and is | 7 | available through the world-wide-web at the following url: | 8 | http://www.php.net/license/3_01.txt | 9 | If you did not receive a copy of the PHP license and are unable to | 10 | obtain it through the world-wide-web, please send a note to | 11 | license@php.net so we can mail you a copy immediately. | 12 +----------------------------------------------------------------------+ 12 +----------------------------------------------------------------------+ 13 | Author: Xinchen Hui <laruence@php.net> | 14 +----------------------------------------------------------------------+ 21 22#include "php.h" 23ErrorHandler.php https://gitlab.com/shubam39/CakeTooDoo | PHP | 301 lines
6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Error 68 * Using the built-in exception handling, you can log all the exceptions 69 * that are dealt with by ErrorHandler by setting `Exception.log` to true in your core.php. 70 * Enabling this will log every exception to CakeLog and the configured loggers. 73 * 74 * Error handler also provides the built in features for handling php errors (trigger_error). 75 * While in debug mode, errors will be output to the screen using debugger. While in production mode, 105 * @return void 106 * @see http://php.net/manual/en/function.set-exception-handler.php 107 */function.html_select_time.php https://gitlab.com/oytunistrator/jobberbase | PHP | 364 lines
1<?php 2/** 11 */ 12require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 13/** 15 */ 16require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 17 24 * 25 * @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time} 26 * (Smarty online manual) 144 } else { 145 trigger_error("html_select_date: extra attribute '$_key' cannot be an array", E_USER_NOTICE); 146 }Esi.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 296 lines
1<?php 2 31 private $contentTypes; 32 private $phpEscapeMap = array( 33 array('<?', '<%', '<s', '<S'), 33 array('<?', '<%', '<s', '<S'), 34 array('<?php echo "<?"; ?>', '<?php echo "<%"; ?>', '<?php echo "<s"; ?>', '<?php echo "<S"; ?>'), 35 ); 89 { 90 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the hasSurrogateCapability() method instead.', E_USER_DEPRECATED); 91 219 $chunks = preg_split('#<esi\:include\s+(.*?)\s*(?:/|</esi\:include)>#', $content, -1, PREG_SPLIT_DELIM_CAPTURE); 220 $chunks[0] = str_replace($this->phpEscapeMap[0], $this->phpEscapeMap[1], $chunks[0]); 221 239 ++$i; 240 $chunks[$i] = str_replace($this->phpEscapeMap[0], $this->phpEscapeMap[1], $chunks[$i]); 241 ++$i;utils.php https://gitlab.com/Blueprint-Marketing/wp-cli | PHP | 506 lines
18 foreach ( get_vendor_paths() as $vendor_path ) { 19 if ( file_exists( $vendor_path . '/autoload.php' ) ) { 20 require $vendor_path . '/autoload.php'; 44function load_command( $name ) { 45 $path = WP_CLI_ROOT . "/php/commands/$name.php"; 46 52function load_all_commands() { 53 $cmd_dir = WP_CLI_ROOT . '/php/commands'; 54 189 if ( null === $path ) { 190 if ( file_exists( ABSPATH . 'wp-config.php' ) ) 191 $path = ABSPATH . 'wp-config.php'; 191 $path = ABSPATH . 'wp-config.php'; 192 elseif ( file_exists( ABSPATH . '../wp-config.php' ) && ! file_exists( ABSPATH . '/../wp-settings.php' ) ) 193 $path = ABSPATH . '../wp-config.php';YamlFileLoader.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 236 lines
1<?php 2 84 85 @trigger_error(sprintf('The "pattern" option in file "%s" is deprecated since version 2.2 and will be removed in 3.0. Use the "path" option in the route definition instead.', $path), E_USER_DEPRECATED); 86 134 unset($requirements['_method']); 135 @trigger_error(sprintf('The "_method" requirement of route "%s" in file "%s" is deprecated since version 2.2 and will be removed in 3.0. Use the "methods" option instead.', $name, $path), E_USER_DEPRECATED); 136 } 143 unset($requirements['_scheme']); 144 @trigger_error(sprintf('The "_scheme" requirement of route "%s" in file "%s" is deprecated since version 2.2 and will be removed in 3.0. Use the "schemes" option instead.', $name, $path), E_USER_DEPRECATED); 145 }Lexer.php https://gitlab.com/I-NOZex/quiz | PHP | 357 lines
1<?php 2 72 $lexer = $config; 73 trigger_error( 74 "Passing a prototype to 136 137 // once PHP DOM implements native line numbers, or we 138 // hack out something using XSLT, remove this stipulation 224 { 225 trigger_error('Call to abstract class', E_USER_ERROR); 226 }ReCaptcha.php https://gitlab.com/gregtyka/SiberianCMS | PHP | 501 lines
1<?php 2/** 22/** @see Zend_Service_Abstract */ 23require_once 'Zend/Service/Abstract.php'; 24 25/** @see Zend_Json */ 26require_once 'Zend/Json.php'; 27 28/** @see Zend_Service_ReCaptcha_Response */ 29require_once 'Zend/Service/ReCaptcha/Response.php'; 30 38 * @license http://framework.zend.com/license/new-bsd New BSD License 39 * @version $Id: ReCaptcha.php 25153 2012-11-28 11:56:23Z cogo $ 40 */ 167 $return = ''; 168 trigger_error($e->getMessage(), E_USER_WARNING); 169 }Translator.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 481 lines
1<?php 2 165 { 166 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Use the setFallbackLocales() method instead.', E_USER_DEPRECATED); 167 321 $this->assertValidLocale($locale); 322 $self = $this; // required for PHP 5.3 where "$this" cannot be use()d in anonymous functions. Change in Symfony 3.0. 323 $cache = $this->getConfigCacheFactory()->cache($this->getCatalogueCachePath($locale), 338 /** 339 * This method is public because it needs to be callable from a closure in PHP 5.3. It should be made protected (or even private, if possible) in 3.0. 340 * 348 $content = sprintf(<<<EOF 349<?php 350 399 { 400 return $this->cacheDir.'/catalogue.'.$locale.'.'.sha1(serialize($this->fallbackLocales)).'.php'; 401 }translation-install.php https://gitlab.com/webkod3r/tripolis | PHP | 243 lines
1<?php 2/** 19function translations_api( $type, $args = null ) { 20 include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version 21 58 if ( $ssl && is_wp_error( $request ) ) { 59 trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); 60 100 101 include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version 102 204 205 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 206 $skin = new Automatic_Upgrader_Skin; 230 231 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 232 $skin = new Automatic_Upgrader_Skin;TestHelper.php https://gitlab.com/yousafsyed/easternglamor | PHP | 160 lines
1<?php 2 7 8require_once "Braintree.php"; 9require_once "Braintree/CreditCardNumbers/CardTypeIndicators.php"; 9require_once "Braintree/CreditCardNumbers/CardTypeIndicators.php"; 10require_once "Braintree/CreditCardDefaults.php"; 11require_once "Braintree/OAuthTestHelper.php"; 93 if (preg_match('/^DEPRECATED/', $errstr) == 0) { 94 trigger_error('Unknown error received: ' . $errstr, E_USER_ERROR); 95 }EsmtpTransport.php https://gitlab.com/hatemdigify/digifyblog | PHP | 386 lines
1<?php 2 263 } 264 trigger_error('Call to undefined method '.$method, E_USER_ERROR); 265 }UserManager.php https://gitlab.com/cuza/Clinic_Recods | PHP | 243 lines
1<?php 2 139 { 140 @trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 141 171 { 172 @trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 173 238 { 239 @trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 240cache.php https://gitlab.com/alexprowars/bitrix | PHP | 541 lines
1<?php 2/** 124 $cacheEngine = new CacheEngineNone(); 125 trigger_error("Cache engine is not found", E_USER_WARNING); 126 } 130 $cacheEngine = new CacheEngineNone(); 131 trigger_error("Cache engine is not available", E_USER_WARNING); 132 } 197 $scriptName = $server->get("SCRIPT_NAME"); 198 if ($scriptName == "/bitrix/urlrewrite.php" && (($v = $server->get("REAL_FILE_PATH")) != null)) 199 { 201 } 202 elseif ($scriptName == "/404.php" && (($v = $server->get("REAL_FILE_PATH")) != null)) 203 { 257 $un = md5($uniqueString); 258 return mb_substr($un, 0, 2)."/".$un.".php"; 259 }AdminPage.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 444 lines
1<?php 2 7 * $page_title string (mandatory) 8 * $parent (string) (default: options-general.php) 9 * $capability (string) (default: 'manage_options') 146 if ( !isset($this->options) ) { 147 trigger_error('options handler not set', E_USER_WARNING); 148 return false; 338 if ( empty( $this->args['page_title'] ) ) 339 trigger_error( 'Page title cannot be empty', E_USER_WARNING ); 340 345 'screen_icon' => '', 346 'parent' => 'options-general.php', 347 'capability' => 'manage_options', 390jQuery( document ).ready( function( $ ){ 391 var $spinner = $( new Image() ).attr( 'src', '<?php echo admin_url( "images/wpspin_light.gif" ); ?>' ); 392AbstractNormalizer.php https://gitlab.com/geeta7/drupal | PHP | 345 lines
1<?php 2 155 { 156 @trigger_error(sprintf('%s is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter instead.', __METHOD__), E_USER_DEPRECATED); 157 234 { 235 @trigger_error(sprintf('%s is deprecated since version 2.7 and will be removed in 3.0. Use Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter instead.', __METHOD__), E_USER_DEPRECATED); 236password.php https://gitlab.com/exabyte-lab/tiffinbox | PHP | 251 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 40/** 41 * PHP ext/standard/password compatibility package 42 * 47 * @link https://codeigniter.com/user_guide/ 48 * @link http://php.net/password 49 */ 52 53if (is_php('5.5') OR ! defined('CRYPT_BLOWFISH') OR CRYPT_BLOWFISH !== 1 OR defined('HHVM_VERSION')) 54{ 69 * 70 * @link http://php.net/password_get_info 71 * @param string $hashConfigure.php https://gitlab.com/nghiep5890/bakery | PHP | 480 lines
2/** 3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 10 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @link http://cakephp.org CakePHP(tm) Project 12 * @package Cake.Core 73 trigger_error(__d('cake_dev', 74 "Can't find application core file. Please create %s, and make sure it is readable by PHP.", 75 APP . 'Config' . DS . 'core.php'), 189 * @return mixed value stored in configure, or null. 190 * @link http://book.cakephp.org/2.0/en/development/configuration.html#Configure::read 191 */ 345 * is decided by the config reader attached as $config. For example, if the 346 * 'default' adapter is a PhpReader, the generated file will be a PHP 347 * configuration file loadable by the PhpReader.2-5-migration-guide.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 289 lines
51- :php:class:`CookieComponent` peut utiliser le nouveau chiffrement AES-256 52 offert par :php:class:`Security`. Vous pouvez activer ceci en appelant 53 :php:meth:`CookieComponent::type()` avec 'aes'. 161 162- :php:meth:`Router::mapResources()` accepte la clé ``connectOptions`` dans 163 l'argument ``$options``. Regardez :ref:`custom-rest-routing` pour plus de 178 179- :php:meth:`Hash::insert()` et :php:meth:`Hash::remove()` supportent maintenant 180 les expressions de matcher dans les selecteurs de chemin. 197 198- :php:meth:`Security::encrypt()` et :php:meth:`Security::decrypt()` ont été 199 ajoutées. Ces méthodes montrent une API très simple pour accéder au 271 sécuriser les formulaires avec SecurityComponent. 272- :php:meth:`FormHelper::end()` et :php:meth:`FormHelper::secure()` vous 273 permettent de passer des options supplémentaires qui sont changées enLocale.php https://gitlab.com/matijabelec/bigpandadev | PHP | 195 lines
1<?php 2 13 14@trigger_error('The '.__NAMESPACE__.'\Locale class is deprecated since version 2.7, to be removed in Symfony 3.0. Use the methods provided by the \Symfony\Component\Intl\Intl class instead.', E_USER_DEPRECATED); 15MigrationPluginManager.php git://github.com/drupal/drupal.git | PHP | 272 lines
1<?php 2 75 if (is_dir($directory . '/migration_templates')) { 76 @trigger_error('Use of the /migration_templates directory to store migration configuration files is deprecated in Drupal 8.1.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2920988.', E_USER_DEPRECATED); 77 }LC_Page_Admin_Contents.php https://gitlab.com/raku.takayama/eccube-2_13 | PHP | 259 lines
1<?php 2/* 23 24require_once CLASS_EX_REALDIR . 'page_extends/admin/LC_Page_Admin_Ex.php'; 25 91 if (!SC_Utils_Ex::isBlank($this->arrErr['news_id'])) { 92 trigger_error('', E_USER_ERROR); 93function.fetch.php https://gitlab.com/fiesta-framework/Documentation | PHP | 221 lines
1<?php 2/** 14 * 15 * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} 16 * (Smarty online manual) 27 if (empty($params['file'])) { 28 trigger_error("[plugin] fetch parameter 'file' cannot be empty", E_USER_NOTICE); 29 44 if ($protocol) { 45 // remote resource (or php stream, …) 46 if (!$template->smarty->security_policy->isTrustedUri($params['file'])) { 105 if (!preg_match('![\w\d-]+: .+!', $param_value)) { 106 trigger_error("[plugin] invalid header format '" . $param_value . "'", E_USER_NOTICE); 107 122 } else { 123 trigger_error("[plugin] invalid value for attribute '" . $param_key . "'", E_USER_NOTICE); 124function.html_checkboxes.php https://gitlab.com/staging06/myproject | PHP | 237 lines
1<?php 2/** 10 * Smarty {html_checkboxes} function plugin 11 * File: function.html_checkboxes.php<br> 12 * Type: function<br> 33 * 34 * @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} 35 * (Smarty online manual) 47{ 48 require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 49 92 } else { 93 trigger_error("html_checkboxes: selected attribute contains an object of class '" . get_class($_sel) . "' without __toString() method", E_USER_NOTICE); 94 continue; 104 } else { 105 trigger_error("html_checkboxes: selected attribute is an object of class '" . get_class($_val) . "' without __toString() method", E_USER_NOTICE); 106 }FormType.php https://gitlab.com/matijabelec/bigpandadev | PHP | 229 lines
1<?php 2 157 if (null !== $options['virtual']) { 158 @trigger_error('The form option "virtual" is deprecated since version 2.3 and will be removed in 3.0. Use "inherit_data" instead.', E_USER_DEPRECATED); 159Shell.php https://gitlab.com/I-NOZex/quiz | PHP | 233 lines
1<?php 2 17use Symfony\Component\Process\ProcessBuilder; 18use Symfony\Component\Process\PhpExecutableFinder; 19 22 * 23 * Support for history and completion only works with a PHP compiled 24 * with readline support (either --with-readline or --with-libedit) 41 * 42 * If there is no readline support for the current PHP executable 43 * a \RuntimeException exception is thrown. 48 { 49 @trigger_error('The '.__CLASS__.' class is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); 50 70 $this->output->writeln($this->getHeader()); 71 $php = null; 72 if ($this->processIsolation) {function.html_select_time.php https://gitlab.com/fiesta-framework/Documentation | PHP | 364 lines
1<?php 2/** 11 */ 12require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 13/** 15 */ 16require_once(SMARTY_PLUGINS_DIR . 'shared.make_timestamp.php'); 17 23 * 24 * @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time} 25 * (Smarty online manual) 144 } else { 145 trigger_error("html_select_date: extra attribute '$_key' cannot be an array", E_USER_NOTICE); 146 }MethodTable.php http://aerial-cms.googlecode.com/svn/trunk/ | PHP | 554 lines
1<?php 2/** 35 * this constructor should be made private. Unfortunately, this is not possible 36 * in PHP4. 37 * 61 $className = substr($className, strrpos($className, '/') + 1); 62 $className = str_replace('.php', '', $className); 63 } 65 { 66 $className = str_replace('.php', '', $className); 67 $fullPath = str_replace('.', '/', $className); 75 { 76 if(isset($GLOBALS['amfphp']['classPath'])) 77 { 77 { 78 $servicePath = $GLOBALS['amfphp']['classPath']; 79 }ms-default-constants.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 151 lines
1<?php 2/** 2/** 3 * Defines constants and global variables that can be overridden, generally in wp-config.php. 4 * 13 * Exists for backward compatibility with legacy file-serving through 14 * wp-includes/ms-files.php (wp-content/blogs.php in MU). 15 * 20 21 // This filter is attached in ms-default-filters.php but that file is not included during SHORTINIT. 22 add_filter( 'default_site_option_ms_files_rewriting', '__return_true' ); 65 if ( !defined( 'ADMIN_COOKIE_PATH' ) ) { 66 if ( ! is_subdomain_install() || trim( parse_url( get_option( 'siteurl' ), PHP_URL_PATH ), '/' ) ) { 67 define( 'ADMIN_COOKIE_PATH', SITECOOKIEPATH ); 87 * Exists for backward compatibility with legacy file-serving through 88 * wp-includes/ms-files.php (wp-content/blogs.php in MU). 89 *ReCaptcha.php https://gitlab.com/yousafsyed/easternglamor | PHP | 502 lines
1<?php 2/** 22/** @see Zend_Service_Abstract */ 23#require_once 'Zend/Service/Abstract.php'; 24 25/** @see Zend_Json */ 26#require_once 'Zend/Json.php'; 27 28/** @see Zend_Service_ReCaptcha_Response */ 29#require_once 'Zend/Service/ReCaptcha/Response.php'; 30 168 $return = ''; 169 trigger_error($e->getMessage(), E_USER_WARNING); 170 } 230 /** @see Zend_Service_ReCaptcha_Exception */ 231 #require_once 'Zend/Service/ReCaptcha/Exception.php'; 232UserManager.php https://gitlab.com/galaxy-pidev/AllForDealWeb | PHP | 243 lines
1<?php 2 139 { 140 trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 141 171 { 172 trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 173 238 { 239 trigger_error('Using the UserManager as user provider is deprecated. Use FOS\UserBundle\Security\UserProvider instead.', E_USER_DEPRECATED); 240api.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 377 lines
1<?php 2 45 if ( !did_action('init') ) { 46 trigger_error( "Connection types should not be registered before the 'init' hook." ); 47 } 54 if ( strlen( $args['name'] ) > 32 ) { 55 trigger_error( sprintf( "Connection name '%s' is longer than 32 characters.", $args['name'] ), E_USER_WARNING ); 56 return false; 58 } else { 59 trigger_error( "Connection types without a 'name' parameter are deprecated.", E_USER_WARNING ); 60 }opcache.php https://bitbucket.org/daniellbraun/wildernessatthesmokies.git | PHP | 438 lines
1<?php 2/* 19if( version_compare( get_bloginfo('version'), '3.8', '<') ) { 20 require_once( ABSPATH . 'wp-admin/includes/plugin.php'); 21 deactivate_plugins( __FILE__ ); 30 31 const PHP_URL = 'http://php.shield-9.org'; 32 171 ); 172 if( version_compare( PHP_VERSION, '5.5.5') >= 0) 173 $this->hooks[] = add_submenu_page( 293 function render_widget_info_widget() { 294 $this->load_view('widgets/info.php'); 295 } 426 '<a href="%s">%s</a>', 427 ( is_network_admin() ? network_admin_url('admin.php?page=opcache') : admin_url('admin.php?page=opcache') ), 428 __('Dashboard', 'opcache')Theme.php https://gitlab.com/luyxtran264/myproject | PHP | 482 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 16 * 17 * @package PhpMyAdmin 18 */ 88 { 89 if (! file_exists($this->getPath() . '/info.inc.php')) { 90 return false; 92 93 if ($this->mtime_info === filemtime($this->getPath() . '/info.inc.php')) { 94 return true; 96 97 @include $this->getPath() . '/info.inc.php'; 98TransactionGateway.php https://gitlab.com/yousafsyed/easternglamor | PHP | 445 lines
1<?php 2/** 68 { 69 trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::confirm", E_USER_NOTICE); 70 $params = Braintree_TransparentRedirect::parseAndValidateQueryString( 85 { 86 trigger_error("DEPRECATED: Please use Braintree_TransparentRedirectRequest::url", E_USER_NOTICE); 87 return $this->_config->baseUrl() . $this->_config->merchantPath() .HTMLModuleManager.php https://gitlab.com/hop23typhu/list-theme | PHP | 403 lines
1<?php 2 159 if (!class_exists($module)) { 160 trigger_error($original_module . ' module does not exist', 161 E_USER_ERROR); 167 if (empty($module->name)) { 168 trigger_error('Module instance of ' . get_class($module) . ' must have name'); 169 return; 171 if (!$overload && isset($this->registeredModules[$module->name])) { 172 trigger_error('Overloading ' . $module->name . ' without explicit overload parameter', E_USER_WARNING); 173 }Version.php https://gitlab.com/OnBlox/OnBlox-Template | PHP | 226 lines
1<?php 2/** 87 if (null === $httpClient && !ini_get('allow_url_fopen')) { 88 trigger_error( 89 sprintf( 91 'was passed. You must either set allow_url_fopen in ' . 92 'your PHP configuration or pass a configured ' . 93 'Zend\Http\Client as the second argument to %s.', 107 } else { 108 trigger_error( 109 sprintf(ucp_pm.php https://gitlab.com/perioner/mfhs.git | PHP | 424 lines
82 83 include($phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx); 84 142 143 include($phpbb_root_path . 'includes/ucp/ucp_pm_options.' . $phpEx); 144 message_options($id, $mode, $global_privmsgs_rules, $global_rule_conditions); 154 // Call another module... please do not try this at home... Hoochie Coochie Man 155 include($phpbb_root_path . 'includes/ucp/ucp_main.' . $phpEx); 156 382 { 383 include($phpbb_root_path . 'includes/ucp/ucp_pm_viewfolder.' . $phpEx); 384 view_folder($id, $mode, $folder_id, $folder); 399 400 include($phpbb_root_path . 'includes/ucp/ucp_pm_viewmessage.' . $phpEx); 401 view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row);Renderer.php https://gitlab.com/szlongshu/manaphp | PHP | 174 lines
5 use ManaPHP\Mvc\View\Renderer\EngineInterface; 6 use ManaPHP\Mvc\View\Renderer\Exception; 7 21 { 22 $this->_registeredEngines['.phtml'] = 'ManaPHP\Mvc\View\Renderer\Engine\Php'; 23 $this->_registeredEngines['.tpl'] = 'ManaPHP\Mvc\View\Renderer\Engine\Smarty'; 30 * @return \ManaPHP\Mvc\View\Renderer\EngineInterface 31 * @throws \ManaPHP\Mvc\View\Renderer\Exception 32 */ 43 if (!$engine instanceof EngineInterface) { 44 throw new Exception('Invalid template engine: it is not implements \ManaPHP\Mvc\Renderer\EngineInterface'); 45 } 147 *$renderer->registerEngines(array( 148 * ".phtml" => "ManaPHP\Mvc\View\Renderer\Engine\Php", 149 * ".html" => "ManaPHP\Mvc\View\Renderer\Engine\Html",BehaviorCollection.php https://gitlab.com/shubam39/CakeTooDoo | PHP | 296 lines
1<?php 2/** 6 * 7 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) 8 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 15 * @link http://cakephp.org CakePHP(tm) Project 16 * @package Cake.Model 16 * @package Cake.Model 17 * @since CakePHP(tm) v 1.2.0.0 18 * @license http://www.opensource.org/licenses/mit-license.php MIT License 225 if ($strict && empty($method)) { 226 trigger_error(__d('cake_dev', '%s - Method %s not found in any attached behavior', 'BehaviorCollection::dispatchMethod()', $method), E_USER_WARNING); 227 return null;CloudStorageReadClient.php https://gitlab.com/gregtyka/frankenserver | PHP | 368 lines
1<?php 2/** 133 /** 134 * Seek within the current file. We expect the upper layers of PHP to convert 135 * SEEK_CUR to SEEK_SET. 142 } else { 143 trigger_error("Unable to seek from end for objects with unknown size", 144 E_USER_WARNING); 149 if ($whence != SEEK_SET) { 150 trigger_error(sprintf("Unsupported seek mode: %d", $whence), 151 E_USER_WARNING); 271 if ($headers === false) { 272 trigger_error("Unable to acquire OAuth token.", E_USER_WARNING); 273 return false; 290 if ($http_response === false) { 291 trigger_error("Unable to connect to Google Cloud Storage Service.", 292 E_USER_WARNING);AbstractConstraintValidatorTest.php https://gitlab.com/matijabelec/bigpandadev | PHP | 441 lines
1<?php 2 30 */ 31abstract class AbstractConstraintValidatorTest extends \PHPUnit_Framework_TestCase 32{ 258 { 259 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Use the buildViolation() method instead.', E_USER_DEPRECATED); 260 277 { 278 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Use the buildViolation() method instead.', E_USER_DEPRECATED); 279 415 416 \PHPUnit_Framework_Assert::assertSame($expectedCount = count($expected), $violationsCount = count($violations), sprintf('%u violation(s) expected. Got %u.', $expectedCount, $violationsCount)); 417 420 foreach ($expected as $violation) { 421 \PHPUnit_Framework_Assert::assertEquals($violation, current($violations)); 422 next($violations);DefaultFormRenderer.php git://github.com/nette/nette.git | PHP | 515 lines
1<?php 2 160 { 161 trigger_error(__METHOD__ . '() is deprecated; use unobstructive JavaScript instead.', E_USER_WARNING); 162 return $this;Lexer.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 345 lines
1<?php 2 74 $lexer = $config; 75 trigger_error("Passing a prototype to 76 HTMLPurifier_Lexer::create() is deprecated, please instead 144 145 // once PHP DOM implements native line numbers, or we 146 // hack out something using XSLT, remove this stipulation 217 { 218 trigger_error('Call to abstract class', E_USER_ERROR); 219 }m_dijaki.php https://gitlab.com/diplomskaoiv/oiv | PHP | 266 lines
1<?php 2 13 if($stmt === false) { 14 trigger_error("SQL error: " . $connection->error, E_USER_ERROR); 15 } 50 if($stmt === false) { 51 trigger_error("SQL error: " . $connection->error, E_USER_ERROR); 52 } 85 if($stmt === false) { 86 trigger_error("SQL error: " . $connection->error, E_USER_ERROR); 87 } 123 if($stmt === false) { 124 trigger_error("SQL error: " . $connection->error, E_USER_ERROR); 125 } 152 if($stmt === false) { 153 trigger_error("SQL error: " . $connection->error, E_USER_ERROR); 154 }atomlib.php https://gitlab.com/gregtyka/WordPress-stable | PHP | 352 lines
1<?php 2/** 2/** 3 * Atom Syndication Format PHP Library 4 * 5 * @package AtomLib 6 * @link http://code.google.com/p/phpatomlib/ 7 * 84 85 var $FILE = "php://input"; 86 132 if(!xml_parse($parser, $data, feof($fp))) { 133 trigger_error(sprintf(__('XML error: %s at line %d')."\n", 134 xml_error_string(xml_get_error_code($xml_parser)), 174 if($this->is_html || $this->is_text) 175 trigger_error("Invalid content in element found. Content must not be of type text or html if it contains markup."); 176class-IXR-message.php https://gitlab.com/VTTE/sitios-vtte | PHP | 234 lines
1<?php 2 30 /** 31 * PHP5 constructor. 32 */ 38 /** 39 * PHP4 constructor. 40 */ 47 if ( ! function_exists( 'xml_parser_create' ) ) { 48 trigger_error( __( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ) ); 49 return false;password.php https://gitlab.com/boxnia/NFU_MOVIL | PHP | 279 lines
1<?php 2/** 2/** 3 * A Compatibility library with PHP 5.5's simplified password hashing API. 4 * 4 * 5 * @author Anthony Ferrara <ircmaxell@php.net> 6 * @license http://www.opensource.org/licenses/mit-license.html MIT License 27 if (!function_exists('crypt')) { 28 trigger_error("Crypt must be loaded for password_hash to function", E_USER_WARNING); 29 return null; 31 if (!is_string($password)) { 32 trigger_error("password_hash(): Password must be a string", E_USER_WARNING); 33 return null; 35 if (!is_int($algo)) { 36 trigger_error("password_hash() expects parameter 2 to be long, " . gettype($algo) . " given", E_USER_WARNING); 37 return null;IRI.php https://gitlab.com/Gashler/dp | PHP | 1238 lines
1<?php 2/** 4 * 5 * A PHP-Based RSS and Atom Feed Framework. 6 * Takes the hard work out of managing a complete RSS/Atom solution. 41 * @link http://simplepie.org/ SimplePie 42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 43 */ 53 * @copyright 2007-2012 Geoffrey Sneddon, Steve Minutillo, Ryan McCue 54 * @license http://www.opensource.org/licenses/bsd-license.php 55 */ 206 { 207 trigger_error('Undefined property: ' . get_class($this) . '::' . $name, E_USER_NOTICE); 208 $return = null;rss.php https://gitlab.com/Gashler/dp | PHP | 932 lines
1<?php 2/** 15/** 16 * Deprecated. Use SimplePie (class-simplepie.php) instead. 17 */ 17 */ 18_deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/class-simplepie.php' ); 19 55 56 # if PHP xml isn't compiled in, die 57 # 58 if ( !function_exists('xml_parser_create') ) 59 trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); 60 63 if ( !is_resource($parser) ) 64 trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); 65php.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;GroupSequence.php https://gitlab.com/matijabelec/bigpandadev | PHP | 213 lines
1<?php 2 108 { 109 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 110 126 { 127 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 128 146 { 147 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 148 170 { 171 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 172 192 { 193 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED); 194hash.php https://gitlab.com/betanurlaila/UI_onlineshop | PHP | 245 lines
1<?php 2/** 4 * 5 * An open source application development framework for PHP 6 * 40/** 41 * PHP ext/hash compatibility package 42 * 47 * @link https://codeigniter.com/user_guide/ 48 * @link http://php.net/hash 49 */ 52 53if (is_php('5.6')) 54{ 64 * 65 * @link http://php.net/hash_equals 66 * @param string $known_stringProcessTest.php https://gitlab.com/ealexis.t/trends | PHP | 1237 lines
33 $phpBin = new PhpExecutableFinder(); 34 self::$phpBin = getenv('SYMFONY_PROCESS_PHP_TEST_BINARY') ?: ('phpdbg' === PHP_SAPI ? 'php' : $phpBin->find()); 35 if ('\\' !== DIRECTORY_SEPARATOR) { 38 // command with exec 39 self::$phpBin = 'exec '.self::$phpBin; 40 } 100 { 101 $p = $this->getProcess(self::$phpBin.' '.__DIR__.'/NonStopableProcess.php 30'); 102 $p->start(); 324 { 325 $p = $this->getProcess(sprintf('%s -r %s', self::$phpBin, escapeshellarg('$n = 0; while ($n < 3) { file_put_contents(\'php://stderr\', \'ERROR\'); $n++; }'))); 326 332 { 333 $p = $this->getProcess(sprintf('%s -r %s', self::$phpBin, escapeshellarg('$n = 0; while ($n < 3) { file_put_contents(\'php://stderr\', \'ERROR\'); $n++; }'))); 334Mbstring.php https://gitlab.com/ealexis.t/trends | PHP | 604 lines
1<?php 2 14/** 15 * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. 16 * 64{ 65 const MB_CASE_FOLD = PHP_INT_MAX; 66 133 { 134 trigger_error('mb_encode_mimeheader() is bugged. Please use iconv_mime_encode() instead', E_USER_WARNING); 135 } 345 if ('' === $needle .= '') { 346 trigger_error(__METHOD__.': Empty delimiter', E_USER_WARNING); 347ErrorHandlerTest.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());Configuration.php https://gitlab.com/ealexis.t/trends | PHP | 1074 lines
1<?php 2 139 * this file will be returned. If not, all possible config directories will 140 * be searched, and the first `config.php` or `rc.php` file which exists 141 * will be returned. 144 * 145 * ~/.config/psysh/config.php 146 * 154 155 $files = ConfigPaths::getConfigFiles(array('config.php', 'rc.php'), $this->configDir); 156 159 $msg = sprintf('Multiple configuration files found: %s. Using %s', implode($files, ', '), $files[0]); 160 trigger_error($msg, E_USER_NOTICE); 161 } 169 * 170 * Searches for a project specific config file `.psysh.php` in the current 171 * working directory.PHP_lang.php https://gitlab.com/error414/fileshit | PHP | 1405 lines
36 * fixed '\\' bug in QUOTE1 37 * fixed <?php when PHP is not embeded 38 */ 56 "_COUNTAB" => array("OUT",0), 57 //"PHP_DELIM" => array("OUT",0), 58 "$" => array("VAR",0), 97 PF_RECURSION, 98 "php-comment", 99 null), 107 PF_RECURSION, 108 "php-comment", 109 null), 131 PF_RECURSION, 132 "php-var", 133 null),TextSearchQuery.php https://gitlab.com/essere.lab.public/qualitas.class-corpus | PHP | 1155 lines
1<?php rcs_id('$Id: TextSearchQuery.php,v 1.28 2007/03/18 17:35:26 rurban Exp $'); 2/** 78 else { 79 trigger_error(fmt("Unsupported argument: %s=%s", 'regex', $regex)); 80 $this->_regex = 0; 320 * 321 * Supports all mathematical PHP comparison operators, plus ':=' for equality. 322 * "(x < 2000000 and x >= 10000) or (x >= 100 and x < 2000)" 372 // therefore a dummy check for this definition. 373 // php-4.2.2 has a problem with /\b:=\b/ matching "population := 1223400" 374 $this->_query = preg_replace("/:=/", "==", $this->_query); 391 { 392 trigger_error("Illegal function in query: ".$m[1], E_USER_WARNING); 393 return '';IRI.php https://gitlab.com/VTTE/sitios-vtte | PHP | 1084 lines
1<?php 2/** 45 * @copyright 2007-2009 Geoffrey Sneddon and Steve Minutillo 46 * @license http://www.opensource.org/licenses/bsd-license.php 47 * @link http://hg.gsnedders.com/iri/ 204 else { 205 trigger_error('Undefined property: ' . get_class($this) . '::' . $name, E_USER_NOTICE); 206 $return = null;update.php https://gitlab.com/VTTE/sitios-vtte | PHP | 836 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 31 require ABSPATH . WPINC . '/version.php'; 32 $php_version = phpversion(); 33 92 'version' => $wp_version, 93 'php' => $php_version, 94 'locale' => $locale, 114 * @type string $version WordPress version number. 115 * @type string $php PHP version number. 116 * @type string $locale The locale to retrieve updates for. 248 * 249 * The WordPress version, PHP version, and Locale is sent along with a list of 250 * all plugins installed. Checks against the WordPress server atrss.php https://gitlab.com/VTTE/sitios-vtte | PHP | 954 lines
1<?php 2/** 16/** 17 * Deprecated. Use SimplePie (class-simplepie.php) instead. 18 */ 18 */ 19_deprecated_file( basename( __FILE__ ), '3.0.0', WPINC . '/class-simplepie.php' ); 20 58 /** 59 * PHP5 constructor. 60 */ 62 63 # Check if PHP xml isn't compiled 64 # 65 if ( ! function_exists('xml_parser_create') ) { 66 return trigger_error( "PHP's XML extension is not available. Please contact your hosting provider to enable PHP's XML extension." ); 67 }rest-api.php https://gitlab.com/VTTE/sitios-vtte | PHP | 1605 lines
1<?php 2/** 165 166 add_rewrite_rule( '^' . rest_get_url_prefix() . '/?$', 'index.php?rest_route=/', 'top' ); 167 add_rewrite_rule( '^' . rest_get_url_prefix() . '/(.*)?', 'index.php?rest_route=/$matches[1]', 'top' ); 167 add_rewrite_rule( '^' . rest_get_url_prefix() . '/(.*)?', 'index.php?rest_route=/$matches[1]', 'top' ); 168 add_rewrite_rule( '^' . $wp_rewrite->index . '/' . rest_get_url_prefix() . '/?$', 'index.php?rest_route=/', 'top' ); 169 add_rewrite_rule( '^' . $wp_rewrite->index . '/' . rest_get_url_prefix() . '/(.*)?', 'index.php?rest_route=/$matches[1]', 'top' ); 182 add_action( 'deprecated_function_run', 'rest_handle_deprecated_function', 10, 3 ); 183 add_filter( 'deprecated_function_trigger_error', '__return_false' ); 184 add_action( 'deprecated_argument_run', 'rest_handle_deprecated_argument', 10, 3 ); 184 add_action( 'deprecated_argument_run', 'rest_handle_deprecated_argument', 10, 3 ); 185 add_filter( 'deprecated_argument_trigger_error', '__return_false' ); 186 369 $url = trailingslashit( get_home_url( $blog_id, '', $scheme ) ); 370 // nginx only allows HTTP/1.0 methods when redirecting from / to /index.php. 371 // To work around this, we manually add index.php to the URL, avoiding the redirect.functions.php https://gitlab.com/VTTE/sitios-vtte | PHP | 415 lines
1<?php 2 /** 29 30 include TEMPLATEPATH . '/inc/widgets.php'; 31 include TEMPLATEPATH . '/inc/settings.php'; 31 include TEMPLATEPATH . '/inc/settings.php'; 32 include TEMPLATEPATH . '/inc/site.php'; 33 include TEMPLATEPATH . '/inc/search_filter.php'; 244 // wp_enqueue_script( 'theme_admin_scripts', THEME_JS .'/admin_scripts.js', array('jquery'), true ); 245 if ( is_admin() && (($pagenow == 'index.php' ) || ($pagenow == 'admin.php')) ) { 246 if ($_GET['page'] == 'vtte-site-settings') 249 } 250 if (is_admin() && ( ($pagenow == 'link-add.php') || ( $pagenow == 'link.php' ) ) ) { 251 wp_enqueue_media(); 256 } 257 // if ($pagenow == 'nav-menus.php' || $pagenow == 'edit-tags.php') { 258 // wp_enqueue_media();AdminObjectAclManipulator.php https://gitlab.com/cuza/Clinic_Recods | PHP | 295 lines
1<?php 2 74 { 75 trigger_error('createForm() is deprecated since version 3.0. Use createAclUsersForm() instead.', E_USER_DEPRECATED); 76 148 { 149 trigger_error('updateAcl() is deprecated since version 3.0. Use updateAclUsers() instead.', E_USER_DEPRECATED); 1502-5-migration-guide.rst https://gitlab.com/albertkeba/docs | ReStructuredText | 268 lines
49- :php:class:`CookieComponent` can use the new AES-256 encryption offered by 50 :php:class:`Security`. You can enable this by calling 51 :php:meth:`CookieComponent::type()` with 'aes'. 168 169- :php:meth:`Hash::insert()` and :php:meth:`Hash::remove()` now support matcher 170 expressions in their path selectors. 187 188- :php:meth:`Security::encrypt()` and :php:meth:`Security::decrypt()` were 189 added. These methods expose a very simple API to access AES-256 symmetric encryption. 194 195- The third param for :php:meth:`Validation::inList()` and :php:meth:`Validation::multiple()` has been 196 modified from `$strict` to `$caseInsensitive`. `$strict` has been dropped as it was working incorrectly 252 conjunction with SecurityComponent. 253- :php:meth:`FormHelper::end()` and :php:meth:`FormHelper::secure()` allow you 254 to pass additional options that are turned into attributes on the generatedpassword_compat.php git://github.com/q2a/question2answer.git | PHP | 317 lines
1<?php 2/** 2/** 3 * A Compatibility library with PHP 5.5's simplified password hashing API. 4 * 4 * 5 * @author Anthony Ferrara <ircmaxell@php.net> 6 * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 /** 14 * PHPUnit Process isolation caches constants, but not function declarations. 15 * So we need to check if the constants are defined separately from 36 if (!function_exists('crypt')) { 37 trigger_error("Crypt must be loaded for password_hash to function", E_USER_WARNING); 38 return null; 43 if (!is_string($password)) { 44 trigger_error("password_hash(): Password must be a string", E_USER_WARNING); 45 return null;parse_aiml_as_XML.php https://gitlab.com/tutaalexandr/bot_local | PHP | 1106 lines
1<?php 2 6 * Version: 2.4.8 7 * FILE: parse_aiml_as_xml.php 8 * AUTHOR: Elizabeth Perreau and Dave Morton 29 { 30 trigger_error("There was a problem parsing the template as XML. Template value:\n$template", E_USER_WARNING); 31 $aimlTemplate = new SimpleXMLElement("<text>$error_response</text>", LIBXML_NOCDATA); 45 /** 46 * Wraps mixed content XML with <text></text> tags, allowing full use of PHP's SimpleXML functions 47 * 100 $varType = gettype($input); 101 trigger_error("Input not array! Input is of type $varType. Error originated in $file, function $function, line $line. Input = " . print_r($input, true)); 102 return $input;xml.php https://gitlab.com/x33n/platform | PHP | 647 lines
1<?php 2/** 5 * @subpackage UnitTester 6 * @version $Id: xml.php 1787 2008-04-26 20:35:39Z pp11 $ 7 */ 11 */ 12require_once(dirname(__FILE__) . '/scorer.php'); 13/**#@-*/ 505 if (! xml_parse($this->expat, $chunk)) { 506 trigger_error('XML parse error with ' . 507 xml_error_string(xml_get_error_code($this->expat)));test_case.php https://gitlab.com/x33n/platform | PHP | 658 lines
5 * @subpackage UnitTester 6 * @version $Id: test_case.php 2012 2011-04-29 08:57:00Z pp11 $ 7 */ 15require_once(dirname(__FILE__) . '/compatibility.php'); 16require_once(dirname(__FILE__) . '/scorer.php'); 17require_once(dirname(__FILE__) . '/expectation.php'); 18require_once(dirname(__FILE__) . '/dumper.php'); 19require_once(dirname(__FILE__) . '/simpletest.php'); 20require_once(dirname(__FILE__) . '/exceptions.php'); 20require_once(dirname(__FILE__) . '/exceptions.php'); 21require_once(dirname(__FILE__) . '/reflection_php5.php'); 22/**#@-*/ 242 if (! isset($this->reporter)) { 243 trigger_error('Can only make assertions within test methods'); 244 }S3.php https://gitlab.com/x33n/platform | PHP | 1464 lines
1<?php 2/** 31/** 32* Amazon S3 PHP class 33* 33* 34* @link http://undesigned.org.za/2007/10/22/amazon-s3-php-class 35* @version 0.5.0-dev 221 else 222 trigger_error($message, E_USER_WARNING); 223 }IRI.php https://gitlab.com/x33n/ampache | PHP | 1220 lines
1<?php 2/** 45 * @copyright 2007-2009 Geoffrey Sneddon and Steve Minutillo 46 * @license http://www.opensource.org/licenses/bsd-license.php 47 * @link http://hg.gsnedders.com/iri/ 199 { 200 trigger_error('Undefined property: ' . get_class($this) . '::' . $name, E_USER_NOTICE); 201 $return = null; 385 { 386 trigger_error('This should never happen', E_USER_ERROR); 387 die;SQLStore.php https://gitlab.com/x33n/ampache | PHP | 557 lines
1<?php 2 5 * 6 * PHP versions 4 and 5 7 * 18 */ 19require_once 'Auth/OpenID/Interface.php'; 20require_once 'Auth/OpenID/Nonce.php'; 24 */ 25require_once 'Auth/OpenID.php'; 26 29 */ 30require_once 'Auth/OpenID/Nonce.php'; 31 90 'auth_openid_databaseconnection')))) { 91 trigger_error("Auth_OpenID_SQLStore expected PEAR connection " . 92 "object (got ".get_class($connection).")",FileStore.php https://gitlab.com/x33n/ampache | PHP | 627 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 19 */ 20require_once 'Auth/OpenID.php'; 21require_once 'Auth/OpenID/Interface.php'; 21require_once 'Auth/OpenID/Interface.php'; 22require_once 'Auth/OpenID/HMAC.php'; 23require_once 'Auth/OpenID/Nonce.php'; 51 if (!Auth_OpenID::ensureDir($directory)) { 52 trigger_error('Not a directory and failed to create: ' 53 . $directory, E_USER_ERROR); 71 if (!$this->_setup()) { 72 trigger_error('Failed to initialize OpenID file store in ' . 73 $directory, E_USER_ERROR);Association.php https://gitlab.com/x33n/ampache | PHP | 610 lines
1<?php 2 6 * 7 * PHP versions 4 and 5 8 * 19 */ 20require_once 'Auth/OpenID/CryptUtil.php'; 21 24 */ 25require_once 'Auth/OpenID/KVForm.php'; 26 29 */ 30require_once 'Auth/OpenID/HMAC.php'; 31 136 $fmt = 'Unsupported association type (%s)'; 137 trigger_error(sprintf($fmt, $assoc_type), E_USER_ERROR); 138 }Model.php https://gitlab.com/x33n/ImpressPages | PHP | 801 lines
1<?php 2 106 if (!$copy) { 107 trigger_error('Element does not exist'); 108 }AdminController.php https://gitlab.com/x33n/ImpressPages | PHP | 510 lines
1<?php 2/** 37 38 $html = ipView('view/popup/logo.php', $popupData)->render(); 39 125 126 $html = ipView('view/popup/image.php', $popupData)->render(); 127 349 case Scope::SCOPE_PARENT_PAGE: 350 trigger_error( 351 "developer/inline_management",PEAR.php https://gitlab.com/staging06/myproject | PHP | 1415 lines
12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 21 * @copyright 1997-2006 The PHP Group 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 * @version CVS: $Id: PEAR.php 6844 2011-06-03 14:46:51Z dMetzger $ 54 55 if (substr(PHP_OS, 0, 3) == 'WIN') { 56 define('OS_WINDOWS', true); 104 * @copyright 1997-2006 The PHP Group 105 * @license http://www.php.net/license/3_0.txt PHP License 3.0 106 * @version Release: 1.4.9 109 * @since Class available since PHP 4.0.2 110 * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear 111 */HTMLPurifier.standalone.php https://gitlab.com/staging06/myproject | PHP | 1446 lines
1<?php 2 4 * @file 5 * This file was auto-generated by generate-includes.php and includes all of 6 * the core files required by HTML Purifier. Use this if performance is a 146 { 147 trigger_error( 148 'HTMLPurifier->addFilter() is deprecated, use configuration directives' .menu-editor-core.php https://gitlab.com/blueprintmrk/bladencountyrecords | PHP | 1190 lines
1<?php 2 4if (class_exists('WPMenuEditor')){ 5 trigger_error( 6 'Another version of Admin Menu Editor is already active. Please deactivate it before activating this one.', 11//Load the "framework" 12require 'shadow_plugin_framework.php'; 13 43 44 $this->settings_link = 'options-general.php?page=menu_editor'; 45user.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 639 lines
1<?php 2 2 3// test functions in wp-includes/user.php 4/** 183 add_action( 'deprecated_argument_run', array( $this, 'deprecated_handler' ), 10, 3 ); 184 add_filter( 'deprecated_argument_trigger_error', array( $this, 'disable_deprecated_errors' ) ); 185 unset( $user->id ); 188 $this->assertEquals( '2.1', $this->_deprecated_errors[0]['version'] ); 189 remove_filter( 'deprecated_argument_trigger_error', array( $this, 'disable_deprecated_errors' ) ); 190 remove_action( 'deprecated_argument_run', array( $this, 'deprecated_handler' ), 10, 3); 215 216 add_filter( 'deprecated_argument_trigger_error', array( $this, 'disable_deprecated_errors' ) ); 217 $this->assertTrue( isset( $user->id ) ); 220 $this->assertEquals( $user->ID, $user->id ); 221 remove_filter( 'deprecated_argument_trigger_error', array( $this, 'disable_deprecated_errors' ) ); 222 }update.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 624 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 29 include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version 30 $php_version = phpversion(); 31 87 'version' => $wp_version, 88 'php' => $php_version, 89 'locale' => $locale, 198 break; 199 case 'load-update-core.php' : 200 $timeout = MINUTE_IN_SECONDS; 201 break; 202 case 'load-plugins.php' : 203 case 'load-update.php' :theme.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 1635 lines
1<?php 2/** 446 if ( ! $dirs ) { 447 trigger_error( "$theme_root is not readable", E_USER_NOTICE ); 448 continue; 465 if ( ! $sub_dirs ) { 466 trigger_error( "$theme_root/$dir is not readable"update.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 435 lines
1<?php 2/** 76 77 include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; 78 116 if ( $ssl && is_wp_error( $response ) ) { 117 trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="http://wordpress.org/support/">support forums</a>.' ) . ' ' . '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)', headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); 118 $response = wp_remote_get( $http_url, $options ); 182 case 'development' : 183 return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) ); 184 break; 186 case 'upgrade' : 187 return sprintf( '<strong>'.__( '<a href="%1$s">Get Version %2$s</a>' ).'</strong>', network_admin_url( 'update-core.php' ), $cur->current); 188 break; 203 204 if ( 'update-core.php' == $pagenow ) 205 return;plugin-install.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 452 lines
128 ?> 129 <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'http://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p> 130 170 <select name="type" id="typeselector"> 171 <option value="term"<?php selected('term', $type) ?>><?php _e('Keyword'); ?></option> 172 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 172 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 173 <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option> 174 </select> 177 <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 178 <?php submit_button( __( 'Search Plugins' ), 'button', 'plugin-search-input', false ); ?> 179 </form><?php 191 <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> 192 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>"> 193 <?php wp_nonce_field( 'plugin-upload'); ?>Ai1ecFacebookConnectorPlugin.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | PHP | 1243 lines
1<?php 2/** 174 // Add action to handle export to facebook 175 add_action( 'load-edit.php' , array( $facebook_custom_bulk_action , 'facebook_custom_bulk_action' ) ); 176 // Add action to filter data 322 } else { 323 trigger_error( 324 'Failed to upgrade Facebook DB schema', 341 /** 342 * (non-PHPdoc) 343 * @see Ai1ec_Connector_Plugin::run_uninstall_procedures()collection.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 1671 lines
43static zval* append_getlasterror(zval *coll, buffer *buf, zval *options, mongo_connection *connection TSRMLS_DC); 44static int php_mongo_trigger_error_on_command_failure(zval *document TSRMLS_DC); 45 47 Initializes a new MongoCollection */ 48PHP_METHOD(MongoCollection, __construct) 49{ 72 73 PHP_MONGO_GET_DB(parent); 74 161 mongo_collection *c; 162 PHP_MONGO_GET_COLLECTION(getThis()); 163 426 mongo_manager_log(link->manager, MLOG_CON, MLOG_INFO, "forcing primary for getlasterror"); 427 php_mongo_connection_force_primary(cursor); 428ext_std_options.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 451 lines
280 281/* php_uname() returns a description of the operating system PHP is running 282 * on. This is the same string you see at the very top of the phpinfo() 293/* Outputs a large amount of information about the current state of PHP. This 294 * includes information about PHP compilation options and extensions, the PHP 295 * version, server information and environment (if compiled as a module), the 329 \__SystemLib\phpinfo_tr('Repo Schema', HHVM_REPO_SCHEMA); 330 \__SystemLib\phpinfo_tr('PHP Version', phpversion()); 331 \__SystemLib\phpinfo_tr('Zend Version', zend_version()); 331 \__SystemLib\phpinfo_tr('Zend Version', zend_version()); 332 \__SystemLib\phpinfo_tr('uname', php_uname()); 333 echo '</table>'; 362 * will only be able to set environment variables that begin with PHP_ (e.g. 363 * PHP_FOO=BAR). Note: if this directive is empty, PHP will let the user 364 * modify ANY environment variable! The safe_mode_protected_env_varsext_memcached.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 802 lines
1<?hh 2// @generated by docskel.php 3 87 if (!is_array($server)) { 88 trigger_error( 89 sprintf('Server list entry #%d is not an array', $i + 1), 94 if (count($server) < 1) { 95 trigger_error( 96 sprintf('Could not get server host for entry #%d', $i + 1), 101 if (count($server) < 2) { 102 trigger_error( 103 sprintf('Could not get server port for entry #%d', $i + 1), 117 if (!$this->addServer($host, $port, $weight)) { 118 trigger_error( 119 sprintf('Could not add entry #%d to the server list', $i + 1),ext_icu_date_fmt.php https://gitlab.com/Blueprint-Marketing/hhvm | PHP | 607 lines
6 * This class represents the ICU date formatting functionality. It allows 7 * users to display dates in a localized format or to parse strings into PHP 8 * date values using pattern strings and/or canned patterns. 273 public function setTimeZoneId(string $zone): bool { 274 trigger_error("Use datefmt_set_timezone() instead, which also accepts ". 275 "a plain time zone identifier and for which this function ".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};utils.php https://gitlab.com/Blueprint-Marketing/cli | PHP | 665 lines
261function is_windows() { 262 $is_windows = (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN'); 263 return $is_windows; 321function load_all_commands() { 322 $cmd_dir = TERMINUS_ROOT . '/php/commands'; 323 326 foreach ($iterator as $filename) { 327 if (substr($filename, -4) != '.php') { 328 continue; 341function load_command($name) { 342 $path = TERMINUS_ROOT . "/php/commands/$name.php"; 343 362 foreach (get_vendor_paths() as $vendor_path) { 363 if (file_exists($vendor_path . '/autoload.php') ) { 364 require $vendor_path . '/autoload.php';update.php https://gitlab.com/webkod3r/tripolis | PHP | 707 lines
11 * 12 * The WordPress version, PHP version, and Locale is sent. Checks against the 13 * WordPress server at api.wordpress.org server. Will only check if WordPress 31 include( ABSPATH . WPINC . '/version.php' ); 32 $php_version = phpversion(); 33 89 'version' => $wp_version, 90 'php' => $php_version, 91 'locale' => $locale, 195 // include an unmodified $wp_version 196 include( ABSPATH . WPINC . '/version.php' ); 197 199 if ( !function_exists( 'get_plugins' ) ) 200 require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); 201theme.php https://gitlab.com/webkod3r/tripolis | PHP | 1635 lines
1<?php 2/** 469 if ( ! $dirs ) { 470 trigger_error( "$theme_root is not readable", E_USER_NOTICE ); 471 continue;rss.php https://gitlab.com/webkod3r/tripolis | PHP | 956 lines
1<?php 2/** 16/** 17 * Deprecated. Use SimplePie (class-simplepie.php) instead. 18 */ 18 */ 19_deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/class-simplepie.php' ); 20 58 /** 59 * PHP5 constructor. 60 */ 65 if ( !function_exists('xml_parser_create') ) 66 trigger_error( "Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php" ); 67 70 if ( !is_resource($parser) ) 71 trigger_error( "Failed to create an instance of PHP's XML parser. http://www.php.net/manual/en/ref.xml.php"); 72rest-api.php https://gitlab.com/webkod3r/tripolis | PHP | 668 lines
1<?php 2/** 95function rest_api_register_rewrites() { 96 add_rewrite_rule( '^' . rest_get_url_prefix() . '/?$','index.php?rest_route=/','top' ); 97 add_rewrite_rule( '^' . rest_get_url_prefix() . '/(.*)?','index.php?rest_route=/$matches[1]','top' ); 110 add_action( 'deprecated_function_run', 'rest_handle_deprecated_function', 10, 3 ); 111 add_filter( 'deprecated_function_trigger_error', '__return_false' ); 112 add_action( 'deprecated_argument_run', 'rest_handle_deprecated_argument', 10, 3 ); 112 add_action( 'deprecated_argument_run', 'rest_handle_deprecated_argument', 10, 3 ); 113 add_filter( 'deprecated_argument_trigger_error', '__return_false' ); 114 202 // If the current host is the same as the REST URL host, force the REST URL scheme to HTTPS. 203 if ( $_SERVER['SERVER_NAME'] === parse_url( get_home_url( $blog_id ), PHP_URL_HOST ) ) { 204 $url = set_url_scheme( $url, 'https' ); 501 ?> 502 <api name="WP-API" blogID="1" preferred="false" apiLink="<?php echo esc_url( $api_root ); ?>" /> 503 <?phpcontact-form.php https://gitlab.com/webkod3r/tripolis | PHP | 983 lines
1<?php 2 156 if ( WP_DEBUG ) { 157 trigger_error( sprintf( $message, 'id', 'id()' ) ); 158 } 162 if ( WP_DEBUG ) { 163 trigger_error( sprintf( $message, 'title', 'title()' ) ); 164 } 168 if ( WP_DEBUG ) { 169 trigger_error( 170 sprintf( $message, $name, 'prop(\'' . $name . '\')' ) );update.php https://gitlab.com/webkod3r/tripolis | PHP | 559 lines
1<?php 2/** 76 77 include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' ); 78 114 if ( $ssl && is_wp_error( $response ) ) { 115 trigger_error( __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ) . ' ' . __( '(WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.)' ), headers_sent() || WP_DEBUG ? E_USER_WARNING : E_USER_NOTICE ); 116 $response = wp_remote_get( $http_url, $options ); 202 case 'development' : 203 return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), get_bloginfo( 'version', 'display' ), network_admin_url( 'update-core.php' ) ); 204 205 case 'upgrade' : 206 return '<strong><a href="' . network_admin_url( 'update-core.php' ) . '">' . sprintf( __( 'Get Version %s' ), $cur->current ) . '</a></strong>'; 207 224 225 if ( 'update-core.php' == $pagenow ) 226 return;plugin-install.php https://gitlab.com/webkod3r/tripolis | PHP | 678 lines
212 ?> 213 <p><?php printf( __( 'Plugins extend and expand the functionality of WordPress. You may automatically install plugins from the <a href="%1$s">WordPress Plugin Directory</a> or upload a plugin in .zip format via <a href="%2$s">this page</a>.' ), 'https://wordpress.org/plugins/', self_admin_url( 'plugin-install.php?tab=upload' ) ); ?></p> 214 266 <select name="type" id="typeselector"> 267 <option value="term"<?php selected('term', $type) ?>><?php _e('Keyword'); ?></option> 268 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 268 <option value="author"<?php selected('author', $type) ?>><?php _e('Author'); ?></option> 269 <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option> 270 </select> 272 <label><span class="screen-reader-text"><?php _e('Search Plugins'); ?></span> 273 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" <?php echo $input_attrs; ?>/> 274 </label> 286 <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> 287 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>"> 288 <?php wp_nonce_field( 'plugin-upload' ); ?>Route.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 659 lines
1<?php 2 149 { 150 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.2 and will be removed in 3.0. Use the getPath() method instead.', E_USER_DEPRECATED); 151 167 { 168 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.2 and will be removed in 3.0. Use the setPath() method instead.', E_USER_DEPRECATED); 169 543 if ('_scheme' === $key) { 544 @trigger_error('The "_scheme" requirement is deprecated since version 2.2 and will be removed in 3.0. Use getSchemes() instead.', E_USER_DEPRECATED); 545 } elseif ('_method' === $key) { 545 } elseif ('_method' === $key) { 546 @trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use getMethods() instead.', E_USER_DEPRECATED); 547 }HttpCache.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 706 lines
1<?php 2 179 { 180 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the getSurrogate() method instead.', E_USER_DEPRECATED); 181Kernel.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 765 lines
1<?php 2 14use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator; 15use Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper; 16use Symfony\Component\DependencyInjection\ContainerInterface; 17use Symfony\Component\DependencyInjection\ContainerBuilder; 18use Symfony\Component\DependencyInjection\Dumper\PhpDumper; 19use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; 22use Symfony\Component\DependencyInjection\Loader\IniFileLoader; 23use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; 24use Symfony\Component\DependencyInjection\Loader\ClosureLoader; 91 if (__CLASS__ !== $defClass) { 92 @trigger_error(sprintf('Calling the %s::init() method is deprecated since version 2.3 and will be removed in 3.0. Move your logic to the constructor method instead.', $defClass), E_USER_DEPRECATED); 93 $this->init(); 101 { 102 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Move your logic to the constructor method instead.', E_USER_DEPRECATED); 103 }ProgressBar.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 620 lines
1<?php 2 81 * @param string $name The placeholder name (including the delimiter char like %) 82 * @param callable $callable A PHP callable 83 */ 97 * 98 * @return callable|null A PHP callable 99 */ 180 { 181 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the getProgress() method instead.', E_USER_DEPRECATED); 182 198 * 199 * @internal This method is public for PHP 5.3 compatibility, it should not be used. 200 * 363 { 364 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.6 and will be removed in 3.0. Use the setProgress() method instead.', E_USER_DEPRECATED); 365DialogHelper.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 500 lines
1<?php 2 34 if ($triggerDeprecationError) { 35 @trigger_error('"Symfony\Component\Console\Helper\DialogHelper" is deprecated since version 2.5 and will be removed in 3.0. Use "Symfony\Component\Console\Helper\QuestionHelper" instead.', E_USER_DEPRECATED); 36 } 350 * @param string|array $question The question to ask 351 * @param callable $validator A PHP callback 352 * @param int|false $attempts Max number of times to ask before giving up (false by default, which means infinite) 379 * @param string|array $question The question to ask 380 * @param callable $validator A PHP callback 381 * @param int|false $attempts Max number of times to ask before giving up (false by default, which means infinite)services9_compiled.php https://gitlab.com/cuza/Clinic_Recods | PHP | 370 lines
1<?php 2 154 { 155 @trigger_error('The "deprecated_service" service is deprecated. You should stop using it, as it will soon be removed.', E_USER_DEPRECATED); 156 255 { 256 require_once '%path%foo.php'; 257Uri.php https://gitlab.com/devtoannh/cafe | PHP | 207 lines
1<?php 2/** 18 * @license http://framework.zend.com/license/new-bsd New BSD License 19 * @version $Id: Uri.php 23775 2011-03-01 17:25:24Z ralph $ 20 */ 58 } catch (Exception $e) { 59 trigger_error($e->getMessage(), E_USER_WARNING); 60 return ''; 103 if (strlen($scheme) === 0) { 104 require_once 'Zend/Uri/Exception.php'; 105 throw new Zend_Uri_Exception('An empty string was supplied for the scheme'); 109 if (ctype_alnum($scheme) === false) { 110 require_once 'Zend/Uri/Exception.php'; 111 throw new Zend_Uri_Exception('Illegal scheme supplied, only alphanumeric characters are permitted'); 128 default: 129 require_once 'Zend/Uri/Exception.php'; 130 throw new Zend_Uri_Exception("Scheme \"$scheme\" is not supported");ReCaptcha.php https://gitlab.com/thuan9x/zend | PHP | 513 lines
1<?php 2/** 22/** @see Zend_Service_Abstract */ 23require_once 'Zend/Service/Abstract.php'; 24 25/** @see Zend_Json */ 26require_once 'Zend/Json.php'; 27 28/** @see Zend_Service_ReCaptcha_Response */ 29require_once 'Zend/Service/ReCaptcha/Response.php'; 30 38 * @license http://framework.zend.com/license/new-bsd New BSD License 39 * @version $Id: ReCaptcha.php 24224 2011-07-12 17:45:49Z matthew $ 40 */ 167 $return = ''; 168 trigger_error($e->getMessage(), E_USER_WARNING); 169 }ReCaptcha.php https://gitlab.com/grayhamster/open-social-media-monitoring | PHP | 513 lines
1<?php 2/** 22/** @see Zend_Service_Abstract */ 23require_once 'Zend/Service/Abstract.php'; 24 25/** @see Zend_Json */ 26require_once 'Zend/Json.php'; 27 28/** @see Zend_Service_ReCaptcha_Response */ 29require_once 'Zend/Service/ReCaptcha/Response.php'; 30 38 * @license http://framework.zend.com/license/new-bsd New BSD License 39 * @version $Id: ReCaptcha.php 24594 2012-01-05 21:27:01Z matthew $ 40 */ 167 $return = ''; 168 trigger_error($e->getMessage(), E_USER_WARNING); 169 }DebugClassLoader.php https://gitlab.com/dzakiafif/cokelatklasik | PHP | 258 lines
1<?php 2 33 private static $deprecated = array(); 34 private static $php7Reserved = array('int', 'float', 'bool', 'string', 'true', 'false', 'null'); 35 47 if ($this->wasFinder) { 48 @trigger_error('The '.__METHOD__.' method will no longer support receiving an object into its $classLoader argument in 3.0.', E_USER_DEPRECATED); 49 $this->classLoader = array($classLoader, 'loadClass'); 56 if (!isset(self::$caseCheck)) { 57 self::$caseCheck = false !== stripos(PHP_OS, 'win') ? (false !== stripos(PHP_OS, 'darwin') ? 2 : 1) : 0; 58 } 75 { 76 // Ensures we don't hit https://bugs.php.net/42098 77 class_exists('Symfony\Component\Debug\ErrorHandler'); 181 if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) { 182 trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED); 183 } elseif (preg_match('#\n \* @deprecated (.*?)\r?\n \*(?: @|/$)#s', $refl->getDocComment(), $notice)) {Theme_Manager.class.php https://gitlab.com/ctheilman92/Aging-In-Place | PHP | 453 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 4 * 5 * @package PhpMyAdmin 6 */ 6 */ 7if (! defined('PHPMYADMIN')) { 8 exit; 12 * 13 * @package PhpMyAdmin 14 */ 134 if (! $this->checkTheme($GLOBALS['cfg']['ThemeDefault'])) { 135 trigger_error( 136 sprintf( 254 // force a change of a dummy session variable to avoid problems 255 // with the caching of phpmyadmin.css.php 256 $GLOBALS['PMA_Config']->set('theme-update', $this->theme->id);posts_merging.php https://code.google.com/p/phpbbex/ | PHP | 321 lines
99 // Prepare message separator 100 require($phpbb_root_path . 'includes/time_delta.'.$phpEx); 101 $td = new timedelta(); 247 248 if (!file_exists($phpbb_root_path . 'includes/search/' . $search_type . '.' . $phpEx)) 249 { 252 253 require_once("{$phpbb_root_path}includes/search/$search_type.$phpEx"); 254 309 $add_anchor = '#p' . $merge_post_id; 310 $redirect_url = "{$phpbb_root_path}viewtopic.$phpEx"; 311 $redirect_url = append_sid($redirect_url, 'f=' . $forum_id . $params) . $add_anchor; 316 $message = $user->lang[$message] . (($auth->acl_get('f_noapprove', $merge_post_data['forum_id']) || $auth->acl_get('m_approve', $merge_post_data['forum_id'])) ? '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>') : ''); 317 $message .= '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="' . append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $merge_post_data['forum_id']) . '">', '</a>'); 318 trigger_error($message);FormType.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 231 lines
1<?php 2 158 // Uncomment this as soon as the deprecation note should be shown 159 // trigger_error('The form option "virtual" is deprecated since version 2.3 and will be removed in 3.0. Use "inherit_data" instead.', E_USER_DEPRECATED); 160 return $options['virtual'];DebugClassLoader.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 328 lines
1<?php 2 31 private static $deprecated = array(); 32 private static $php7Reserved = array('int', 'float', 'bool', 'string', 'true', 'false', 'null'); 33 private static $darwinCache = array('/' => array('/', array())); 44 if ($this->wasFinder) { 45 @trigger_error('The '.__METHOD__.' method will no longer support receiving an object into its $classLoader argument in 3.0.', E_USER_DEPRECATED); 46 $this->classLoader = array($classLoader, 'loadClass'); 66 self::$caseCheck = 1; 67 } elseif (false !== stripos(PHP_OS, 'darwin')) { 68 // on MacOSX, HFS+ is case insensitive but realpath() doesn't normalize the case of characters 91 { 92 // Ensures we don't hit https://bugs.php.net/42098 93 class_exists('Symfony\Component\Debug\ErrorHandler'); 197 if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) { 198 @trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED); 199 } elseif (preg_match('#\n \* @deprecated (.*?)\r?\n \*(?: @|/$)#s', $refl->getDocComment(), $notice)) {Cloud.php https://gitlab.com/yousafsyed/easternglamor | PHP | 410 lines
1<?php 2/** 25 */ 26#require_once 'Zend/Tag/Item.php'; 27 152 } else { 153 #require_once 'Zend/Tag/Cloud/Exception.php'; 154 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 174 } else { 175 #require_once 'Zend/Tag/Cloud/Exception.php'; 176 throw new Zend_Tag_Cloud_Exception('Tag must be an instance of Zend_Tag_Taggable or an array'); 203 if (null === $this->_tags) { 204 #require_once 'Zend/Tag/ItemList.php'; 205 $this->setItemList(new Zend_Tag_ItemList()); 235 if (!($decorator instanceof Zend_Tag_Cloud_Decorator_Cloud)) { 236 #require_once 'Zend/Tag/Cloud/Exception.php'; 237 throw new Zend_Tag_Cloud_Exception('Decorator is no instance of Zend_Tag_Cloud_Decorator_Cloud');HeadMeta.php https://gitlab.com/jalon/doadoronline | PHP | 456 lines
1<?php 2/** 67 * 68 * Set separator to PHP_EOL 69 * 74 75 $this->setSeparator(PHP_EOL); 76 } 178 } catch (Exception\InvalidArgumentException $e) { 179 trigger_error($e->getMessage(), E_USER_WARNING); 180 return '';AbstractFindAdapter.php https://gitlab.com/I-NOZex/quiz | PHP | 331 lines
1<?php 2 13 14@trigger_error('The '.__NAMESPACE__.'\AbstractFindAdapter class is deprecated since version 2.8 and will be removed in 3.0. Use directly the Finder class instead.', E_USER_DEPRECATED); 15 67 68 if (PHP_INT_MAX !== $this->maxDepth) { 69 $find->add('-maxdepth')->add($this->maxDepth + 1);Controller.php https://gitlab.com/matijabelec/bigpandadev | PHP | 381 lines
1<?php 2 276 { 277 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.4 and will be removed in 3.0. The only reliable way to get the "Request" object is to inject it in the action method.', E_USER_DEPRECATED); 278 346 if ('request' === $id) { 347 @trigger_error('The "request" service is deprecated and will be removed in 3.0. Add a typehint for Symfony\\Component\\HttpFoundation\\Request to your controller parameters to retrieve the request instead.', E_USER_DEPRECATED); 348 }list.php http://webgloo.googlecode.com/svn/trunk/ | PHP | 253 lines
125 <form class="sform" id="admin_add_form" name="admin_add_form" 126 action="<?php echo url::base() ?>/sa/admin/frm/add.php" method="POST"> 127 <div class="error" > </div> 130 <td class="field">First name<span class="red-label">*</span> </td> 131 <td> <input type="text" name="first_name" maxlength="32" class="required" title="First Name is required" value="<?php echo $sticky->get('first_name'); ?>" /></td> 132 </tr> 208 <td> <?php echo $admin['first_name']; ?> <?php echo $admin['last_name']; ?> </td> 209 <td> <a href="mailto:<?php echo $admin['login'];?> "><?php echo $admin['login'];?></a> </td> 210 <td> 210 <td> 211 <a href="/sa/admin/reset.php?org_id=<?php echo $orgId ?>&admin_id=<?php echo $admin['id'] ?>&g_home_uri=<?php echo $glooBackURI;?>&g_admin_uri=<?php echo $glooAdminURI;?>"> reset password </a> 212 </td> 214 <td> 215 <a href="/sa/admin/delete.php?org_id=<?php echo $orgId ?>&admin_id=<?php echo $admin['id'] ?>&g_home_uri=<?php echo $glooBackURI;?>&g_admin_uri=<?php echo $glooAdminURI;?>"> delete </a> 216 </td>php.js https://gitlab.com/Mirros/jsdelivr | JavaScript | 140 lines
32 atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"), 33 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 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"), 34 multiLineStrings: true, 63 var htmlMode = CodeMirror.getMode(config, "text/html"); 64 var phpMode = CodeMirror.getMode(config, phpConfig); 65 91 return style; 92 } else if (isPHP && state.php.tokenize == null && stream.match("?>")) { 93 state.curMode = htmlMode; 112 var html = state.html, htmlNew = CodeMirror.copyState(htmlMode, html), 113 php = state.php, phpNew = CodeMirror.copyState(phpMode, php), cur; 114 if (state.curMode == htmlMode) cur = htmlNew; 138 CodeMirror.defineMIME("application/x-httpd-php-open", {name: "php", startOpen: true}); 139 CodeMirror.defineMIME("text/x-php", phpConfig); 140});