]> granicus.if.org Git - php/commitdiff
- Fix test: register_globals is gone
authorJani Taskinen <jani@php.net>
Wed, 17 Nov 2010 15:00:51 +0000 (15:00 +0000)
committerJani Taskinen <jani@php.net>
Wed, 17 Nov 2010 15:00:51 +0000 (15:00 +0000)
tests/basic/bug46313.phpt

index 8dc713a11cf28bdc6eb571e5db1997335dc99023..6c1f65c935c2cdccd428b5cc8bad675090ab552c 100644 (file)
@@ -22,10 +22,6 @@ Content-Type: text/plain-file2
 --FILE--
 <?php
 var_dump($_FILES);
-var_dump($GLOBALS["o1\'file_name"]);
-var_dump($GLOBALS["o1\'file_name"] === $_FILES["o1\'file"]["name"]);
-var_dump($GLOBALS["o1\'file"]);
-var_dump($GLOBALS["o1\'file"] === $_FILES["o1\'file"]["tmp_name"]);
 ?>
 --EXPECTF--
 array(2) {
@@ -56,7 +52,3 @@ array(2) {
     int(1)
   }
 }
-string(12) "o1\'file.png"
-bool(true)
-string(%d) "%s"
-bool(true)