aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/jsonp.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/jsonp.php')
-rw-r--r--test/data/jsonp.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/data/jsonp.php b/test/data/jsonp.php
index 75000252b..9ae1d8487 100644
--- a/test/data/jsonp.php
+++ b/test/data/jsonp.php
@@ -1,10 +1,10 @@
-<?php
-error_reporting(0);
-$callback = $_REQUEST['callback'];
-$json = $_REQUEST['json'];
-if($json) {
- echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
-} else {
- echo $callback . '({ "data": {"lang": "en", "length": 25} })';
-}
-?>
+<?php
+error_reporting(0);
+$callback = $_REQUEST['callback'];
+$json = $_REQUEST['json'];
+if($json) {
+ echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
+} else {
+ echo $callback . '({ "data": {"lang": "en", "length": 25} })';
+}
+?>