Annotation of embedaddon/php/ext/ereg/tests/004.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: simple ereg test
        !             3: --FILE--
        !             4: <?php $a="This is a nice and simple string";
        !             5:   if (ereg(".*nice and simple.*",$a)) {
        !             6:     echo "ok\n";
        !             7:   }
        !             8:   if (!ereg(".*doesn't exist.*",$a)) {
        !             9:     echo "ok\n";
        !            10:   }
        !            11: ?>
        !            12: --EXPECTF--
        !            13: Deprecated: Function ereg() is deprecated in %s on line %d
        !            14: ok
        !            15: 
        !            16: Deprecated: Function ereg() is deprecated in %s on line %d
        !            17: ok

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