xref: /PHP-8.0/ext/pcre/tests/bug75207.phpt (revision a555cc0b)
1--TEST--
2CVE-2016-1283, see bug #75207
3--FILE--
4<?php
5preg_match("/š(?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/", "*b\dc");
6?>
7--EXPECTF--
8Warning: preg_match(): Compilation failed: unmatched closing parenthesis at offset %d in %s on line %d
9