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)
  
  

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

Reply via email to