cvs: php-src(PHP_5_3) /ext/standard/tests/array array_map_variation2.phpt
| From: | Dmitry Stogov | Date: | Fri, 21 Dec 2007 09:40:27 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard/tests/array array_map_variation2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47572@lists.php.net to get a copy of this message | ||
dmitry Fri Dec 21 09:40:27 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard/tests/array array_map_variation2.phpt
Log:
Fixed test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_map_variation2.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_map_variation2.phpt
diff -u php-src/ext/standard/tests/array/array_map_variation2.phpt:1.1.2.2
php-src/ext/standard/tests/array/array_map_variation2.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/array_map_variation2.phpt:1.1.2.2 Thu Dec 20 11:18:34 2007
+++ php-src/ext/standard/tests/array/array_map_variation2.phpt Fri Dec 21 09:40:27 2007
@@ -19,6 +19,9 @@
var_dump( array_map(null, $arr));
var_dump( array_map(null, $arr, $arr));
+// break cycles
+$arr[0] = null;
+$arr[1] = null;
echo "Done";
?>
@@ -270,4 +273,4 @@
}
}
}
-Done
\ No newline at end of file
+Done