From e03402caf566e2c72671b56805e6ad48971eefa6 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 2 Dec 2024 17:13:15 +0100 Subject: [PATCH] Add support for md4c (#1026) --- data/supported-extensions | 1 + scripts/tests/md4c | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100755 scripts/tests/md4c diff --git a/data/supported-extensions b/data/supported-extensions index 1e5d9c6..fc1aca4 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -52,6 +52,7 @@ lzf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 mailparse 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 maxminddb 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 mcrypt 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 +md4c 8.0 8.1 8.2 8.3 8.4 memcache 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 memcached 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 memprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 diff --git a/scripts/tests/md4c b/scripts/tests/md4c new file mode 100755 index 0000000..42b45cd --- /dev/null +++ b/scripts/tests/md4c @@ -0,0 +1,27 @@ +#!/usr/bin/env php +Test\n"; +$actual = md4c_toHtml($input); + +if ($actual !== $expected) { + fwrite( + STDERR, + <<