diff options
Diffstat (limited to 'sapi/tests/test001.phpt')
-rw-r--r-- | sapi/tests/test001.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sapi/tests/test001.phpt b/sapi/tests/test001.phpt new file mode 100644 index 0000000000..2c5d808e66 --- /dev/null +++ b/sapi/tests/test001.phpt @@ -0,0 +1,17 @@ +--TEST-- +IIS style CGI missing SCRIPT_FILENAME +--DESCRIPTION-- +This would be similar to what IIS produces for a simple query. +--ENV-- +return <<<END +PATH_TRANSLATED=$filename +PATH_INFO=$scriptname +SCRIPT_NAME=$scriptname +END; +--CGI-- +--FILE-- +<?php + echo "HELLO"; +?> +--EXPECT-- +HELLO
\ No newline at end of file |