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()
253 PG(serialize_precision) = i; in PHP_INI_MH()
280 PG(memory_limit) = value; in PHP_INI_MH()
291 PG(syslog_filter) = PHP_SYSLOG_FILTER_ALL; in PHP_INI_MH()
295 PG(syslog_filter) = PHP_SYSLOG_FILTER_NO_CTRL; in PHP_INI_MH()
299 PG(syslog_filter) = PHP_SYSLOG_FILTER_ASCII; in PHP_INI_MH()
303 PG(syslog_filter) = PHP_SYSLOG_FILTER_RAW; in PHP_INI_MH()
320 e = PG(disable_classes) = strdup(INI_STR("disable_classes")); in php_disable_classes()
391 PG(php_binary) = binary_location; in php_binary_init()
454 PG(display_errors) = php_get_display_errors_mode(new_value); in PHP_INI_MH()
505 if (PG(internal_encoding) && PG(internal_encoding)[0]) { in php_get_internal_encoding()
506 return PG(internal_encoding); in php_get_internal_encoding()
514 if (PG(input_encoding) && PG(input_encoding)[0]) { in php_get_input_encoding()
515 return PG(input_encoding); in php_get_input_encoding()
523 if (PG(output_encoding) && PG(output_encoding)[0]) { in php_get_output_encoding()
524 return PG(output_encoding); in php_get_output_encoding()
618 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
632 if (PG(open_basedir) && php_check_open_basedir(ZSTR_VAL(new_value))) { in PHP_INI_MH()
805 if (PG(in_error_log)) { in php_log_err_with_severity()
809 PG(in_error_log) = 1; in php_log_err_with_severity()
812 if (PG(error_log) != NULL) { in php_log_err_with_severity()
816 if (!strcmp(PG(error_log), "syslog")) { in php_log_err_with_severity()
818 PG(in_error_log) = 0; in php_log_err_with_severity()
825 if (PG(error_log_mode) > 0 && PG(error_log_mode) <= 0777) { in php_log_err_with_severity()
826 error_log_mode = PG(error_log_mode); in php_log_err_with_severity()
829 fd = VCWD_OPEN_MODE(PG(error_log), O_CREAT | O_APPEND | O_WRONLY, error_log_mode); in php_log_err_with_severity()
857 PG(in_error_log) = 0; in php_log_err_with_severity()
867 PG(in_error_log) = 0; in php_log_err_with_severity()
952 if (PG(html_errors)) { in php_verror()
970 } else if (PG(during_request_startup)) { in php_verror()
1018 if (PG(html_errors)) { in php_verror()
1052 if (docref && is_function && PG(html_errors) && strlen(PG(docref_root))) { in php_verror()
1058 docref_root = PG(docref_root); in php_verror()
1075 if (PG(docref_ext) && strlen(PG(docref_ext))) { in php_verror()
1076 spprintf(&docref_buf, 0, "%s%s", ref, PG(docref_ext)); in php_verror()
1082 if (PG(html_errors)) { in php_verror()
1183 if (PG(last_error_message)) { in clear_last_error()
1184 zend_string_release(PG(last_error_message)); in clear_last_error()
1185 PG(last_error_message) = NULL; in clear_last_error()
1187 if (PG(last_error_file)) { in clear_last_error()
1188 zend_string_release(PG(last_error_file)); in clear_last_error()
1189 PG(last_error_file) = NULL; in clear_last_error()
1197 if (PG(report_zend_debug)) { in report_zend_debug_error_notify_cb()
1226 if (PG(ignore_repeated_errors) && PG(last_error_message)) { in php_error_cb()
1229 if (!zend_string_equals(PG(last_error_message), message) in php_error_cb()
1230 || (!PG(ignore_repeated_source) in php_error_cb()
1231 && ((PG(last_error_lineno) != (int)error_lineno) in php_error_cb()
1232 || !zend_string_equals(PG(last_error_file), error_filename)))) { in php_error_cb()
1269 PG(last_error_type) = type; in php_error_cb()
1270 PG(last_error_message) = zend_string_copy(message); in php_error_cb()
1271 PG(last_error_file) = zend_string_copy(error_filename); in php_error_cb()
1272 PG(last_error_lineno) = error_lineno; in php_error_cb()
1281 && (PG(log_errors) || PG(display_errors) || (!module_initialized))) { in php_error_cb()
1327 if (PG(log_errors) in php_error_cb()
1328 || (!module_initialized && (!PG(display_startup_errors) || !PG(display_errors)))) { in php_error_cb()
1340 …if (PG(display_errors) && ((module_initialized && !PG(during_request_startup)) || (PG(display_star… in php_error_cb()
1341 if (PG(xmlrpc_errors)) { in php_error_cb()
1342 …32 "</string></value></member></struct></value></fault></methodResponse>", PG(xmlrpc_error_number)… in php_error_cb()
1347 if (PG(html_errors)) { in php_error_cb()
1360 PG(display_errors) == PHP_DISPLAY_ERRORS_STDERR in php_error_cb()
1393 if (!PG(display_errors) && in php_error_cb()
1406 zend_set_memory_limit(PG(memory_limit)); in php_error_cb()
1601 return php_resolve_path(ZSTR_VAL(filename), ZSTR_LEN(filename), PG(include_path)); in php_resolve_path_for_zend()
1616 if (PG(php_sys_temp_dir)) { in php_free_request_globals()
1617 efree(PG(php_sys_temp_dir)); in php_free_request_globals()
1618 PG(php_sys_temp_dir) = NULL; in php_free_request_globals()
1632 …g '%s' for inclusion (include_path='%s')", php_strip_url_passwd(tmp), STR_PRINT(PG(include_path))); in php_message_handler_for_zend()
1638 …pening required '%s' (include_path='%s')", php_strip_url_passwd(tmp), STR_PRINT(PG(include_path))); in php_message_handler_for_zend()
1732 PG(connection_status) |= PHP_CONNECTION_TIMEOUT; in php_on_timeout()
1764 PG(com_initialized) = 0; in php_request_startup()
1772 PG(in_error_log) = 0; in php_request_startup()
1773 PG(during_request_startup) = 1; in php_request_startup()
1778 PG(modules_activated) = 0; in php_request_startup()
1779 PG(header_is_being_sent) = 0; in php_request_startup()
1780 PG(connection_status) = PHP_CONNECTION_NORMAL; in php_request_startup()
1781 PG(in_user_include) = 0; in php_request_startup()
1790 if (PG(max_input_time) == -1) { in php_request_startup()
1793 zend_set_timeout(PG(max_input_time), 1); in php_request_startup()
1797 if (PG(open_basedir) && *PG(open_basedir)) { in php_request_startup()
1801 if (PG(expose_php) && !SG(headers_sent)) { in php_request_startup()
1805 if (PG(output_handler) && PG(output_handler)[0]) { in php_request_startup()
1808 ZVAL_STRING(&oh, PG(output_handler)); in php_request_startup()
1811 } else if (PG(output_buffering)) { in php_request_startup()
1812 …php_output_start_user(NULL, PG(output_buffering) > 1 ? PG(output_buffering) : 0, PHP_OUTPUT_HANDLE… in php_request_startup()
1813 } else if (PG(implicit_flush)) { in php_request_startup()
1822 PG(modules_activated)=1; in php_request_startup()
1840 report_memleaks = PG(report_memleaks); in php_request_shutdown()
1855 if (PG(modules_activated)) { in php_request_shutdown()
1875 if (PG(modules_activated)) { in php_request_shutdown()
1885 if (PG(modules_activated)) { in php_request_shutdown()
1894 zval_ptr_dtor(&PG(http_globals)[i]); in php_request_shutdown()
1933 zend_set_memory_limit(PG(memory_limit)); in php_request_shutdown()
1941 if (PG(com_initialized)) { in php_request_shutdown()
1943 PG(com_initialized) = 0; in php_request_shutdown()
1957 if (!PG(com_initialized)) { in php_com_initialize()
1959 PG(com_initialized) = 1; in php_com_initialize()
2033 if(PG(windows_show_crt_warning)) { in dummy_invalid_parameter_handler()
2216 if (PG(php_binary)) { in php_module_startup()
2217 …REGISTER_MAIN_STRINGL_CONSTANT("PHP_BINARY", PG(php_binary), strlen(PG(php_binary)), CONST_PERSIST… in php_module_startup()
2255 if (PG(open_basedir) && *PG(open_basedir)) { in php_module_startup()
2259 PG(have_called_openlog) = 0; in php_module_startup()
2536 PG(during_request_startup) = 0; in php_execute_script()
2562 if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) { in php_execute_script()
2563 zend_stream_init_filename(&prepend_file, PG(auto_prepend_file)); in php_execute_script()
2567 if (PG(auto_append_file) && PG(auto_append_file)[0]) { in php_execute_script()
2568 zend_stream_init_filename(&append_file, PG(auto_append_file)); in php_execute_script()
2571 if (PG(max_input_time) != -1) { in php_execute_script()
2628 PG(during_request_startup) = 0; in php_execute_simple_script()
2650 PG(connection_status) = PHP_CONNECTION_ABORTED; in php_handle_aborted_connection()
2653 if (!PG(ignore_user_abort)) { in php_handle_aborted_connection()