Explorar o código

Add plaintext test to PHP

Patrick Falls %!s(int64=12) %!d(string=hai) anos
pai
achega
2e7e95258f
Modificáronse 2 ficheiros con 11 adicións e 0 borrados
  1. 1 0
      php/benchmark_config
  2. 10 0
      php/plaintext.php

+ 1 - 0
php/benchmark_config

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

+ 10 - 0
php/plaintext.php

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