Skip to content

Commit 184ca54

Browse files
committed
Revert phpinfo change
1 parent 3a28c62 commit 184ca54

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

ext/standard/info.c

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,6 @@ static zend_always_inline int php_info_print(const char *str) /* {{{ */
8686
}
8787
/* }}} */
8888

89-
static ZEND_COLD void php_info_print_error_notify_callback(zend_error_notify_callback *callback) /* {{{ */
90-
{
91-
php_info_printf("%s ", callback->name);
92-
}
93-
/* }}} */
94-
95-
static ZEND_COLD void php_info_print_error_notify_callbacks() /* {{{ */
96-
{
97-
if (!sapi_module.phpinfo_as_text) {
98-
php_info_printf("<tr><td class=\"e\">Registered Error Notification Callbacks</td><td class=\"v\">");
99-
} else {
100-
php_info_printf("\nRegistered Error Notification Callbacks => ");
101-
}
102-
103-
zend_error_notify_callbacks_apply((llist_apply_func_t) php_info_print_error_notify_callback);
104-
105-
if (!sapi_module.phpinfo_as_text) {
106-
php_info_print("</td></tr>\n");
107-
}
108-
}
109-
/* }}} */
110-
11189
static ZEND_COLD void php_info_print_stream_hash(const char *name, HashTable *ht) /* {{{ */
11290
{
11391
zend_string *key;
@@ -906,8 +884,6 @@ PHPAPI ZEND_COLD void php_print_info(int flag)
906884
php_info_print_stream_hash("Stream Socket Transports", php_stream_xport_get_hash());
907885
php_info_print_stream_hash("Stream Filters", php_get_stream_filters_hash());
908886

909-
php_info_print_error_notify_callbacks();
910-
911887
php_info_print_table_end();
912888

913889
/* Zend Engine */

0 commit comments

Comments
 (0)