fix tests

This commit is contained in:
Antony Dovgal 2010-04-29 12:48:06 +00:00
parent eacfa022b1
commit c23d902e0b
5 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
--TEST--
unset() CV 7 (indirect unset() of global variable in import_request_variables())
--SKIPIF--
<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?>
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
--GET--
x=2
--FILE--

View File

@ -1,7 +1,7 @@
--TEST--
import_request_variables() tests
--SKIPIF--
<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?>
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
--GET--
a=1&b=heh&c=3&d[]=5&GLOBALS=test&1=hm
--POST--

View File

@ -1,7 +1,7 @@
--TEST--
import_request_variables() test (overwrite super-globals)
--SKIPIF--
<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?>
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
--GET--
GET=0&POST=1&COOKIE=2&FILES=3&REQUEST=4
--POST--

View File

@ -1,7 +1,7 @@
--TEST--
import_request_variables() test (numeric keys)
--SKIPIF--
<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?>
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
--GET--
1=0&2=1&3=2&4=3&5=4
--POST--

View File

@ -1,7 +1,7 @@
--TEST--
import_request_variables() test (numeric keys, different order)
--SKIPIF--
<?php if(PHP_VERSION_ID < 503099){ die('skip not needed anymore without register_globals'); } ?>
<?php if(PHP_VERSION_ID >= 50399){ die('skip not needed anymore without register_globals'); } ?>
--GET--
1=0&2=1&3=2&4=3&5=4
--POST--