cvs: php-src(PHP_5_2) /ext/standard/tests/array array_values_variation4.phpt
| From: | Dmitry Stogov | Date: | Fri, 15 Feb 2008 06:38:37 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/array array_values_variation4.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-48551@lists.php.net to get a copy of this message | ||
dmitry Fri Feb 15 06:38:37 2008 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/array array_values_variation4.phpt
Log:
Fixed test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/array_values_variation4.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/array_values_variation4.phpt
diff -u php-src/ext/standard/tests/array/array_values_variation4.phpt:1.1.2.2
php-src/ext/standard/tests/array/array_values_variation4.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/array_values_variation4.phpt:1.1.2.2 Thu Feb 14 14:21:48 2008
+++ php-src/ext/standard/tests/array/array_values_variation4.phpt Fri Feb 15 06:38:37 2008
@@ -29,6 +29,9 @@
echo "\n-- Array values of an infinitely recursive array --\n";
var_dump(array_values($input));
+// break cycle
+$input[0] = null;
+
echo "Done";
?>
@@ -112,4 +115,4 @@
}
}
}
-Done
\ No newline at end of file
+Done