aboutsummaryrefslogtreecommitdiffstats
path: root/include/php_compat
diff options
context:
space:
mode:
Diffstat (limited to 'include/php_compat')
-rw-r--r--include/php_compat/gzopen.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/php_compat/gzopen.php b/include/php_compat/gzopen.php
new file mode 100644
index 000000000..4e9fe332d
--- /dev/null
+++ b/include/php_compat/gzopen.php
@@ -0,0 +1,9 @@
+<?php
+if (!function_exists('gzopen') && function_exists('gzopen64'))
+{
+ function gzopen(string $filename , string $mode, int $use_include_path = null)
+ {
+ return gzopen64($filename, $mode, $use_include_path);
+ }
+}
+?> \ No newline at end of file