xref: /PHP-8.3/ext/pcre/tests/bug81424a.phpt (revision 788a701e)
1--TEST--
2Bug #81424 (PCRE2 10.35 JIT performance regression)
3--DESCRIPTION--
4We're testing against the functional regression which has been introduced by
5fixing the performance regression.
6--FILE--
7<?php
8var_dump(
9    preg_match('/(?P<size>\d+)m|M/', "4M", $m),
10    $m
11);
12?>
13--EXPECT--
14int(1)
15array(1) {
16  [0]=>
17  string(1) "M"
18}
19