summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-06-02 06:21:47 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-06-02 13:44:41 +0200
commit07257a59d0749c5fa864675790f43fee71d6da6c (patch)
treef706bb975ab0afd89136db77229caf58f5f8cd0d
parentc71433a7740b8170176ec16be1931d6ca5c26d59 (diff)
downloadphp-git-07257a59d0749c5fa864675790f43fee71d6da6c.tar.gz
Normalize SimpleXML phpinfo output
-rw-r--r--.gitattributes1
-rw-r--r--ext/simplexml/simplexml.c7
2 files changed, 2 insertions, 6 deletions
diff --git a/.gitattributes b/.gitattributes
index 0e7c5602c2..846891cc89 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,4 @@
ext/mysqlnd/mysqlnd.h ident
-ext/simplexml/simplexml.c ident
ext/iconv/php_iconv.h ident
ext/ext_skel.php ident
ext/phar/phar/pharcommand.inc ident
diff --git a/ext/simplexml/simplexml.c b/ext/simplexml/simplexml.c
index f346d5af13..01eadf98d0 100644
--- a/ext/simplexml/simplexml.c
+++ b/ext/simplexml/simplexml.c
@@ -18,8 +18,6 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -2711,7 +2709,7 @@ PHP_MINIT_FUNCTION(simplexml)
sxe_object_handlers.get_debug_info = sxe_get_debug_info;
sxe_object_handlers.get_closure = NULL;
sxe_object_handlers.get_gc = sxe_get_gc;
-
+
sxe_class_entry->serialize = zend_class_serialize_deny;
sxe_class_entry->unserialize = zend_class_unserialize_deny;
@@ -2737,8 +2735,7 @@ PHP_MSHUTDOWN_FUNCTION(simplexml)
PHP_MINFO_FUNCTION(simplexml)
{
php_info_print_table_start();
- php_info_print_table_header(2, "Simplexml support", "enabled");
- php_info_print_table_row(2, "Revision", "$Id$");
+ php_info_print_table_row(2, "SimpleXML support", "enabled");
php_info_print_table_row(2, "Schema support",
#ifdef LIBXML_SCHEMAS_ENABLED
"enabled");