summaryrefslogtreecommitdiffstats
path: root/3.patch
blob: f5726a899b93880ac4c1db076096bb1a7a1bf488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 05b5abd244759ad8cd18d0a7d0b17109ace3800f Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 27 Oct 2022 16:10:20 +0200
Subject: [PATCH] add extension and library version

---
 rnp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rnp.c b/rnp.c
index 5b58a0b..3c89a7a 100644
--- a/rnp.c
+++ b/rnp.c
@@ -2190,6 +2190,8 @@ PHP_MINFO_FUNCTION(rnp)
 {
 	php_info_print_table_start();
 	php_info_print_table_header(2, "rnp support", "enabled");
+	php_info_print_table_row(2, "rnp extension version", PHP_RNP_VERSION);
+	php_info_print_table_row(2, "rnp library version", rnp_version_string());
 	php_info_print_table_end();
 }
 /* }}} */