Pārlūkot izejas kodu

Faster PHP plaintext (#4959)

Joan Miquel 6 gadi atpakaļ
vecāks
revīzija
46394ea86a
1 mainītis faili ar 2 papildinājumiem un 5 dzēšanām
  1. 2 5
      frameworks/PHP/php/plaintext.php

+ 2 - 5
frameworks/PHP/php/plaintext.php

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