From 603bfaaff4175a2c15bdb6f855ed6c0cf22db079 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 13 Dec 2011 13:46:27 +0000 Subject: [PATCH] - ignore notices here, not what we test (array to string conversion) --- ext/standard/tests/file/rename_variation13-win32.phpt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/standard/tests/file/rename_variation13-win32.phpt b/ext/standard/tests/file/rename_variation13-win32.phpt index 2cd9dbdd94..8e86d27a2d 100644 --- a/ext/standard/tests/file/rename_variation13-win32.phpt +++ b/ext/standard/tests/file/rename_variation13-win32.phpt @@ -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'; -- 2.50.1