summaryrefslogtreecommitdiff
path: root/ext/intl/tests/bug78804.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/tests/bug78804.phpt')
-rw-r--r--ext/intl/tests/bug78804.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/intl/tests/bug78804.phpt b/ext/intl/tests/bug78804.phpt
new file mode 100644
index 0000000000..b0d58ec430
--- /dev/null
+++ b/ext/intl/tests/bug78804.phpt
@@ -0,0 +1,13 @@
+--TEST--
+Bug #78804: Segmentation fault in Locale::filterMatches
+--FILE--
+<?php
+
+if (Locale::filterMatches('en-US', 'und', true)) {
+ echo 'Matches';
+} else {
+ echo 'Not matches';
+}
+?>
+--EXPECT--
+Not matches \ No newline at end of file