aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/pear/text_languagedetect/data/build-unicode_blocks.php')
-rw-r--r--vendor/pear/text_languagedetect/data/build-unicode_blocks.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/pear/text_languagedetect/data/build-unicode_blocks.php b/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
new file mode 100644
index 000000000..afa75a501
--- /dev/null
+++ b/vendor/pear/text_languagedetect/data/build-unicode_blocks.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Generate the serialized unicode_blocks.dat file shipped with the package
+ */
+$unicode_blocks = include __DIR__ . '/unicode_blocks.php';
+file_put_contents(__DIR__ . '/unicode_blocks.dat', serialize($unicode_blocks));
+?> \ No newline at end of file