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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user