Re: cvs: php4 /ext/mbstring/tests 027.inc 027.phpt

From: Date: Mon, 21 Oct 2002 05:39:46 +0000
Subject: Re: cvs: php4 /ext/mbstring/tests 027.inc 027.phpt
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15090@lists.php.net to get a copy of this message
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 php-users@php.gr.jp (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-- > php-users@php.gr.jp #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? ]-

« previous php.cvs (#15090) next »