Lines Matching refs:PG

106 		PG(syslog_facility) = LOG_AUTH;  in PHP_INI_MH()
112 PG(syslog_facility) = LOG_AUTHPRIV; in PHP_INI_MH()
118 PG(syslog_facility) = LOG_CRON; in PHP_INI_MH()
124 PG(syslog_facility) = LOG_DAEMON; in PHP_INI_MH()
130 PG(syslog_facility) = LOG_FTP; in PHP_INI_MH()
136 PG(syslog_facility) = LOG_KERN; in PHP_INI_MH()
142 PG(syslog_facility) = LOG_LPR; in PHP_INI_MH()
148 PG(syslog_facility) = LOG_MAIL; in PHP_INI_MH()
154 PG(syslog_facility) = LOG_INTERNAL_MARK; in PHP_INI_MH()
160 PG(syslog_facility) = LOG_NEWS; in PHP_INI_MH()
166 PG(syslog_facility) = LOG_SYSLOG; in PHP_INI_MH()
172 PG(syslog_facility) = LOG_USER; in PHP_INI_MH()
178 PG(syslog_facility) = LOG_UUCP; in PHP_INI_MH()
184 PG(syslog_facility) = LOG_LOCAL0; in PHP_INI_MH()
190 PG(syslog_facility) = LOG_LOCAL1; in PHP_INI_MH()
196 PG(syslog_facility) = LOG_LOCAL2; in PHP_INI_MH()
202 PG(syslog_facility) = LOG_LOCAL3; in PHP_INI_MH()
208 PG(syslog_facility) = LOG_LOCAL4; in PHP_INI_MH()
214 PG(syslog_facility) = LOG_LOCAL5; in PHP_INI_MH()
220 PG(syslog_facility) = LOG_LOCAL6; in PHP_INI_MH()
226 PG(syslog_facility) = LOG_LOCAL7; in PHP_INI_MH()
257 PG(serialize_precision) = i; in PHP_INI_MH()
284 PG(memory_limit) = value; in PHP_INI_MH()
295 PG(syslog_filter) = PHP_SYSLOG_FILTER_ALL; in PHP_INI_MH()
299 PG(syslog_filter) = PHP_SYSLOG_FILTER_NO_CTRL; in PHP_INI_MH()
303 PG(syslog_filter) = PHP_SYSLOG_FILTER_ASCII; in PHP_INI_MH()
307 PG(syslog_filter) = PHP_SYSLOG_FILTER_RAW; in PHP_INI_MH()
324 e = PG(disable_classes) = strdup(INI_STR("disable_classes")); in php_disable_classes()
395 PG(php_binary) = binary_location; in php_binary_init()
455 PG(display_errors) = php_get_display_errors_mode(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
510 if (PG(internal_encoding) && PG(internal_encoding)[0]) { in php_get_internal_encoding()
511 return PG(internal_encoding); in php_get_internal_encoding()
519 if (PG(input_encoding) && PG(input_encoding)[0]) { in php_get_input_encoding()
520 return PG(input_encoding); in php_get_input_encoding()
528 if (PG(output_encoding) && PG(output_encoding)[0]) { in php_get_output_encoding()
529 return PG(output_encoding); in php_get_output_encoding()
622 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
636 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
808 if (PG(in_error_log)) { in php_log_err_with_severity()
812 PG(in_error_log) = 1; in php_log_err_with_severity()
815 if (PG(error_log) != NULL) { in php_log_err_with_severity()
817 if (!strcmp(PG(error_log), "syslog")) { in php_log_err_with_severity()
819 PG(in_error_log) = 0; in php_log_err_with_severity()
823 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, 0644); in php_log_err_with_severity()
851 PG(in_error_log) = 0; in php_log_err_with_severity()
861 PG(in_error_log) = 0; in php_log_err_with_severity()
946 if (PG(html_errors)) { in php_verror()
1011 if (PG(html_errors)) { in php_verror()
1044 if (docref && is_function && PG(html_errors) && strlen(PG(docref_root))) { in php_verror()
1050 docref_root = PG(docref_root); in php_verror()
1067 if (PG(docref_ext) && strlen(PG(docref_ext))) { in php_verror()
1068 spprintf(&docref_buf, 0, "%s%s", ref, PG(docref_ext)); in php_verror()
1074 if (PG(html_errors)) { in php_verror()
1175 if (PG(last_error_message)) { in clear_last_error()
1176 zend_string_release(PG(last_error_message)); in clear_last_error()
1177 PG(last_error_message) = NULL; in clear_last_error()
1179 if (PG(last_error_file)) { in clear_last_error()
1180 free(PG(last_error_file)); in clear_last_error()
1181 PG(last_error_file) = NULL; in clear_last_error()
1189 if (PG(report_zend_debug)) { in report_zend_debug_error_notify_cb()
1218 if (PG(ignore_repeated_errors) && PG(last_error_message)) { in php_error_cb()
1221 if (!zend_string_equals(PG(last_error_message), message) in php_error_cb()
1222 || (!PG(ignore_repeated_source) in php_error_cb()
1223 && ((PG(last_error_lineno) != (int)error_lineno) in php_error_cb()
1224 || strcmp(PG(last_error_file), error_filename)))) { in php_error_cb()
1261 PG(last_error_type) = type; in php_error_cb()
1262 PG(last_error_message) = zend_string_copy(message); in php_error_cb()
1263 PG(last_error_file) = strdup(error_filename); in php_error_cb()
1264 PG(last_error_lineno) = error_lineno; in php_error_cb()
1269 && (PG(log_errors) || PG(display_errors) || (!module_initialized))) { in php_error_cb()
1315 if (PG(log_errors) in php_error_cb()
1316 || (!module_initialized && (!PG(display_startup_errors) || !PG(display_errors)))) { in php_error_cb()
1328 …if (PG(display_errors) && ((module_initialized && !PG(during_request_startup)) || (PG(display_star… in php_error_cb()
1329 if (PG(xmlrpc_errors)) { in php_error_cb()
1330 …32 "</string></value></member></struct></value></fault></methodResponse>", PG(xmlrpc_error_number)… in php_error_cb()
1335 if (PG(html_errors)) { in php_error_cb()
1346 PG(display_errors) == PHP_DISPLAY_ERRORS_STDERR in php_error_cb()
1375 if (!PG(display_errors) && in php_error_cb()
1388 zend_set_memory_limit(PG(memory_limit)); in php_error_cb()
1556 return php_resolve_path(filename, filename_len, PG(include_path)); in php_resolve_path_for_zend()
1571 if (PG(php_sys_temp_dir)) { in php_free_request_globals()
1572 efree(PG(php_sys_temp_dir)); in php_free_request_globals()
1573 PG(php_sys_temp_dir) = NULL; in php_free_request_globals()
1583 … inclusion (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); in php_message_handler_for_zend()
1586 …uired '%s' (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); in php_message_handler_for_zend()
1675 PG(connection_status) |= PHP_CONNECTION_TIMEOUT; in php_on_timeout()
1707 PG(com_initialized) = 0; in php_request_startup()
1715 PG(in_error_log) = 0; in php_request_startup()
1716 PG(during_request_startup) = 1; in php_request_startup()
1721 PG(modules_activated) = 0; in php_request_startup()
1722 PG(header_is_being_sent) = 0; in php_request_startup()
1723 PG(connection_status) = PHP_CONNECTION_NORMAL; in php_request_startup()
1724 PG(in_user_include) = 0; in php_request_startup()
1733 if (PG(max_input_time) == -1) { in php_request_startup()
1736 zend_set_timeout(PG(max_input_time), 1); in php_request_startup()
1740 if (PG(open_basedir) && *PG(open_basedir)) { in php_request_startup()
1744 if (PG(expose_php)) { in php_request_startup()
1748 if (PG(output_handler) && PG(output_handler)[0]) { in php_request_startup()
1751 ZVAL_STRING(&oh, PG(output_handler)); in php_request_startup()
1754 } else if (PG(output_buffering)) { in php_request_startup()
1755 …php_output_start_user(NULL, PG(output_buffering) > 1 ? PG(output_buffering) : 0, PHP_OUTPUT_HANDLE… in php_request_startup()
1756 } else if (PG(implicit_flush)) { in php_request_startup()
1765 PG(modules_activated)=1; in php_request_startup()
1783 report_memleaks = PG(report_memleaks); in php_request_shutdown()
1798 if (PG(modules_activated)) { in php_request_shutdown()
1811 if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR && in php_request_shutdown()
1812 (size_t)PG(memory_limit) < zend_memory_usage(1) in php_request_shutdown()
1830 if (PG(modules_activated)) { in php_request_shutdown()
1840 if (PG(modules_activated)) { in php_request_shutdown()
1849 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown()
1887 zend_set_memory_limit(PG(memory_limit)); in php_request_shutdown()
1895 if (PG(com_initialized)) { in php_request_shutdown()
1897 PG(com_initialized) = 0; in php_request_shutdown()
1911 if (!PG(com_initialized)) { in php_com_initialize()
1913 PG(com_initialized) = 1; in php_com_initialize()
2005 if(PG(windows_show_crt_warning)) { in dummy_invalid_parameter_handler()
2186 if (PG(php_binary)) { in php_module_startup()
2187 …REGISTER_MAIN_STRINGL_CONSTANT("PHP_BINARY", PG(php_binary), strlen(PG(php_binary)), CONST_PERSIST… in php_module_startup()
2223 if (PG(open_basedir) && *PG(open_basedir)) { in php_module_startup()
2227 PG(have_called_openlog) = 0; in php_module_startup()
2500 PG(during_request_startup) = 0; in php_execute_script()
2526 if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) { in php_execute_script()
2527 zend_stream_init_filename(&prepend_file, PG(auto_prepend_file)); in php_execute_script()
2533 if (PG(auto_append_file) && PG(auto_append_file)[0]) { in php_execute_script()
2534 zend_stream_init_filename(&append_file, PG(auto_append_file)); in php_execute_script()
2539 if (PG(max_input_time) != -1) { in php_execute_script()
2588 PG(during_request_startup) = 0; in php_execute_simple_script()
2610 PG(connection_status) = PHP_CONNECTION_ABORTED; in php_handle_aborted_connection()
2613 if (!PG(ignore_user_abort)) { in php_handle_aborted_connection()