summaryrefslogtreecommitdiff
path: root/ext/standard/tests/versioning/php_sapi_name_variation001.phpt
diff options
context:
space:
mode:
authorSebastian Schürmann <sebs@php.net>2009-04-25 11:33:26 (GMT)
committerSebastian Schürmann <sebs@php.net>2009-04-25 11:33:26 (GMT)
commit7942cd2c3cb11fb431c7949c4ae5a187dfa9f9dc (patch)
treee0db0a76672cd6669ffbbab42792a2201b946848 /ext/standard/tests/versioning/php_sapi_name_variation001.phpt
parenta3a20e29c29fce0b8de72919858643efd9200fcf (diff)
downloadphp-7942cd2c3cb11fb431c7949c4ae5a187dfa9f9dc.tar.gz
- Initial commit
Diffstat (limited to 'ext/standard/tests/versioning/php_sapi_name_variation001.phpt')
-rw-r--r--ext/standard/tests/versioning/php_sapi_name_variation001.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/standard/tests/versioning/php_sapi_name_variation001.phpt b/ext/standard/tests/versioning/php_sapi_name_variation001.phpt
new file mode 100644
index 0000000..4e45870
--- /dev/null
+++ b/ext/standard/tests/versioning/php_sapi_name_variation001.phpt
@@ -0,0 +1,14 @@
+--TEST--
+php_sapi_name() function when switching to webserver by using post
+--POST--
+foo=BAR
+--CREDITS--
+Sebastian Schürmann
+sebs@php.net
+Testfest 2009 Munich
+--FILE--
+<?php
+echo php_sapi_name();
+?>
+--EXPECT--
+cgi-fcgi