summaryrefslogtreecommitdiffhomepage
path: root/test/php/conditional
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/php/conditional/index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/php/conditional/index.php b/test/php/conditional/index.php
new file mode 100644
index 00000000..421e1a2d
--- /dev/null
+++ b/test/php/conditional/index.php
@@ -0,0 +1,5 @@
+<?php if ($_SERVER['REQUEST_METHOD'] === 'GET'): ?>
+True
+<?php else: ?>
+False
+<?php endif; ?>