cvs: php4(PHP_4_3) /ext/pcre/tests .cvsignore bug20528.phpt
| From: | Ilia Alshanetsky | Date: | Fri, 22 Nov 2002 00:09:30 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/pcre/tests .cvsignore bug20528.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16533@lists.php.net to get a copy of this message | ||
iliaa Thu Nov 21 19:09:30 2002 EDT
Added files: (Branch: PHP_4_3)
/php4/ext/pcre/tests .cvsignore bug20528.phpt
Log:
MFH
Index: php4/ext/pcre/tests/.cvsignore
+++ php4/ext/pcre/tests/.cvsignore
phpt.*
*.diff
*.log
*.exp
*.out
*.php
Index: php4/ext/pcre/tests/bug20528.phpt
+++ php4/ext/pcre/tests/bug20528.phpt
--TEST--
preg_split() bug #20528
--SKIPIF--
<?php
if (!extension_loaded("pcre")) {
die("skip pcre extension is not available");
}
?>
--FILE--
<?php
$data = '(#11/19/2002#)';
var_dump(preg_split('/\b/', $data));
?>
--EXPECT--
array(7) {
[0]=>
string(2) "(#"
[1]=>
string(2) "11"
[2]=>
string(1) "/"
[3]=>
string(2) "19"
[4]=>
string(1) "/"
[5]=>
string(4) "2002"
[6]=>
string(2) "#)"
}