1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00

- ignore notices here, not what we test (array to string conversion)

This commit is contained in:
Pierre Joye
2011-12-13 13:46:27 +00:00
parent 3a68270fcf
commit 603bfaaff4

View File

@@ -36,6 +36,9 @@ $names_arr = array(
);
/* disable notice so we don't get the array to string conversion notice for "$name" where $name = array() */
error_reporting(E_ALL ^ E_NOTICE);
echo "*** Testing rename() with obscure files ***\n";
$file_path = dirname(__FILE__)."/renameVar13";
$aFile = $file_path.'/afile.tmp';