diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-21 10:29:36 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-21 10:29:36 +0200 |
| commit | 48e9181519c54877e3e5ea7cd8a7653a90402056 (patch) | |
| tree | 1f462265f9e30e2f68066c3da4eaded01b2444b6 /ext/pcre/tests | |
| parent | 64af12d13bc228dfacd953b93f83a009ed28e0b8 (diff) | |
| parent | d27dc5c028637edaf4d1511613cc33e7e164bd6e (diff) | |
| download | php-git-48e9181519c54877e3e5ea7cd8a7653a90402056.tar.gz | |
Merge branch 'PHP-7.4' into master
* PHP-7.4:
Fix #80118: Erroneous whitespace match with JIT only
Diffstat (limited to 'ext/pcre/tests')
| -rw-r--r-- | ext/pcre/tests/bug80118.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/pcre/tests/bug80118.phpt b/ext/pcre/tests/bug80118.phpt new file mode 100644 index 0000000000..5de66076e0 --- /dev/null +++ b/ext/pcre/tests/bug80118.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #80118 (Erroneous whitespace match with JIT only) +--FILE-- +<?php +preg_match('~[^\p{Han}\p{Z}]~u', ' ', $matches); +var_dump($matches); +?> +--EXPECT-- +array(0) { +} |
