From: Pierre Joye Date: Tue, 13 Dec 2011 13:46:27 +0000 (+0000) Subject: - ignore notices here, not what we test (array to string conversion) X-Git-Tag: php-5.3.9RC4~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=603bfaaff4175a2c15bdb6f855ed6c0cf22db079;p=php - ignore notices here, not what we test (array to string conversion) --- 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';