1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

- Fix test cleanup

This commit is contained in:
Jani Taskinen
2009-04-26 01:20:03 +00:00
parent 7f97b581c2
commit ff9c528454
@@ -22,17 +22,19 @@ class A {
$ob = new A();
$fp = fopen("array_count_file", "w+");
$fp = fopen(dirname(__FILE__) . "/array_count_file", "w+");
$arrays = array ("bobk" => "bobv", "val", 6 => "val6", $fp, $ob);
var_dump (@array_count_values ($arrays));
echo "\n";
echo "Done";
fclose($fp);
echo "\nDone\n";
?>
--CLEAN--
<?php
unlink (dirname(__FILE__) . "/array_count_file");
?>
--EXPECTF--
*** Testing array_count_values() : parameter variations ***
array(3) {
@@ -44,4 +46,4 @@ array(3) {
int(1)
}
Done
Done