summaryrefslogtreecommitdiffstats
path: root/event-ver.patch
blob: 3dc921211a05bc50da6821aa6db8ba34da4d80f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From 1c991263923d22dba109af22ba3b51dd46d90ccb Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Mon, 7 Oct 2013 09:21:43 +0200
Subject: [PATCH] report LIBEVENT_VERSION in phpinfo()

---
 php_event.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/php_event.c b/php_event.c
index f440734..8885781 100644
--- a/php_event.c
+++ b/php_event.c
@@ -1352,7 +1352,8 @@ PHP_MINFO_FUNCTION(event)
 	php_info_print_table_row(2, "Thread safety support", "disabled");
 #endif
 
-	php_info_print_table_row(2, "Version", PHP_EVENT_VERSION);
+	php_info_print_table_row(2, "Extension version", PHP_EVENT_VERSION);
+	php_info_print_table_row(2, "libevent2 headers version", LIBEVENT_VERSION);
 	php_info_print_table_end();
 }
 /* }}} */
-- 
1.8.2.3