cvs: php-src(PHP_5_2) /ext/pcre/tests bug44191.phpt
| From: | Felipe Pena | Date: | Thu, 21 Feb 2008 14:22:04 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/pcre/tests bug44191.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48685@lists.php.net to get a copy of this message | ||
felipe Thu Feb 21 14:22:04 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/pcre/tests bug44191.phpt
Log:
Fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/tests/bug44191.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/pcre/tests/bug44191.phpt
diff -u php-src/ext/pcre/tests/bug44191.phpt:1.1.2.1 php-src/ext/pcre/tests/bug44191.phpt:1.1.2.2
--- php-src/ext/pcre/tests/bug44191.phpt:1.1.2.1 Wed Feb 20 21:56:45 2008
+++ php-src/ext/pcre/tests/bug44191.phpt Thu Feb 21 14:22:04 2008
@@ -5,9 +5,11 @@
$array = range(1, 10);
-preg_grep('/asdf/', $array));
+preg_grep('/asdf/', $array);
-var_dump($array);
+while (list($x) = each($array)) {
+ print $x;
+}
?>
--EXPECT--