- ignore notices here, not what we test (array to string conversion)
authorPierre Joye <pajoye@php.net>
Tue, 13 Dec 2011 13:46:27 +0000 (13:46 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 13 Dec 2011 13:46:27 +0000 (13:46 +0000)
ext/standard/tests/file/rename_variation13-win32.phpt

index 2cd9dbdd949d456a4e7093b3e0993f45f1c71046..8e86d27a2d98e31731bee18ae14c2c78052c486f 100644 (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';