Browse Source

Add plaintext test to PHP

Patrick Falls 12 years ago
parent
commit
2e7e95258f
2 changed files with 11 additions and 0 deletions
  1. 1 0
      php/benchmark_config
  2. 10 0
      php/plaintext.php

+ 1 - 0
php/benchmark_config

@@ -4,6 +4,7 @@
     "default": {
     "default": {
       "setup_file": "setup",
       "setup_file": "setup",
       "json_url": "/json.php",
       "json_url": "/json.php",
+      "plaintext_url": "/plaintext.php",
       "db_url": "/dborm.php",
       "db_url": "/dborm.php",
       "query_url": "/dborm.php?queries=",
       "query_url": "/dborm.php?queries=",
       "port": 8080,
       "port": 8080,

+ 10 - 0
php/plaintext.php

@@ -0,0 +1,10 @@
+<?php
+//
+// Plaintext Test
+//
+
+// Set content type
+header("Content-type: text/plain");
+
+?>
+Hello, World!