xref: /PHP-8.2/ext/pcre/tests/bug78338.phpt (revision 08aafbe9)
1--TEST--
2Bug #78338 (Array cross-border reading in PCRE)
3--INI--
4pcre.jit=1
5--FILE--
6<?php
7$string = hex2bin('2f5c583f3d3f223f3536ff3636ffffffff36a8a8a83636367a7a7a7a3d2aff2f0a');
8preg_match($string, $string);
9echo "DONE\n";
10?>
11--EXPECT--
12DONE
13