php-src/tests/basic/003.phpt
2009-07-18 13:46:08 +00:00

13 lines
281 B
PHP

--TEST--
GET and POST Method combined
--POST--
a=Hello+World
--GET--
b=Hello+Again+World&c=Hi+Mom
--FILE--
<?php
error_reporting(0);
echo "post-a=({$_POST['a']}) get-b=({$_GET['b']}) get-c=({$_GET['c']})"?>
--EXPECT--
post-a=(Hello World) get-b=(Hello Again World) get-c=(Hi Mom)