1--TEST--
2testing /n modifier in preg_match()
3--FILE--
4<?php
5
6preg_match('/.(.)./n', 'abc', $m);
7var_dump($m);
8
9preg_match('/.(?P<test>.)./n', 'abc', $m);
10var_dump($m);
11
12?>
13--EXPECT--
14array(1) {
15  [0]=>
16  string(3) "abc"
17}
18array(3) {
19  [0]=>
20  string(3) "abc"
21  ["test"]=>
22  string(1) "b"
23  [1]=>
24  string(1) "b"
25}
26