diff options
author | Mark Gibson <jollytoad@gmail.com> | 2009-11-25 12:09:53 -0500 |
---|---|---|
committer | John Resig <jeresig@Archimedes.local> | 2009-11-25 12:09:53 -0500 |
commit | ef819c91b999523ed6cd0c7029e0cee8997ef01a (patch) | |
tree | e089f7d598c1872dfa159cfc1a0527da4bd3bded /test/data/name.php | |
parent | 0bb3998a6a7a82b4c4269f3c57a9fcbe7229b162 (diff) | |
download | jquery-ef819c91b999523ed6cd0c7029e0cee8997ef01a.tar.gz jquery-ef819c91b999523ed6cd0c7029e0cee8997ef01a.zip |
Fixing endlines.
Diffstat (limited to 'test/data/name.php')
-rw-r--r-- | test/data/name.php | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/test/data/name.php b/test/data/name.php index a4b990e3d..ee22e4582 100644 --- a/test/data/name.php +++ b/test/data/name.php @@ -1,29 +1,29 @@ -<?php
-error_reporting(0);
-$wait = $_REQUEST['wait'];
-if($wait) {
- sleep($wait);
-}
-$xml = $_REQUEST['xml'];
-if($xml) {
- header("Content-type: text/xml");
- $result = ($xml == "5-2") ? "3" : "?";
- echo "<math><calculation>$xml</calculation><result>$result</result></math>";
- die();
-}
-$name = $_REQUEST['name'];
-if($name == 'foo') {
- echo "bar";
- die();
-} else if($name == 'peter') {
- echo "pan";
- die();
-}
-$request = apache_request_headers();
-$request = $request['X-Custom-Header'];
-if(strlen($request) > 0) {
- echo $request;
- die();
-}
-echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>';
+<?php +error_reporting(0); +$wait = $_REQUEST['wait']; +if($wait) { + sleep($wait); +} +$xml = $_REQUEST['xml']; +if($xml) { + header("Content-type: text/xml"); + $result = ($xml == "5-2") ? "3" : "?"; + echo "<math><calculation>$xml</calculation><result>$result</result></math>"; + die(); +} +$name = $_REQUEST['name']; +if($name == 'foo') { + echo "bar"; + die(); +} else if($name == 'peter') { + echo "pan"; + die(); +} +$request = apache_request_headers(); +$request = $request['X-Custom-Header']; +if(strlen($request) > 0) { + echo $request; + die(); +} +echo 'ERROR <script type="text/javascript">ok( true, "name.php executed" );</script>'; ?>
\ No newline at end of file |