On Mon, 21 Oct 2002, Moriyoshi Koizumi wrote:
> moriyoshi Sun Oct 20 22:27:51 2002 EDT
>
> Added files:
> /php4/ext/mbstring/tests 027.inc 027.phpt
> Log:
> Added a new test case to confirm the inconsistent regex behaviour reported
> on [EMAIL PROTECTED] (10830)
Why do you use an include file for this? This makes maintaining it
harder, please include it in the test script itself.
Derick
>
>
>
> Index: php4/ext/mbstring/tests/027.inc
> +++ php4/ext/mbstring/tests/027.inc
> <?php
> $a="aaa\n<>";
>
> var_dump( mb_ereg("^[^><]+$",$a) );
> var_dump( ereg("^[^><]+$",$a) );
> ?>
>
> Index: php4/ext/mbstring/tests/027.phpt
> +++ php4/ext/mbstring/tests/027.phpt
> --TEST--
> [EMAIL PROTECTED] #10830
> --SKIPIF--
> <?php include('skipif.inc'); ?>
> function_exists('mb_ereg') or die("SKIP");
> --POST--
> --GET--
> --FILE--
> <?php include('027.inc'); ?>
> --EXPECT--
> bool(false)
> bool(false)
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php