Annotation of embedaddon/php/ext/pcre/tests/multiline.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Multi-line match
                      3: --FILE--
                      4: <?php
                      5: 
                      6: var_dump(preg_match_all('/^.{2,3}$/', "aei\nou", $dummy));
                      7: var_dump(preg_match_all('/^.{2,3}$/', "aei\nou\n", $dummy));
                      8: var_dump(preg_match_all('/^.{2,3}$/m', "aei\nou", $dummy));
                      9: var_dump(preg_match_all('/^.{2,3}$/m', "aei\nou\n", $dummy));
                     10: 
                     11: echo "done\n";
                     12: ?>
                     13: --EXPECT--
                     14: int(0)
                     15: int(0)
                     16: int(2)
                     17: int(2)
                     18: done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>