mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
fix tests
This commit is contained in:
parent
eacfa022b1
commit
c23d902e0b
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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--
|
||||
|
@ -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--
|
||||
|
Loading…
Reference in New Issue
Block a user