php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch 61684.diff for *Configuration Issues Bug #61684

Patch version 2012-04-11 11:14 UTC

Return to Bug #61684 | Download this patch
Patch Revisions:

Developer: ab@php.net

diff --git a/tests/basic/bug46313-win.phpt b/tests/basic/bug46313-win.phpt
index 87786d4..5ac831b 100644
--- a/tests/basic/bug46313-win.phpt
+++ b/tests/basic/bug46313-win.phpt
@@ -28,17 +28,19 @@ var_dump($GLOBALS["o1\'file"]);
 var_dump($GLOBALS["o1\'file"] === $_FILES["o1\'file"]["tmp_name"]);
 ?>
 --EXPECTF--
-Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
 Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
+X-Powered-By: PHP/5.3.12-dev%w
+Content-type: text/html%w
+%w
 array(2) {
   ["o1\'file"]=>
   array(5) {
     ["name"]=>
-    string(12) "o1"
+    string(8) "file.png"
     ["type"]=>
     string(16) "text/plain-file1"
     ["tmp_name"]=>
-    string(14) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
@@ -47,18 +49,18 @@ array(2) {
   ["o2\'file"]=>
   array(5) {
     ["name"]=>
-    string(13) "o2"
+    string(9) "file2.txt"
     ["type"]=>
     string(16) "text/plain-file2"
     ["tmp_name"]=>
-    string(14) "%s"
+    string(%d) "%s"
     ["error"]=>
     int(0)
     ["size"]=>
     int(1)
   }
 }
-string(12) "o1"
+string(8) "file.png"
 bool(true)
 string(%d) "%s"
 bool(true)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 02:01:30 2024 UTC