1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00
Files
archived-php-src/ext/pcre/tests/bug76909.phpt
T
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

27 lines
443 B
PHP

--TEST--
Bug #76909 preg_match difference between 7.3 and < 7.3
--SKIPIF--
<?php
if(!ini_get("pcre.jit")) {
echo "skip JIT is disabled";
}
?>
--FILE--
<?php
$data = " domain.com";
$reg0 = "/^[\x{0100}-\x{017f}]{1,63}$/iu";
$reg1 = "/(*NO_JIT)^[\x{0100}-\x{017f}]{1,63}$/iu";
$n0 = preg_match($reg0, $data, $m0);
$n1 = preg_match($reg1, $data, $m1);
var_dump($n0, $n1, count($m0), count($m1));
?>
--EXPECT--
int(0)
int(0)
int(0)
int(0)