100+ results results for 'php trigger_error' (3565 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'; 32graphics.php https://gitlab.com/fbi/razyo-api-server | PHP | 450 lines
48 if ($len>6) { 49 trigger_error(self::TEXT_Color); 50 return FALSE; 121 // Send output as PNG image 122 if (PHP_SAPI!='cli' && !headers_sent()) { 123 header(self::HTTP_Content.': image/png'); 143 imagefilter($img,IMG_FILTER_NEGATE); 144 if (PHP_SAPI!='cli' && !headers_sent()) 145 header(self::HTTP_Content.': image/'.$ext[1]); 210 imagecolortransparent($tmp,$bg); 211 if (PHP_SAPI!='cli' && !headers_sent()) { 212 header(self::HTTP_Content.': image/'.$ext[1]); 433 // GD extension required 434 trigger_error(sprintf(self::TEXT_PHPExt,'gd')); 435 }DynamicRouter.php https://gitlab.com/guillaumev/alkarama | PHP | 387 lines
1<?php 2 217 { 218 @trigger_error(__METHOD__.'() is deprecated since version 1.3 and will be removed in 2.0. Use matchRequest() instead.', E_USER_DEPRECATED); 219yaf_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)) {atomlib.php https://gitlab.com/webkod3r/tripolis | 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 */ValidatorBuilder.php https://gitlab.com/geeta7/drupal | 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;Esi.php https://gitlab.com/judielsm/Handora | 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;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 __(ErrorHandler.php https://gitlab.com/manuperazafa/elsartenbackend | 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 */Theme_Manager.class.php https://gitlab.com/albert925/lading-ach | PHP | 381 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 11 */ 12require_once './libraries/Theme.class.php'; 13 15 * 16 * @package phpMyAdmin 17 */ 113 if (! $this->checkTheme($GLOBALS['cfg']['ThemeDefault'])) { 114 trigger_error( 115 sprintf($GLOBALS['strThemeDefaultNotFound'], 151 if (! $this->checkTheme($theme)) { 152 trigger_error( 153 sprintf($GLOBALS['strThemeNotFound'], htmlspecialchars($theme)), 206 // force a change of a dummy session variable to avoid problems 207 // with the caching of phpmyadmin.css.php 208 $_SESSION['PMA_Config']->set('theme-update', $this->theme->id);UrlGenerator.php https://gitlab.com/reasonat/test8 | PHP | 341 lines
1<?php 2 52 * 53 * PHP's rawurlencode() encodes all chars except "a-zA-Z0-9-._~" according to RFC 3986. But we want to allow some chars 54 * to be used in their literal form (reasons below). Other chars inside the path must of course be encoded, e.g. 146 if (is_bool($referenceType) || is_string($referenceType)) { 147 @trigger_error('The hardcoded value you are using for the $referenceType argument of the '.__CLASS__.'::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead.', E_USER_DEPRECATED); 148php.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" 23ReCaptcha.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 }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 }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';HTMLPurifier.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 292 lines
1<?php 2 126 { 127 trigger_error( 128 'HTMLPurifier->addFilter() is deprecated, use configuration directives' .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 '';BlockMacros.php https://gitlab.com/adam.kvita/MI-VMM-SIFT | PHP | 407 lines
75 $functions[$name] = $this->generateMethodName($name), 76 '?>' . $compiler->expandTokens($code) . '<?php', 77 '$_args' 156 */ 157 public function macroImport(MacroNode $node, PhpWriter $writer) 158 { 239 $this->checkExtraArgs($node); 240 return $writer->write("?>\n<$tag id=\"<?php echo htmlSpecialChars(\$this->global->snippetDriver->getHtmlId({$writer->formatWord($name)})) ?>\"><?php " . $enterCode); 241 295 $this->checkExtraArgs($node); 296 return $writer->write("?>\n<$tag id=\"<?php echo htmlSpecialChars(\$this->global->snippetDriver->getHtmlId(%var)) ?>\"><?php $include ?>\n</$tag><?php ", 297 (string) substr($name, 1), $name 376 */ 377 public function macroIfset(MacroNode $node, PhpWriter $writer) 378 {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 }Config_File.class.php https://gitlab.com/vectorci/Collabtive | PHP | 389 lines
22 * @copyright Copyright: 2001-2005 New Digital Group, Inc. 23 * @author Andrei Zmievski <andrei@php.net> 24 * @access public 27 28/* $Id: Config_File.class.php 2702 2007-03-08 19:11:22Z mohrt $ */ 29 87 if (!is_string($config_path) || !file_exists($config_path) || !is_dir($config_path)) { 88 $this->_trigger_error_msg("Bad config file path '$config_path'"); 89 return; 175 if (!isset($this->_config_data[$file_name])) { 176 $this->_trigger_error_msg("Unknown config file '$file_name'"); 177 return; 377 /** 378 * @uses trigger_error() creates a PHP warning/error 379 * @param string $error_msgYamlFileLoader.php https://gitlab.com/reasonat/test8 | PHP | 407 lines
1<?php 2// @codingStandardsIgnoreFile 163 if ('request' !== $id) { 164 @trigger_error(sprintf('The "scope" key of service "%s" in file "%s" is deprecated since version 2.8 and will be removed in 3.0.', $id, $file), E_USER_DEPRECATED); 165 }YamlFileLoader.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 421 lines
1<?php 2 174 if (isset($service['synchronized'])) { 175 trigger_error(sprintf('The "synchronized" key in file "%s" is deprecated since version 2.7 and will be removed in 3.0.', $file), E_USER_DEPRECATED); 176 $definition->setSynchronized($service['synchronized'], 'request' !== $id); 204 if (isset($service['factory_class'])) { 205 trigger_error(sprintf('The "factory_class" key in file "%s" is deprecated since version 2.6 and will be removed in 3.0. Use "factory" instead.', $file), E_USER_DEPRECATED); 206 $definition->setFactoryClass($service['factory_class']); 209 if (isset($service['factory_method'])) { 210 trigger_error(sprintf('The "factory_method" key in file "%s" is deprecated since version 2.6 and will be removed in 3.0. Use "factory" instead.', $file), E_USER_DEPRECATED); 211 $definition->setFactoryMethod($service['factory_method']); 214 if (isset($service['factory_service'])) { 215 trigger_error(sprintf('The "factory_service" key in file "%s" is deprecated since version 2.6 and will be removed in 3.0. Use "factory" instead.', $file), E_USER_DEPRECATED); 216 $definition->setFactoryService($service['factory_service']);Lexer.php https://gitlab.com/Griffolion/Game-Embargo-Tracker | 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 }function.html_radios.php https://gitlab.com/Shenglian/SmartyProject | PHP | 232 lines
1<?php 2/** 10 * Smarty {html_radios} function plugin 11 * File: function.html_radios.php<br> 12 * Type: function<br> 33 * 34 * @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios} 35 * (Smarty online manual) 47{ 48 require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); 49 70 if (is_array($_val)) { 71 trigger_error('html_radios: the "' . $_key . '" attribute cannot be an array', E_USER_WARNING); 72 } elseif (is_object($_val)) { 75 } else { 76 trigger_error("html_radios: selected attribute is an object of class '" . get_class($_val) . 77 "' without __toString() method", E_USER_NOTICE);TestFixture.php https://gitlab.com/vannh/portal_training | PHP | 325 lines
1<?php 2/** 2/** 3 * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html> 4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 11 * @since 1.2.0 12 * @license http://www.opensource.org/licenses/mit-license.php MIT License 13 */ 231 Log::error($msg); 232 trigger_error($msg, E_USER_WARNING); 233 return false;EsmtpTransport.php https://gitlab.com/xolotsoft/pumasruiz | PHP | 386 lines
1<?php 2 263 } 264 trigger_error('Call to undefined method '.$method, E_USER_ERROR); 265 }Validator.php https://gitlab.com/paveltizek/shop | PHP | 338 lines
1<?php 2 55 } elseif ($message == NULL) { // intentionally == 56 trigger_error("Missing validation message for control '{$rule->control->getName()}'.", E_USER_WARNING); 57 }ChainedBlockStream.php https://gitlab.com/techniconline/kmc | PHP | 224 lines
1<?php 2/** 2/** 3 * PHPExcel 4 * 4 * 5 * Copyright (C) 2006 - 2014 PHPExcel 6 * 20 * 21 * @category PHPExcel 22 * @package PHPExcel_Shared_OLE 28/** 29 * PHPExcel_Shared_OLE_ChainedBlockStream 30 * 31 * Stream wrapper for reading data stored in an OLE file. Implements methods 32 * for PHP's stream_wrapper_register(). For creating streams using this 33 * wrapper, use PHPExcel_Shared_OLE_PPS_File::getStream().Config.php https://gitlab.com/bandana/Astro-Veda | PHP | 303 lines
1<?php 2/** 269 { 270 trigger_error('Use ActiveRecord\Serialization::$DATETIME_FORMAT. Config::get_date_format() has been deprecated.', E_USER_DEPRECATED); 271 return Serialization::$DATETIME_FORMAT; 278 { 279 trigger_error('Use ActiveRecord\Serialization::$DATETIME_FORMAT. Config::set_date_format() has been deprecated.', E_USER_DEPRECATED); 280 Serialization::$DATETIME_FORMAT = $format;mail.php https://gitlab.com/2202Programming/navxmxp | PHP | 406 lines
70 if ((!$this->text) && (!$this->html)) { 71 trigger_error('Error: E-Mail message required!'); 72 exit(); 95 $header .= 'Return-Path: ' . $this->from . $this->newline; 96 $header .= 'X-Mailer: PHP/' . phpversion() . $this->newline; 97 $header .= 'Content-Type: multipart/related; boundary="' . $boundary . '"' . $this->newline . $this->newline; 199 if (substr($reply, 0, 3) != 250) { 200 trigger_error('Error: EHLO not accepted from server!'); 201 exit(); 216 if (substr($reply, 0, 3) != 334) { 217 trigger_error('Error: AUTH LOGIN not accepted from server!'); 218 exit(); 250 if (substr($reply, 0, 3) != 235) { 251 trigger_error('Error: Password not accepted from server!'); 252 exit();XliffFileDumper.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 193 lines
1<?php 2 53 { 54 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use the formatCatalogue() method instead.', E_USER_DEPRECATED); 55xbtbb3cker_losttorrents_module.php https://gitlab.com/protoneutron/xbtbb3cker | PHP | 352 lines
29 { 30 global $config, $request, $template, $user, $db, $table_prefix, $cache, $pagination, $phpbb_container, $auth, $phpEx, $phpbb_root_path; 31 104 { 105 include_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx); 106 } 151 152 include_once("{$phpbb_root_path}ext/ppk/xbtbb3cker/include/recode_torrent.{$phpEx}"); 153 include_once("{$phpbb_root_path}ext/ppk/xbtbb3cker/include/bencoding.{$phpEx}"); 165 $message.=($fix_result===true ? $user->lang['FIX_LOSTTORRENTS_SUCCESS'] : $user->lang['FIX_LOSTTORRENTS_ERROR'].' ('.$fix_result.')') 166 .'<a href= "'.append_sid("{$phpbb_root_path}viewtopic.{$phpEx}", "p={$row['post_id']}").'#p'.$row['post_id'].'">'.urldecode($row['real_filename']).'</a><br />'; 167 294 'URL' => !empty($row['post_subject']) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$row['forum_id']}&t={$row['topic_id']}&p={$row['post_msg_id']}")."#p{$row['post_msg_id']}" : '', 295 'FILEURL' => !empty($row['real_filename']) ? append_sid("{$phpbb_root_path}download/file.$phpEx", "id={$row['attach_id']}") : '', 296class.jetpack-options.php https://gitlab.com/hunt9310/thereback | PHP | 256 lines
1<?php 2 115 116 trigger_error( sprintf( 'Invalid Jetpack option name: %s', $name ), E_USER_WARNING ); 117 177 178 trigger_error( sprintf( 'Invalid Jetpack option name: %s', $name ), E_USER_WARNING ); 179 191 foreach ( array_diff( $names, self::get_option_names(), self::get_option_names( 'non_compact' ), self::get_option_names( 'private' ) ) as $unknown_name ) { 192 trigger_error( sprintf( 'Invalid Jetpack option name: %s', $unknown_name ), E_USER_WARNING ); 193 unset( $array[ $unknown_name ] ); 211 if ( ! self::is_valid( $names ) ) { 212 trigger_error( sprintf( 'Invalid Jetpack option names: %s', print_r( $names, 1 ) ), E_USER_WARNING ); 213Config_File.class.php https://gitlab.com/bulwye/reliquerunt | PHP | 389 lines
22 * @copyright Copyright: 2001-2005 New Digital Group, Inc. 23 * @author Andrei Zmievski <andrei@php.net> 24 * @access public 27 28/* $Id: Config_File.class.php,v 1.84 2006/01/18 19:02:52 mohrt Exp $ */ 29 87 if (!is_string($config_path) || !file_exists($config_path) || !is_dir($config_path)) { 88 $this->_trigger_error_msg("Bad config file path '$config_path'"); 89 return; 175 if (!isset($this->_config_data[$file_name])) { 176 $this->_trigger_error_msg("Unknown config file '$file_name'"); 177 return; 377 /** 378 * @uses trigger_error() creates a PHP warning/error 379 * @param string $error_msgTranslator.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 }password.php https://gitlab.com/piratemovin/piratesite | 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 $hashCondition.php https://gitlab.com/guillaumev/alkarama | PHP | 356 lines
1<?php 2 201 // does not allow to throw exceptions. 202 trigger_error('Invalid characters in query operator: ' . $condition['operator'], E_USER_ERROR); 203 return; 251 /** 252 * Implements PHP magic __toString method to convert the conditions to string. 253 * 265 /** 266 * PHP magic __clone() method. 267 * 323 else { 324 // We need to upper case because PHP index matches are case sensitive but 325 // do not need the more expensive Unicode::strtoupper() because SQL statements are ASCII.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 }AbstractNormalizer.php https://gitlab.com/Isaki/le331.fr | 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); 236DBObject.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 221 lines
1require_once(HOMEPATH."/lib/utils.inc.php"); DEFINE 2("FOREIGN_KEY_SYNTAX","/id_([^_\$]*)[_]?([^\$]*)(.*)/"); DEFINE 37$this->m_object[$tab[1]]->setAttach($tab[1]."_".$tab[2]); } else { 38trigger_error ("Bad FOREIGN_KEY_SYNTAX attachObj() 39(".$this->m_className.")", E_USER_ERROR); } } else { 45 46private function errorAttachment() { trigger_error ("The 47".$this->m_className." object must have a valid table attachment i.e. 129$this->m_attr["id"]=$records->Fields("NewID"); $records->Close(); return 130$this->m_attr["id"]; } else { $name=$this->m_className; trigger_error 131("l'object DB de la classe $name = NULL", E_USER_ERROR); return -1; } } 157%s %s;",$tableName,$query,$where); if($this->execQuery($query,$db)!=0) 158return -1; return $this->m_attr["id"]; } else { trigger_error ("l'object 159DB de la classe $this->m_className = NULL", E_USER_ERROR); return -1; } 167$tableName=$this->getAttachStopIfError(); if($tableName==-1) 168trigger_error ("The ".$this->m_className." object must have a valid 169table attachment i.e. \"Modifier_?\" use setAttach() to define a validConfigure.php https://gitlab.com/grlopez90/servipro | 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.translation-install.php https://gitlab.com/juanito.abelo/nlmobile | 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;syntax.php https://gitlab.com/michield/dokuwiki | PHP | 310 lines
1<?php 2/** 38 if(@file_exists($info)) return confToHash($info); 39 trigger_error('getInfo() not implemented in '.get_class($this).' and '.$info.' not found', E_USER_WARNING); 40 return array(); 45 * 46 * Needs to return one of the mode types defined in $PARSER_MODES in parser.php 47 */ 48 function getType(){ 49 trigger_error('getType() not implemented in '.get_class($this), E_USER_WARNING); 50 } 56 * plugin's own markup. Needs to return an array of one or more of the mode types 57 * defined in $PARSER_MODES in parser.php 58 */ 93 function handle($match, $state, $pos, Doku_Handler &$handler){ 94 trigger_error('handle() not implemented in '.get_class($this), E_USER_WARNING); 95 }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); 240ActiveRow.php https://gitlab.com/paveltizek/shop | PHP | 340 lines
1<?php 2 64 } 65 trigger_error("Exception in " . __METHOD__ . "(): {$e->getMessage()} in {$e->getFile()}:{$e->getLine()}", E_USER_ERROR); 66 }URI.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 316 lines
1<?php 2 89 // something funky happened to the default scheme object 90 trigger_error( 91 'Default scheme object "' . $def->defaultScheme . '" was not readable',_html_1_stash.php https://gitlab.com/mattswann/launch-housing | PHP | 308 lines
1<!-- _html_1_stash.php --> 2<?php 26 self::_error( $error ); 27 trigger_error( $error, E_USER_NOTICE ); 28 return $error; 96</style> 97<?php 98$ITXAPI_KEY = 'ixho7dk0p244n0ob'; 147 148 require_once( dirname( dirname( __FILE__ ) ) . '/lib/requestcore/requestcore.class.php' ); 149 //require_once( dirname( dirname( __FILE__ ) ) . '/lib/stash2/init.php' ); 149 //require_once( dirname( dirname( __FILE__ ) ) . '/lib/stash2/init.php' ); 150 require_once( dirname( dirname( __FILE__ ) ) . '/lib/stash2/class.itx_helper2.php' ); 151Cloud.php https://gitlab.com/rsilveira1987/Expresso | PHP | 410 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Cloud.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 25 */ 26require_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());cache.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" ); ?>' ); 392MemcachedOptions.php https://gitlab.com/jalon/doadoronline | PHP | 319 lines
1<?php 2/** 97 { 98 trigger_error( 99 'This method is deprecated and will be removed in the feature' 260 * @return MemcachedOptions 261 * @link http://php.net/manual/memcached.constants.php 262 */ 274 * @return MemcachedOptions 275 * @link http://php.net/manual/memcached.constants.php 276 * @deprecated Please use lib_options or the resource manager instead 293 * @return array 294 * @link http://php.net/manual/memcached.constants.php 295 */ 305 * @return mixed 306 * @link http://php.net/manual/memcached.constants.php 307 * @deprecated Please use lib_options or the resource manager insteadLocale.php https://gitlab.com/Isaki/le331.fr | 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); 15Theme.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 481 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 18 * 19 * @package PhpMyAdmin 20 */ 90 { 91 if (! file_exists($this->getPath() . '/info.inc.php')) { 92 return false; 94 95 if ($this->mtime_info === filemtime($this->getPath() . '/info.inc.php')) { 96 return true; 98 99 @include $this->getPath() . '/info.inc.php'; 1002-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 enTidy.php https://gitlab.com/isdzulqor/Slis-Dev | PHP | 230 lines
1<?php 2 87 if ($i == $c) { 88 trigger_error( 89 'Tidy level ' . htmlspecialchars($level) . ' not recognized', 114 if (!isset($this->fixesForLevel[$this->defaultLevel])) { 115 trigger_error( 116 'Default level ' . $this->defaultLevel . ' does not exist', 148 } 149 // PHP does some weird parsing when I do 150 // $e->$type[$attr], so I have to assign a ref. 167 default: 168 trigger_error("Fix type $type not supported", E_USER_ERROR); 169 break;FormType.php https://gitlab.com/Isaki/le331.fr | 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); 159Braintree.php https://gitlab.com/CORP-RESELLER/shopping-cart-lite | PHP | 189 lines
1<?php 2/** 2/** 3 * Braintree PHP Library 4 * 7 * 8 * PHP version 5 9 * 46 else { 47 trigger_error('Undefined property on ' . get_class($this) . ': ' . $name, E_USER_NOTICE); 48 return null; 84} 85require_once('Braintree/Modification.php'); 86require_once('Braintree/Instance.php'); 87 88require_once('Braintree/Address.php'); 89require_once('Braintree/AddOn.php');MigrationPluginManager.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 }FragmentCache.php https://gitlab.com/juanito.abelo/nlmobile | PHP | 228 lines
1<?php 2 9 10w3_require_once(W3TC_LIB_W3_DIR . '/Plugin.php'); 11 144 $expiration = (int) $expiration; 145 trigger_error(__METHOD__ . ' needs expiration parameter to be an int.', E_USER_WARNING); 146 } 172 $expiration = (int) $expiration; 173 trigger_error(__METHOD__ . ' needs expiration parameter to be an int.', E_USER_WARNING); 174 }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); 93cqcloneMonster.inc.php https://gitlab.com/nacridan/Nacridan | PHP | 178 lines
1<?php 2 60 61 require_once (HOMEPATH . "/factory/PNJFactory.inc.php"); 62 95 // $npc->set("id", $id); 96 require_once (HOMEPATH . "/factory/PlayerFactory.inc.php"); 97 PlayerFactory::NewATB($npc, $param, $db); 168 { 169 trigger_error("Erreur insertion PNJ/Equipement (doublon)", E_USER_ERROR); 170 } else 172 { 173 trigger_error("Impossible d'ajouter un nouveau PNJ/Equipement dans la base de donnée.", E_USER_ERROR); 174 }StringHelper.php https://gitlab.com/Isaki/le331.fr | PHP | 304 lines
1<?php 2/** 80 * Converts a string to an indexed array of chars 81 * There's really no reason for this to be used in PHP, since strings 82 * are all accessible using the $string{0} notation. 247 /** 248 * a natural way of getting a subtring, php's circular string buffer and strange 249 * return values suck if you want to program strict as of C or friends 261 if ($startpos > $len - 1 || $startpos < 0) { 262 trigger_error("substring(), Startindex out of bounds must be 0<n<$len", E_USER_ERROR); 263 } 264 if ($endpos > $len - 1 || $endpos < $startpos) { 265 trigger_error("substring(), Endindex out of bounds must be $startpos<n<" . ($len - 1), E_USER_ERROR); 266 }RouterListener.php https://gitlab.com/martinstti/silex-microframework-rest | PHP | 191 lines
1<?php 2 67 68 @trigger_error('The '.__METHOD__.' method now requires a RequestStack to be given as second argument as '.__CLASS__.'::setRequest method will not be supported anymore in 3.0.', E_USER_DEPRECATED); 69 } elseif (!$requestStack instanceof RequestStack) { 69 } elseif (!$requestStack instanceof RequestStack) { 70 @trigger_error('The '.__METHOD__.' method now requires a RequestStack instance as '.__CLASS__.'::setRequest method will not be supported anymore in 3.0.', E_USER_DEPRECATED); 71 } 109 { 110 @trigger_error('The '.__METHOD__.' method is deprecated since version 2.4 and will be made private in 3.0.', E_USER_DEPRECATED); 111function.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 }function.fetch.php https://gitlab.com/staging06/myproject | 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); 124atomlib.php https://gitlab.com/Blueprint-Marketing/interoccupy.net | 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."); 176SmartyBC.class.php https://gitlab.com/milutinke97/Controlify | PHP | 455 lines
1<?php 2/** 2/** 3 * Project: Smarty: the PHP compiling template engine 4 * File: SmartyBC.class.php 30 */ 31require_once(dirname(__FILE__) . '/Smarty.class.php'); 32 47 /** 48 * This is an array of directories where trusted php scripts reside. 49 * 100 * @param string $function the name of the template function 101 * @param string $function_impl the name of the PHP function to register 102 * @param bool $cacheable 123 * @param string $object name of template object 124 * @param object $object_impl the referenced PHP object to register 125 * @param array $allowed list of allowed methods (empty = all)DebugClassLoader.php https://gitlab.com/judielsm/Handora | 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)) {DebugClassLoader.php https://gitlab.com/guillaumev/alkarama | PHP | 349 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'); 201 if (in_array(strtolower($refl->getShortName()), self::$php7Reserved)) { 202 @trigger_error(sprintf('%s uses a reserved class name (%s) that will break on PHP 7 and higher', $name, $refl->getShortName()), E_USER_DEPRECATED); 203 } elseif (preg_match('#\n \* @deprecated (.*?)\r?\n \*(?: @|/$)#s', $refl->getDocComment(), $notice)) {Shell.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) {Theme.class.php https://gitlab.com/qbarbosa/klindev | PHP | 484 lines
1<?php 2/* vim: set expandtab sw=4 ts=4 sts=4: */ 5 * 6 * @package PhpMyAdmin 7 */ 7 */ 8if (! defined('PHPMYADMIN')) { 9 exit; 18 * 19 * @package PhpMyAdmin 20 */ 90 { 91 if (! file_exists($this->getPath() . '/info.inc.php')) { 92 return false; 94 95 if ($this->mtime_info === filemtime($this->getPath() . '/info.inc.php')) { 96 return true;Config_File.class.php https://gitlab.com/florianocomercial/centreon | PHP | 389 lines
22 * @copyright Copyright: 2001-2005 New Digital Group, Inc. 23 * @author Andrei Zmievski <andrei@php.net> 24 * @access public 87 if (!is_string($config_path) || !file_exists($config_path) || !is_dir($config_path)) { 88 $this->_trigger_error_msg("Bad config file path '$config_path'"); 89 return; 110 if (empty($file_name)) { 111 $this->_trigger_error_msg('Empty config file name'); 112 return; 193 if (empty($file_name)) { 194 $this->_trigger_error_msg('Empty config file name'); 195 return; 377 /** 378 * @uses trigger_error() creates a PHP warning/error 379 * @param string $error_msgfunction.html_select_time.php https://gitlab.com/staging06/myproject | 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 }BehaviorCollection.php https://gitlab.com/manuperazafa/elsartenbackend | 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;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/interoccupy.net | 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/LisovyiEvhenii/ismextensions | 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'; 232password.php https://gitlab.com/techniconline/kmc | PHP | 321 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 37 if (!function_exists('crypt')) { 38 trigger_error("Crypt must be loaded for password_hash to function", E_USER_WARNING); 39 return null; 44 if (!is_string($password)) { 45 trigger_error("password_hash(): Password must be a string", E_USER_WARNING); 46 return null;UserManager.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')TransactionGateway.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() .test_manager.php https://gitlab.com/hakimkal/evricaevents | PHP | 421 lines
2/** 3 * TestManager for CakePHP Test suite. 4 * 4 * 5 * PHP versions 4 and 5 6 * 6 * 7 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 8 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) 14 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 15 * @package cake 17 * @since CakePHP(tm) v 1.2.0.4433 18 * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License 19 */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(AbstractConstraintValidatorTest.php https://gitlab.com/Isaki/le331.fr | 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);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);PPXmlMessage.php https://gitlab.com/CORP-RESELLER/sdk-core-php | PHP | 195 lines
1<?php 2namespace PayPal\Core; 181 if (!class_exists($type = PPUtils::propertyType($this, $property))) { 182 trigger_error("Class $type not found.", E_USER_NOTICE); 183 return; // just ignoreRenderer.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",Container.php https://gitlab.com/kubinos/writeoff | PHP | 331 lines
1<?php 2 319 if (empty($this->parameters['container']['accessors'])) { 320 trigger_error("$oldName() is deprecated; use $newName() or enable di.accessors in configuration.", E_USER_DEPRECATED); 321 }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);ClassType.php https://gitlab.com/adam.kvita/MI-VMM-SIFT | PHP | 528 lines
1<?php 2 7 8namespace Nette\PhpGenerator; 9 29 30 /** @var PhpNamespace|NULL */ 31 private $namespace; 73 $from = $from instanceof \ReflectionClass ? $from : new \ReflectionClass($from); 74 if (PHP_VERSION_ID >= 70000 && $from->isAnonymous()) { 75 $class = new static('anonymous'); 76 } else { 77 $class = new static($from->getShortName(), new PhpNamespace($from->getNamespaceName())); 78 } 101 102 public function __construct($name = '', PhpNamespace $namespace = NULL) 103 {DiffFormatter.php https://gitlab.com/leoplanxxi/dr7-web-buap-2016 | PHP | 187 lines
1<?php 2 126 else { 127 trigger_error('Unknown edit type', E_USER_ERROR); 128 }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 }ProgressHelper.php https://gitlab.com/guillaumev/alkarama | PHP | 469 lines
1<?php 2 125 if ($triggerDeprecationError) { 126 @trigger_error('The '.__CLASS__.' class is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\Component\Console\Helper\ProgressBar class instead.', E_USER_DEPRECATED); 127 }Exception.php https://gitlab.com/alvinahmadov2/hhvm | PHP | 278 lines
1<?php 2 2 3// This doc comment block generated by idl/sysdoc.php 4/** 4/** 5 * ( excerpt from http://docs.hhvm.com/manual/en/class.exception.php ) 6 * 11 protected $message = ''; // exception message 12 private $string = ''; // php5 has this, we don't use it 13 protected $code = 0; // user defined exception code 35 if (!isset($this->trace)) { 36 trigger_error($context.': exception object not initialized', E_WARNING); 37 return false; 43 44 // This doc comment block generated by idl/sysdoc.php 45 /**