Annotation of embedaddon/php/ext/ereg/tests/005.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Test Regular expression register support in ereg
                      3: --FILE--
                      4: <?php $a="This is a nice and simple string";
                      5:   echo ereg(".*(is).*(is).*",$a,$registers);
                      6:   echo "\n";
                      7:   echo $registers[0];
                      8:   echo "\n";
                      9:   echo $registers[1];
                     10:   echo "\n";
                     11:   echo $registers[2];
                     12:   echo "\n";
                     13: ?>
                     14: --EXPECTF--
                     15: Deprecated: Function ereg() is deprecated in %s on line %d
                     16: 32
                     17: This is a nice and simple string
                     18: is
                     19: is

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