PG 364 ext/com_dotnet/com_com.c if (PG(html_errors)) {
PG 175 ext/curl/interface.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 2226 ext/curl/interface.c (PG(open_basedir) && *PG(open_basedir)) && (Z_LVAL_PP(zvalue) & CURLPROTO_FILE)) {
PG 2507 ext/curl/interface.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 599 ext/enchant/enchant.c if ((PG(safe_mode) && (!php_checkuid(pwl, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(pwl TSRMLS_CC)) {
PG 319 ext/fileinfo/fileinfo.c if ((PG(safe_mode) && (!php_checkuid(file, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(file TSRMLS_CC)) {
PG 425 ext/filter/filter.c orig_array_ptr = PG(http_globals)[t]; \
PG 542 ext/filter/filter.c if (PG(auto_globals_jit)) {
PG 548 ext/filter/filter.c if (PG(auto_globals_jit)) {
PG 551 ext/filter/filter.c array_ptr = IF_G(env_array) ? IF_G(env_array) : PG(http_globals)[TRACK_VARS_ENV];
PG 1108 ext/interbase/ibase_query.c if (PG(sql_safe_mode)) {
PG 915 ext/interbase/interbase.c if ((!len[DB] || PG(sql_safe_mode)) && (c = INI_STR("ibase.default_db"))) {
PG 692 ext/libxml/libxml.c if (xmlGenericError == php_libxml_error_handler && PG(modules_activated)) {
PG 82 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_POST] = array_ptr;
PG 85 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_GET] = array_ptr;
PG 88 ext/mbstring/mb_gpc.c PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr;
PG 131 ext/mbstring/mb_gpc.c separator = (char *) estrdup(PG(arg_separator).input);
PG 258 ext/mbstring/mb_gpc.c if (n > (PG(max_input_vars) * 2)) {
PG 259 ext/mbstring/mb_gpc.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));
PG 2059 ext/mbstring/mbstring.c info.separator = PG(arg_separator).input;
PG 767 ext/mysql/php_mysql.c if (PG(sql_safe_mode)) {
PG 804 ext/mysql/php_mysql.c if (((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) && (client_flags & CLIENT_LOCAL_FILES)) {
PG 806 ext/mysql/php_mysql.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') && (client_flags & CLIENT_LOCAL_FILES)) {
PG 1997 ext/mysql/php_mysql.c if (PG(magic_quotes_runtime)) {
PG 2124 ext/mysql/php_mysql.c if (PG(magic_quotes_runtime)) {
PG 1189 ext/mysqli/mysqli.c if (PG(magic_quotes_runtime)) {
PG 1747 ext/mysqli/mysqli_api.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode)) {
PG 1749 ext/mysqli/mysqli_api.c if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
PG 123 ext/mysqli/mysqli_nonapi.c if (PG(open_basedir) && PG(open_basedir)[0] != '\0') {
PG 717 ext/mysqlnd/mysqlnd.c if (PG(open_basedir) && strlen(PG(open_basedir))) {
PG 45 ext/mysqlnd/mysqlnd_loaddata.c if (PG(open_basedir)) {
PG 1440 ext/oci8/oci8.c (PG(connection_status) & PHP_CONNECTION_TIMEOUT) ||
PG 1806 ext/oci8/oci8.c if (PG(safe_mode)) {
PG 956 ext/oci8/oci8_interface.c if (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
PG 1915 ext/oci8/oci8_interface.c if (PG(safe_mode)) {
PG 731 ext/oci8/oci8_lob.c if ((PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)) {
PG 572 ext/odbc/php_odbc.c if (PG(html_errors)) {
PG 1428 ext/opcache/ZendAccelerator.c if (PG(auto_globals_jit)) {
PG 1434 ext/opcache/ZendAccelerator.c if ((PG(auto_globals_jit) && !PG(register_globals) && !PG(register_long_arrays))) {
PG 627 ext/pdo_mysql/mysql_driver.c if ((PG(open_basedir) && PG(open_basedir)[0] != '\0') || PG(safe_mode))
PG 629 ext/pdo_mysql/mysql_driver.c if (PG(open_basedir) && PG(open_basedir)[0] != '\0')
PG 840 ext/pdo_sqlite/sqlite_driver.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 207 ext/phar/func_interceptors.c if (PG(magic_quotes_runtime)) {
PG 1329 ext/phar/phar.c if (PG(safe_mode) && (!php_checkuid(fname, NULL, CHECKUID_ALLOW_ONLY_FILE))) {
PG 1493 ext/phar/phar.c if (PG(safe_mode) && (!php_checkuid(fname, NULL, CHECKUID_ALLOW_ONLY_FILE))) {
PG 2361 ext/phar/phar.c if (PG(safe_mode) && (!php_checkuid(fname, NULL, CHECKUID_ALLOW_ONLY_FILE))) {
PG 69 ext/phar/phar_object.c if (!PG(http_globals)[TRACK_VARS_SERVER]) {
PG 73 ext/phar/phar_object.c _SERVER = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]);
PG 611 ext/phar/phar_object.c if (PG(http_globals)[TRACK_VARS_SERVER]) {
PG 612 ext/phar/phar_object.c HashTable *_server = Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]);
PG 1608 ext/phar/phar_object.c if (PG(safe_mode) && (!php_checkuid(fname, NULL, CHECKUID_ALLOW_ONLY_FILE))) {
PG 3842 ext/phar/phar_object.c if (PG(safe_mode) && (!php_checkuid(fname, NULL, CHECKUID_ALLOW_ONLY_FILE))) {
PG 4098 ext/phar/phar_object.c (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)
PG 203 ext/phar/util.c if (PG(safe_mode) && !is_phar && (!php_checkuid(entry.tmp, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
PG 318 ext/phar/util.c spprintf(&path, MAXPATHLEN, "phar://%s/%s%c%s", arch, PHAR_G(cwd), DEFAULT_DIR_SEPARATOR, PG(include_path));
PG 591 ext/readline/readline_cli.c if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) {
PG 595 ext/readline/readline_cli.c prepend_file.filename = PG(auto_prepend_file);
PG 143 ext/session/mod_files.c if (PG(open_basedir)) {
PG 565 ext/session/session.c if (PG(modules_activated) && !tmp) {
PG 595 ext/session/session.c if (PG(modules_activated) && !tmp) {
PG 651 ext/session/session.c if (PG(open_basedir) && *p && php_check_open_basedir(p TSRMLS_CC)) {
PG 664 ext/session/session.c if (PG(modules_activated) &&
PG 1501 ext/session/session.c if (!PS(use_only_cookies) && !PS(id) && PG(http_globals)[TRACK_VARS_SERVER] &&
PG 1502 ext/session/session.c zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "REQUEST_URI", sizeof("REQUEST_URI"), (void **) &data) == SUCCESS &&
PG 1521 ext/session/session.c PG(http_globals)[TRACK_VARS_SERVER] &&
PG 1522 ext/session/session.c zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_REFERER", sizeof("HTTP_REFERER"), (void **) &data) == SUCCESS &&
PG 2456 ext/session/session.c if (!PG(http_globals)[where]) {
PG 2460 ext/session/session.c if (zend_hash_find(Z_ARRVAL_P(PG(http_globals)[where]), PS(session_name), progress->sname_len+1, (void **)&ppid) == SUCCESS
PG 461 ext/soap/php_http.c old_allow_url_fopen = PG(allow_url_fopen);
PG 462 ext/soap/php_http.c PG(allow_url_fopen) = 1;
PG 467 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen;
PG 517 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen;
PG 522 ext/soap/php_http.c PG(allow_url_fopen) = old_allow_url_fopen;
PG 90 ext/soap/php_xml.c old_allow_url_fopen = PG(allow_url_fopen);
PG 91 ext/soap/php_xml.c PG(allow_url_fopen) = 1;
PG 93 ext/soap/php_xml.c PG(allow_url_fopen) = old_allow_url_fopen;
PG 503 ext/soap/soap.c if (PG(open_basedir) && *p && php_check_open_basedir(p TSRMLS_CC)) {
PG 2070 ext/soap/soap.c if (PG(http_globals)[TRACK_VARS_SERVER] &&
PG 2071 ext/soap/soap.c zend_hash_find(PG(http_globals)[TRACK_VARS_SERVER]->value.ht, "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT"), (void **) &agent_name) == SUCCESS &&
PG 2160 ext/soap/soap.c int old = PG(display_errors);
PG 2186 ext/soap/soap.c PG(display_errors) = 0;
PG 2201 ext/soap/soap.c PG(display_errors) = old;
PG 2210 ext/soap/soap.c int old = PG(display_errors);
PG 2270 ext/soap/soap.c PG(display_errors) = 0;
PG 2284 ext/soap/soap.c PG(display_errors) = old;
PG 127 ext/sqlite3/sqlite3.c if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
PG 167 ext/sqlite3/sqlite3.c if (PG(safe_mode) || (PG(open_basedir) && *PG(open_basedir))) {
PG 169 ext/sqlite3/sqlite3.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 1981 ext/sqlite3/sqlite3.c if (PG(safe_mode) && (!php_checkuid(arg3, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
PG 4259 ext/standard/basic_functions.c if (PG(http_globals)[TRACK_VARS_SERVER] &&
PG 4260 ext/standard/basic_functions.c (zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), (void **) &args) != FAILURE ||
PG 4757 ext/standard/basic_functions.c if (PG(last_error_message)) {
PG 4759 ext/standard/basic_functions.c add_assoc_long_ex(return_value, "type", sizeof("type"), PG(last_error_type));
PG 4760 ext/standard/basic_functions.c add_assoc_string_ex(return_value, "message", sizeof("message"), PG(last_error_message), 1);
PG 4761 ext/standard/basic_functions.c add_assoc_string_ex(return_value, "file", sizeof("file"), PG(last_error_file)?PG(last_error_file):"-", 1 );
PG 4762 ext/standard/basic_functions.c add_assoc_long_ex(return_value, "line", sizeof("line"), PG(last_error_lineno));
PG 5448 ext/standard/basic_functions.c if (PG(open_basedir)) {
PG 5572 ext/standard/basic_functions.c RETURN_LONG(PG(connection_status) & PHP_CONNECTION_ABORTED);
PG 5580 ext/standard/basic_functions.c RETURN_LONG(PG(connection_status));
PG 5596 ext/standard/basic_functions.c old_setting = PG(ignore_user_abort);
PG 500 ext/standard/browscap.c if (!PG(http_globals)[TRACK_VARS_SERVER] ||
PG 501 ext/standard/browscap.c zend_hash_find(HASH_OF(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_USER_AGENT", sizeof("HTTP_USER_AGENT"), (void **) &http_user_agent) == FAILURE
PG 494 ext/standard/dir.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 507 ext/standard/dir.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 63 ext/standard/dl.c if (!PG(enable_dl)) {
PG 114 ext/standard/dl.c extension_dir = PG(extension_dir);
PG 279 ext/standard/mail.c if (PG(mail_x_header)) {
PG 206 ext/standard/php_fopen_wrapper.c if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
PG 216 ext/standard/php_fopen_wrapper.c if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
PG 273 ext/standard/php_fopen_wrapper.c if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
PG 214 ext/standard/url_scanner_ex.c append_modified_url(&ctx->val, &ctx->result, &ctx->url_app, PG(arg_separator).output);
PG 864 ext/standard/url_scanner_ex.c append_modified_url(&surl, &buf, &url_app, PG(arg_separator).output);
PG 970 ext/standard/url_scanner_ex.c smart_str_appends(&BG(url_adapt_state_ex).url_app, PG(arg_separator).output);
PG 439 ext/standard/var.c tmp_len = spprintf(&tmp_str, 0,"%.*H", PG(serialize_precision), Z_DVAL_PP(struc));
PG 752 ext/standard/var.c s = (char *) safe_emalloc(PG(serialize_precision), 1, MAX_LENGTH_OF_DOUBLE + 1);
PG 753 ext/standard/var.c php_gcvt(Z_DVAL_P(struc), PG(serialize_precision), '.', 'E', s);
PG 663 ext/standard/var_unserializer.c if ((PG(unserialize_callback_func) == NULL) || (PG(unserialize_callback_func)[0] == '\0')) {
PG 671 ext/standard/var_unserializer.c ZVAL_STRING(user_func, PG(unserialize_callback_func), 1);
PG 49 ext/zip/php_zip.h (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)
PG 74 ext/zlib/zlib.c if (PG(http_globals)[TRACK_VARS_SERVER] && SUCCESS == zend_hash_find(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "HTTP_ACCEPT_ENCODING", sizeof("HTTP_ACCEPT_ENCODING"), (void *) &enc)) {
PG 455 main/SAPI.c if (PG(enable_post_data_reading) && SG(request_info).request_method) {
PG 296 main/fopen_wrappers.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 309 main/fopen_wrappers.c pathbuf = estrdup(PG(open_basedir));
PG 328 main/fopen_wrappers.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "open_basedir restriction in effect. File(%s) is not within the allowed path(s): (%s)", path, PG(open_basedir));
PG 369 main/fopen_wrappers.c if (PG(user_dir) && *PG(user_dir) && path_info && '/' == path_info[0] && '~' == path_info[1]) {
PG 401 main/fopen_wrappers.c spprintf(&filename, 0, "%s%c%s%c%s", pw->pw_dir, PHP_DIR_SEPARATOR, PG(user_dir), PHP_DIR_SEPARATOR, s + 1); /* Safe */
PG 411 main/fopen_wrappers.c if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) &&
PG 412 main/fopen_wrappers.c IS_ABSOLUTE_PATH(PG(doc_root), length)) {
PG 416 main/fopen_wrappers.c memcpy(filename, PG(doc_root), length);
PG 448 main/fopen_wrappers.c orig_display_errors = PG(display_errors);
PG 449 main/fopen_wrappers.c PG(display_errors) = 0;
PG 451 main/fopen_wrappers.c PG(display_errors) = orig_display_errors;
PG 459 main/fopen_wrappers.c PG(display_errors) = orig_display_errors;
PG 40 main/fopen_wrappers.h (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) || php_check_open_basedir(filename TSRMLS_CC)
PG 178 main/main.c PG(memory_limit) = zend_atol(new_value, new_value_length);
PG 180 main/main.c PG(memory_limit) = 1<<30; /* effectively, no limit */
PG 182 main/main.c return zend_set_memory_limit(PG(memory_limit));
PG 197 main/main.c e = PG(disable_functions) = strdup(INI_STR("disable_functions"));
PG 235 main/main.c e = PG(disable_classes) = strdup(INI_STR("disable_classes"));
PG 270 main/main.c PG(php_binary) = NULL;
PG 309 main/main.c PG(php_binary) = binary_location;
PG 364 main/main.c PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length);
PG 424 main/main.c if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) {
PG 439 main/main.c if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) {
PG 614 main/main.c if (PG(in_error_log)) {
PG 618 main/main.c PG(in_error_log) = 1;
PG 621 main/main.c if (PG(error_log) != NULL) {
PG 623 main/main.c if (!strcmp(PG(error_log), "syslog")) {
PG 625 main/main.c PG(in_error_log) = 0;
PG 629 main/main.c fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644);
PG 653 main/main.c PG(in_error_log) = 0;
PG 663 main/main.c PG(in_error_log) = 0;
PG 718 main/main.c if (PG(html_errors)) {
PG 776 main/main.c if (PG(html_errors)) {
PG 810 main/main.c if (docref && is_function && PG(html_errors) && strlen(PG(docref_root))) {
PG 816 main/main.c docref_root = PG(docref_root);
PG 833 main/main.c if (PG(docref_ext) && strlen(PG(docref_ext))) {
PG 834 main/main.c spprintf(&docref_buf, 0, "%s%s", ref, PG(docref_ext));
PG 840 main/main.c if (PG(html_errors)) {
PG 856 main/main.c if (PG(track_errors) && module_initialized &&
PG 952 main/main.c buffer_len = vspprintf(&buffer, PG(log_errors_max_len), format, args);
PG 955 main/main.c if (PG(ignore_repeated_errors) && PG(last_error_message)) {
PG 958 main/main.c if (strcmp(PG(last_error_message), buffer)
PG 959 main/main.c || (!PG(ignore_repeated_source)
PG 960 main/main.c && ((PG(last_error_lineno) != (int)error_lineno)
PG 961 main/main.c || strcmp(PG(last_error_file), error_filename)))) {
PG 975 main/main.c if (PG(last_error_message)) {
PG 976 main/main.c free(PG(last_error_message));
PG 977 main/main.c PG(last_error_message) = NULL;
PG 979 main/main.c if (PG(last_error_file)) {
PG 980 main/main.c free(PG(last_error_file));
PG 981 main/main.c PG(last_error_file) = NULL;
PG 989 main/main.c PG(last_error_type) = type;
PG 990 main/main.c PG(last_error_message) = strdup(buffer);
PG 991 main/main.c PG(last_error_file) = strdup(error_filename);
PG 992 main/main.c PG(last_error_lineno) = error_lineno;
PG 1028 main/main.c && (PG(log_errors) || PG(display_errors) || (!module_initialized))) {
PG 1066 main/main.c if (!module_initialized || PG(log_errors)) {
PG 1069 main/main.c if ((type == E_CORE_ERROR || type == E_CORE_WARNING) && PG(display_startup_errors)) {
PG 1078 main/main.c if (PG(display_errors) && ((module_initialized && !PG(during_request_startup)) || (PG(display_startup_errors)))) {
PG 1079 main/main.c if (PG(xmlrpc_errors)) {
PG 1080 main/main.c php_printf("<?xml version=\"1.0\"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>%ld</int></value></member><member><name>faultString</name><value><string>%s:%s in %s on line %d</string></value></member></struct></value></fault></methodResponse>", PG(xmlrpc_error_number), error_type_str, buffer, error_filename, error_lineno);
PG 1085 main/main.c if (PG(html_errors)) {
PG 1097 main/main.c PG(display_errors) == PHP_DISPLAY_ERRORS_STDERR
PG 1112 main/main.c if (PG(report_zend_debug)) {
PG 1154 main/main.c if (!PG(display_errors) &&
PG 1170 main/main.c zend_set_memory_limit(PG(memory_limit));
PG 1187 main/main.c if (PG(track_errors) && module_initialized) {
PG 1371 main/main.c return php_resolve_path(filename, filename_len, PG(include_path) TSRMLS_CC);
PG 1396 main/main.c php_error_docref("function.include" TSRMLS_CC, E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
PG 1399 main/main.c php_error_docref("function.require" TSRMLS_CC, E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
PG 1476 main/main.c PG(connection_status) |= PHP_CONNECTION_TIMEOUT;
PG 1478 main/main.c if(PG(exit_on_timeout)) sapi_terminate_process(TSRMLS_C);
PG 1504 main/main.c PG(during_request_startup) = 1;
PG 1507 main/main.c PG(modules_activated) = 0;
PG 1508 main/main.c PG(header_is_being_sent) = 0;
PG 1509 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL;
PG 1514 main/main.c PG(modules_activated)=1;
PG 1538 main/main.c PG(com_initialized) = 0;
PG 1546 main/main.c PG(in_error_log) = 0;
PG 1547 main/main.c PG(during_request_startup) = 1;
PG 1552 main/main.c PG(modules_activated) = 0;
PG 1553 main/main.c PG(header_is_being_sent) = 0;
PG 1554 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL;
PG 1555 main/main.c PG(in_user_include) = 0;
PG 1564 main/main.c if (PG(max_input_time) == -1) {
PG 1567 main/main.c zend_set_timeout(PG(max_input_time), 1);
PG 1571 main/main.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 1575 main/main.c if (PG(expose_php)) {
PG 1579 main/main.c if (PG(output_handler) && PG(output_handler)[0]) {
PG 1583 main/main.c ZVAL_STRING(oh, PG(output_handler), 1);
PG 1586 main/main.c } else if (PG(output_buffering)) {
PG 1587 main/main.c php_output_start_user(NULL, PG(output_buffering) > 1 ? PG(output_buffering) : 0, PHP_OUTPUT_HANDLER_STDFLAGS TSRMLS_CC);
PG 1588 main/main.c } else if (PG(implicit_flush)) {
PG 1597 main/main.c PG(modules_activated)=1;
PG 1624 main/main.c PG(during_request_startup) = 1;
PG 1625 main/main.c if (PG(expose_php)) {
PG 1678 main/main.c if (PG(modules_activated)) zend_try {
PG 1682 main/main.c if (PG(modules_activated)) {
PG 1695 main/main.c if (PG(http_globals)[i]) {
PG 1696 main/main.c zval_ptr_dtor(&PG(http_globals)[i]);
PG 1733 main/main.c report_memleaks = PG(report_memleaks);
PG 1744 main/main.c if (PG(modules_activated)) zend_try {
PG 1757 main/main.c if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR &&
PG 1758 main/main.c (size_t)PG(memory_limit) < zend_memory_usage(1 TSRMLS_CC)
PG 1776 main/main.c if (PG(modules_activated)) {
PG 1791 main/main.c if (PG(http_globals)[i]) {
PG 1792 main/main.c zval_ptr_dtor(&PG(http_globals)[i]);
PG 1798 main/main.c if (PG(last_error_message)) {
PG 1799 main/main.c free(PG(last_error_message));
PG 1800 main/main.c PG(last_error_message) = NULL;
PG 1802 main/main.c if (PG(last_error_file)) {
PG 1803 main/main.c free(PG(last_error_file));
PG 1804 main/main.c PG(last_error_file) = NULL;
PG 1837 main/main.c if (PG(com_initialized)) {
PG 1839 main/main.c PG(com_initialized) = 0;
PG 1854 main/main.c if (!PG(com_initialized)) {
PG 1856 main/main.c PG(com_initialized) = 1;
PG 1967 main/main.c if(PG(windows_show_crt_warning)) {
PG 2084 main/main.c PG(header_is_being_sent) = 0;
PG 2089 main/main.c PG(connection_status) = PHP_CONNECTION_NORMAL;
PG 2090 main/main.c PG(during_request_startup) = 0;
PG 2091 main/main.c PG(last_error_message) = NULL;
PG 2092 main/main.c PG(last_error_file) = NULL;
PG 2093 main/main.c PG(last_error_lineno) = 0;
PG 2096 main/main.c PG(disable_functions) = NULL;
PG 2097 main/main.c PG(disable_classes) = NULL;
PG 2171 main/main.c if (PG(php_binary)) {
PG 2172 main/main.c REGISTER_MAIN_STRINGL_CONSTANT("PHP_BINARY", PG(php_binary), strlen(PG(php_binary)), CONST_PERSISTENT | CONST_CS);
PG 2194 main/main.c if (PG(open_basedir) && *PG(open_basedir)) {
PG 2451 main/main.c PG(during_request_startup) = 0;
PG 2481 main/main.c if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) {
PG 2482 main/main.c prepend_file.filename = PG(auto_prepend_file);
PG 2491 main/main.c if (PG(auto_append_file) && PG(auto_append_file)[0]) {
PG 2492 main/main.c append_file.filename = PG(auto_append_file);
PG 2500 main/main.c if (PG(max_input_time) != -1) {
PG 2544 main/main.c PG(during_request_startup) = 0;
PG 2568 main/main.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 2571 main/main.c if (!PG(ignore_user_abort)) {
PG 52 main/php_content_types.c if ((PG(always_populate_raw_post_data) || NULL == SG(request_info).post_entry) && SG(request_info).post_data) {
PG 403 main/php_ini.c open_basedir = PG(open_basedir);
PG 491 main/php_ini.c if (PG(php_binary)) {
PG 494 main/php_ini.c binary_location = estrdup(PG(php_binary));
PG 538 main/php_ini.c PG(open_basedir) = NULL;
PG 590 main/php_ini.c PG(open_basedir) = open_basedir;
PG 201 main/php_open_temporary_file.c char *sys_temp_dir = PG(sys_temp_dir);
PG 26 main/php_ticks.c zend_llist_init(&PG(tick_functions), sizeof(void(*)(int)), NULL, 1);
PG 32 main/php_ticks.c zend_llist_clean(&PG(tick_functions));
PG 37 main/php_ticks.c zend_llist_destroy(&PG(tick_functions));
PG 53 main/php_ticks.c zend_llist_add_element(&PG(tick_functions), (void *)&func);
PG 60 main/php_ticks.c zend_llist_del_element(&PG(tick_functions), (void *)func,
PG 76 main/php_ticks.c zend_llist_apply_with_argument(&PG(tick_functions), (llist_apply_with_arg_func_t) php_tick_iterator, &count TSRMLS_CC);
PG 129 main/php_variables.c if(++nest_level > PG(max_input_nesting_level)) {
PG 142 main/php_variables.c if (!PG(display_errors)) {
PG 143 main/php_variables.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variable nesting level exceeded %ld. To increase the limit change max_input_nesting_level in php.ini.", PG(max_input_nesting_level));
PG 219 main/php_variables.c if (PG(http_globals)[TRACK_VARS_COOKIE] &&
PG 220 main/php_variables.c symtable1 == Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) &&
PG 249 main/php_variables.c if (++count > PG(max_input_vars)) {
PG 250 main/php_variables.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));
PG 297 main/php_variables.c if (PG(http_globals)[TRACK_VARS_POST]) {
PG 298 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]);
PG 300 main/php_variables.c PG(http_globals)[TRACK_VARS_POST] = array_ptr;
PG 303 main/php_variables.c if (PG(http_globals)[TRACK_VARS_GET]) {
PG 304 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]);
PG 306 main/php_variables.c PG(http_globals)[TRACK_VARS_GET] = array_ptr;
PG 309 main/php_variables.c if (PG(http_globals)[TRACK_VARS_COOKIE]) {
PG 310 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]);
PG 312 main/php_variables.c PG(http_globals)[TRACK_VARS_COOKIE] = array_ptr;
PG 354 main/php_variables.c separator = (char *) estrdup(PG(arg_separator).input);
PG 376 main/php_variables.c if (++count > PG(max_input_vars)) {
PG 377 main/php_variables.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));
PG 543 main/php_variables.c if (PG(http_globals)[TRACK_VARS_SERVER]) {
PG 544 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]);
PG 546 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER] = array_ptr;
PG 624 main/php_variables.c memset(PG(http_globals), 0, sizeof(PG(http_globals)));
PG 626 main/php_variables.c if (PG(register_argc_argv)) {
PG 627 main/php_variables.c php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
PG 637 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'G') || strchr(PG(variables_order),'g'))) {
PG 639 main/php_variables.c vars = PG(http_globals)[TRACK_VARS_GET];
PG 644 main/php_variables.c if (PG(http_globals)[TRACK_VARS_GET]) {
PG 645 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_GET]);
PG 647 main/php_variables.c PG(http_globals)[TRACK_VARS_GET] = vars;
PG 660 main/php_variables.c if (PG(variables_order) &&
PG 661 main/php_variables.c (strchr(PG(variables_order),'P') || strchr(PG(variables_order),'p')) &&
PG 666 main/php_variables.c vars = PG(http_globals)[TRACK_VARS_POST];
PG 671 main/php_variables.c if (PG(http_globals)[TRACK_VARS_POST]) {
PG 672 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_POST]);
PG 674 main/php_variables.c PG(http_globals)[TRACK_VARS_POST] = vars;
PG 687 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'C') || strchr(PG(variables_order),'c'))) {
PG 689 main/php_variables.c vars = PG(http_globals)[TRACK_VARS_COOKIE];
PG 694 main/php_variables.c if (PG(http_globals)[TRACK_VARS_COOKIE]) {
PG 695 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_COOKIE]);
PG 697 main/php_variables.c PG(http_globals)[TRACK_VARS_COOKIE] = vars;
PG 710 main/php_variables.c if (PG(http_globals)[TRACK_VARS_FILES]) {
PG 711 main/php_variables.c vars = PG(http_globals)[TRACK_VARS_FILES];
PG 716 main/php_variables.c PG(http_globals)[TRACK_VARS_FILES] = vars;
PG 727 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'S') || strchr(PG(variables_order),'s'))) {
PG 730 main/php_variables.c if (PG(register_argc_argv)) {
PG 738 main/php_variables.c zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argv", sizeof("argv"), argv, sizeof(zval *), NULL);
PG 739 main/php_variables.c zend_hash_update(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER]), "argc", sizeof("argc"), argc, sizeof(zval *), NULL);
PG 742 main/php_variables.c php_build_argv(SG(request_info).query_string, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
PG 751 main/php_variables.c if (PG(http_globals)[TRACK_VARS_SERVER]) {
PG 752 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_SERVER]);
PG 754 main/php_variables.c PG(http_globals)[TRACK_VARS_SERVER] = server_vars;
PG 757 main/php_variables.c zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_SERVER], sizeof(zval *), NULL);
PG 758 main/php_variables.c Z_ADDREF_P(PG(http_globals)[TRACK_VARS_SERVER]);
PG 769 main/php_variables.c if (PG(http_globals)[TRACK_VARS_ENV]) {
PG 770 main/php_variables.c zval_ptr_dtor(&PG(http_globals)[TRACK_VARS_ENV]);
PG 772 main/php_variables.c PG(http_globals)[TRACK_VARS_ENV] = env_vars;
PG 774 main/php_variables.c if (PG(variables_order) && (strchr(PG(variables_order),'E') || strchr(PG(variables_order),'e'))) {
PG 775 main/php_variables.c php_import_environment_variables(PG(http_globals)[TRACK_VARS_ENV] TSRMLS_CC);
PG 778 main/php_variables.c zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(zval *), NULL);
PG 779 main/php_variables.c Z_ADDREF_P(PG(http_globals)[TRACK_VARS_ENV]);
PG 794 main/php_variables.c if (PG(request_order) != NULL) {
PG 795 main/php_variables.c p = PG(request_order);
PG 797 main/php_variables.c p = PG(variables_order);
PG 805 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_GET]) TSRMLS_CC);
PG 812 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_POST]) TSRMLS_CC);
PG 819 main/php_variables.c php_autoglobal_merge(Z_ARRVAL_P(form_variables), Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_COOKIE]) TSRMLS_CC);
PG 835 main/php_variables.c zend_register_auto_global(ZEND_STRL("_SERVER"), PG(auto_globals_jit), php_auto_globals_create_server TSRMLS_CC);
PG 836 main/php_variables.c zend_register_auto_global(ZEND_STRL("_ENV"), PG(auto_globals_jit), php_auto_globals_create_env TSRMLS_CC);
PG 837 main/php_variables.c zend_register_auto_global(ZEND_STRL("_REQUEST"), PG(auto_globals_jit), php_auto_globals_create_request TSRMLS_CC);
PG 150 main/rfc1867.c zend_hash_add(&PG(rfc1867_protected_variables), varname, strlen(varname)+1, &dummy, sizeof(int), NULL);
PG 157 main/rfc1867.c return zend_hash_exists(&PG(rfc1867_protected_variables), varname, strlen(varname)+1);
PG 756 main/rfc1867.c zend_hash_init(&PG(rfc1867_protected_variables), 5, NULL, NULL, 0);
PG 765 main/rfc1867.c PG(http_globals)[TRACK_VARS_FILES] = http_post_files;
PG 865 main/rfc1867.c if (++count <= PG(max_input_vars) && sapi_module.input_filter(PARSE_POST, param, &value, value_len, &new_val_len TSRMLS_CC)) {
PG 884 main/rfc1867.c if (count == PG(max_input_vars) + 1) {
PG 885 main/rfc1867.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));
PG 910 main/rfc1867.c if (!PG(file_uploads)) {
PG 1001 main/rfc1867.c fd = php_open_temporary_fd_ex(PG(upload_tmp_dir), "php", &temp_filename, 1 TSRMLS_CC);
PG 1026 main/rfc1867.c if (PG(upload_max_filesize) > 0 && (long)(total_bytes+blen) > PG(upload_max_filesize)) {
PG 1028 main/rfc1867.c sapi_module.sapi_error(E_NOTICE, "upload_max_filesize of %ld bytes exceeded - file [%s=%s] not saved", PG(upload_max_filesize), param, filename);
PG 1266 main/rfc1867.c zend_hash_destroy(&PG(rfc1867_protected_variables));
PG 190 main/streams/streams.c if (PG(html_errors)) {
PG 1861 main/streams/streams.c (!PG(allow_url_fopen) ||
PG 1863 main/streams/streams.c PG(in_user_include)) && !PG(allow_url_include)))) {
PG 1867 main/streams/streams.c if (!PG(allow_url_fopen)) {
PG 356 main/streams/userspace.c old_in_user_include = PG(in_user_include);
PG 359 main/streams/userspace.c !PG(allow_url_include)) {
PG 360 main/streams/userspace.c PG(in_user_include) = 1;
PG 369 main/streams/userspace.c PG(in_user_include) = old_in_user_include;
PG 436 main/streams/userspace.c PG(in_user_include) = old_in_user_include;
PG 967 sapi/apache/mod_php5.c if (PG(expose_php)) {
PG 403 sapi/apache2filter/sapi_apache2.c PG(during_request_startup) = 0;
PG 583 sapi/apache2filter/sapi_apache2.c if (PG(expose_php)) {
PG 408 sapi/apache2handler/sapi_apache2.c if (PG(expose_php)) {
PG 1253 sapi/apache_hooks/mod_php5.c if (PG(expose_php)) {
PG 82 sapi/apache_hooks/sapi_apache.c php_register_variable_ex("request", req, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
PG 86 sapi/apache_hooks/sapi_apache.c php_register_variable("PHP_SELF_HOOK", handler->name, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC);
PG 217 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 229 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 258 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 366 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 406 sapi/caudium/caudium.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 619 sapi/cgi/cgi_main.c int filter_arg = (array_ptr == PG(http_globals)[TRACK_VARS_ENV])?PARSE_ENV:PARSE_SERVER;
PG 629 sapi/cgi/cgi_main.c if (PG(http_globals)[TRACK_VARS_ENV] &&
PG 630 sapi/cgi/cgi_main.c array_ptr != PG(http_globals)[TRACK_VARS_ENV] &&
PG 631 sapi/cgi/cgi_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY &&
PG 632 sapi/cgi/cgi_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0
PG 635 sapi/cgi/cgi_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_ENV];
PG 639 sapi/cgi/cgi_main.c } else if (PG(http_globals)[TRACK_VARS_SERVER] &&
PG 640 sapi/cgi/cgi_main.c array_ptr != PG(http_globals)[TRACK_VARS_SERVER] &&
PG 641 sapi/cgi/cgi_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY &&
PG 642 sapi/cgi/cgi_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0
PG 645 sapi/cgi/cgi_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER];
PG 809 sapi/cgi/cgi_main.c php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
PG 814 sapi/cgi/cgi_main.c php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
PG 820 sapi/cgi/cgi_main.c entry->expires = request_time + PG(user_ini_cache_ttl);
PG 858 sapi/cgi/cgi_main.c (PG(user_ini_filename) && *PG(user_ini_filename))
PG 879 sapi/cgi/cgi_main.c if (PG(user_ini_filename) && *PG(user_ini_filename)) {
PG 1199 sapi/cgi/cgi_main.c if (!env_document_root && PG(doc_root)) {
PG 1200 sapi/cgi/cgi_main.c env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));
PG 2281 sapi/cgi/cgi_main.c int slen = strlen(PG(arg_separator).input);
PG 2297 sapi/cgi/cgi_main.c strlcat(s, PG(arg_separator).input, len);
PG 2457 sapi/cgi/cgi_main.c PG(during_request_startup) = 0;
PG 984 sapi/cli/php_cli.c PG(during_request_startup) = 0;
PG 1182 sapi/cli/php_cli_server.c if (PG(last_error_message)) {
PG 1183 sapi/cli/php_cli_server.c switch (PG(last_error_type)) {
PG 1231 sapi/cli/php_cli_server.c spprintf(&error_buf, 0, " - %s in %s on line %d", PG(last_error_message), PG(last_error_file), PG(last_error_lineno));
PG 2093 sapi/cli/php_cli_server.c PG(during_request_startup) = 0;
PG 574 sapi/fpm/fpm/fpm_main.c if (PG(http_globals)[TRACK_VARS_ENV] &&
PG 575 sapi/fpm/fpm/fpm_main.c array_ptr != PG(http_globals)[TRACK_VARS_ENV] &&
PG 576 sapi/fpm/fpm/fpm_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_ENV]) == IS_ARRAY &&
PG 577 sapi/fpm/fpm/fpm_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_ENV])) > 0
PG 580 sapi/fpm/fpm/fpm_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_ENV];
PG 584 sapi/fpm/fpm/fpm_main.c } else if (PG(http_globals)[TRACK_VARS_SERVER] &&
PG 585 sapi/fpm/fpm/fpm_main.c array_ptr != PG(http_globals)[TRACK_VARS_SERVER] &&
PG 586 sapi/fpm/fpm/fpm_main.c Z_TYPE_P(PG(http_globals)[TRACK_VARS_SERVER]) == IS_ARRAY &&
PG 587 sapi/fpm/fpm/fpm_main.c zend_hash_num_elements(Z_ARRVAL_P(PG(http_globals)[TRACK_VARS_SERVER])) > 0
PG 590 sapi/fpm/fpm/fpm_main.c *array_ptr = *PG(http_globals)[TRACK_VARS_SERVER];
PG 600 sapi/fpm/fpm/fpm_main.c filter_arg = (array_ptr == PG(http_globals)[TRACK_VARS_ENV])?PARSE_ENV:PARSE_SERVER;
PG 749 sapi/fpm/fpm/fpm_main.c php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
PG 754 sapi/fpm/fpm/fpm_main.c php_parse_user_ini_file(path, PG(user_ini_filename), entry->user_config TSRMLS_CC);
PG 757 sapi/fpm/fpm/fpm_main.c entry->expires = request_time + PG(user_ini_cache_ttl);
PG 789 sapi/fpm/fpm/fpm_main.c (PG(user_ini_filename) && *PG(user_ini_filename))
PG 810 sapi/fpm/fpm/fpm_main.c if (PG(user_ini_filename) && *PG(user_ini_filename)) {
PG 1139 sapi/fpm/fpm/fpm_main.c if (!env_document_root && PG(doc_root)) {
PG 1140 sapi/fpm/fpm/fpm_main.c env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);
PG 101 sapi/fpm/fpm/fpm_php.c PG(disable_functions) = v;
PG 108 sapi/fpm/fpm/fpm_php.c PG(disable_classes) = v;
PG 222 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 264 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 358 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 400 sapi/roxen/roxen.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 51 sapi/webjames/webjames.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 52 sapi/webjames/webjames.c if (!PG(ignore_user_abort)) {
PG 74 sapi/webjames/webjames.c PG(connection_status) = PHP_CONNECTION_ABORTED;
PG 75 sapi/webjames/webjames.c if (!PG(ignore_user_abort)) {