svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt trunk/ext/standard/tests/file/rename_variation13-win32.phpt
| From: | Pierre Joye | Date: | Tue, 13 Dec 2011 13:46:27 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt trunk/ext/standard/tests/file/rename_variation13-win32.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67273@lists.php.net to get a copy of this message | ||
pajoye Tue, 13 Dec 2011 13:46:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320939
Log:
- ignore notices here, not what we test (array to string conversion)
Changed paths:
U php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
U php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
U php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt
Modified: php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13
13:36:26 UTC (rev 320938)
+++ php/php-src/branches/PHP_5_3/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13
13:46:27 UTC (rev 320939)
@@ -36,6 +36,9 @@
);
+/* 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';
Modified: php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13
13:36:26 UTC (rev 320938)
+++ php/php-src/branches/PHP_5_4/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13
13:46:27 UTC (rev 320939)
@@ -36,6 +36,9 @@
);
+/* 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';
Modified: php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13 13:36:26 UTC
(rev 320938)
+++ php/php-src/trunk/ext/standard/tests/file/rename_variation13-win32.phpt 2011-12-13 13:46:27 UTC
(rev 320939)
@@ -36,6 +36,9 @@
);
+/* 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';